ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
<psykose>
ye
<chadmed>
Emerging (1 of 248) lets see if this helps :P
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
barrowsx has quit [Quit: barrowsx]
barrowsx has joined #asahi-dev
roxfan2 has joined #asahi-dev
roxfan has quit [Ping timeout: 480 seconds]
systwi_ has joined #asahi-dev
systwi has quit [Read error: Connection reset by peer]
barrowsx has quit [Quit: barrowsx]
<marcan>
jannau: at this point the answer might be "don't bother with touchbar support on ALARM" tbh...
<marcan>
shipping overlays is a minefield, because they will break us any time by doing dependency bumps (not that they don't break themselves too, but still)
<marcan>
and sddm/xorg are system critical, if they break you can't (easily) log in to fix it
<marcan>
so I'm not really comfortable with either of those solutions :/
<marcan>
we already screwed up with libinput once
<marcan>
alternatively we could do another stupid kernel patch where if(xorg) no touchbar
<marcan>
wouldn't be a first for DRM :p
barrowsx has joined #asahi-dev
<jannau>
marcan: Xorg/modeset is completely broken when the daemon runs, i.e. I can't start any X11 session from gdm/wayland
<marcan>
and there's no way to work around it in the kernel?
<jannau>
so it will bite us not only on ALARM
<marcan>
yes, but on $newdistro we *can* get stuff fixed easily
<jannau>
I guess we could extend the existing Xorg check
<marcan>
and $newdistro has the wayland snapshot sddm I believe, so it would only break xorg sessions
<marcan>
which are already kinda broken :p
<jannau>
sure, people are still using them though. I don't have a problem with declaring Xorg/modesetting as broken and unsupported but X11 session start failures will create tons of support questions
sid-linux has joined #asahi-dev
gladiac has quit [Quit: k thx bye]
<jannau>
"if (current->comm[0] == 'X') return -EBUSY;" in adp_open() seems to work
sid-linux has quit [Quit: User exited]
nimprod3l has joined #asahi-dev
barrowsx has quit [Ping timeout: 480 seconds]
<marcan>
works for me :)
<jannau>
I wonder whether it works for upstream as well but that's a problem for later
<marcan>
modesetting should probably just be fixed to ignore those devices
<jannau>
airlied suggested that modesetting should ignore non-desktop kms devices ("kms driver that is attached to a single small display that isn't for desktop use")
<jannau>
that's my 3 line modesetting patch I wanted to ship
nicolas17 has quit [Quit: Konversation terminated!]
nimprod3l has quit [Ping timeout: 480 seconds]
nimprod3l has joined #asahi-dev
cylm_ has joined #asahi-dev
Tomdownsouth has joined #asahi-dev
nimprod3l has quit [Ping timeout: 480 seconds]
cylm has joined #asahi-dev
cylm_ has quit [Ping timeout: 480 seconds]
Tomdownsouth has quit [Ping timeout: 480 seconds]
Cyrinux9 has quit []
Cyrinux9 has joined #asahi-dev
chadmed has quit [Remote host closed the connection]
nsklaus has joined #asahi-dev
chadmed has joined #asahi-dev
chadmed has quit [Remote host closed the connection]
systwi has joined #asahi-dev
systwi_ has quit [Read error: Connection reset by peer]
bps3 has joined #asahi-dev
chadmed has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
Tomdownsouth has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
<jannau>
sigh, sddm uses the touchbar digitizer as touchscreen
mattip_ has joined #asahi-dev
<jannau>
and it doesn't seem to combine events from different input devices. control + option (keyboard) + F3 (touchbar) doesn't work
mattip has quit [Ping timeout: 480 seconds]
Tomdownsouth has quit [Ping timeout: 480 seconds]
<jannau>
ChaosPrincess: pull requests for adp, z2-touchscreen and tiny-dfr created. tested on j493 and shouldn't break anything on j293
<jannau>
works now with X11 by rejecting X11 as client in adp_drv.c:open()
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
aafeke has joined #asahi-dev
aafeke is now known as aafeke_
aafeke_ is now known as aafeke
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bps3 has quit [Ping timeout: 482 seconds]
nimprod3l has joined #asahi-dev
cylm has quit [Ping timeout: 480 seconds]
aafeke has quit [Quit: aafeke]
<jannau>
display is solved but the touchscreen need a DO_NOT_USE_AS_TOUCHSCREEN flag as well
roxfan has joined #asahi-dev
bps3 has joined #asahi-dev
roxfan2 has quit [Ping timeout: 480 seconds]
<marcan>
libinput quirk?
<ChaosPrincess>
tiny-dfr uses libinput to process touches, so the quirk would need to exclude sddm, but not the daemon
ourdumbfuture has joined #asahi-dev
<jannau>
assigning the digitizer to another seat would work, but we use keyboard, mouse/trackpad and lid for backlight dimming
nimprod3l has quit [Quit: Leaving]
<ChaosPrincess>
maybe create two libinput contexts - one for the digitizer that is tied to special seat, another one for the keylogger to toggle brightness?
CoolStar_ has quit [Read error: Connection reset by peer]
<marcan>
could we try to tie touch bar brightness to screen brightness instead?
<ChaosPrincess>
no
<marcan>
wonder if there's a way to get notifications out of a brightness device (uevent?)
<marcan>
*backlight
<ChaosPrincess>
i replicate macos behavior where it automatically dims on inactivity
<marcan>
ah right, you'd want that
<ChaosPrincess>
and that seems desirable, due to the fact that its an oled
<ChaosPrincess>
(apple using an oled for it super wtf, with how static the content on it is, it looks like they wanted it to be an express to burn-in city)
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chadmed has quit [Remote host closed the connection]
redtoaster has joined #asahi-dev
<ChaosPrincess>
added separate seat code
ourdumbfuture has joined #asahi-dev
mlp has quit [Read error: Connection reset by peer]
mlp has joined #asahi-dev
<jannau>
works fine. thanks
<jannau>
sddm/x11 still doesn't fuse keys from different devices
roxfan2 has joined #asahi-dev
roxfan has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi-dev
<ChaosPrincess>
:shrug:
<jannau>
indeed
bps3 has quit [Ping timeout: 480 seconds]
<jannau>
xorg in general is broken
Kensan has quit [Ping timeout: 480 seconds]
Kensan has joined #asahi-dev
aafeke has joined #asahi-dev
Kensan has quit [Ping timeout: 480 seconds]
Kensan has joined #asahi-dev
mkurz has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Kensan_ has joined #asahi-dev
Kensan has quit [Ping timeout: 480 seconds]
redtoaster has quit [Quit: Page closed]
aafeke has quit [Quit: aafeke]
roxfan2 has quit [Ping timeout: 480 seconds]
StupidYui has quit [Read error: No route to host]
StupidYui has joined #asahi-dev
aafeke has joined #asahi-dev
roxfan has joined #asahi-dev
roxfan has quit [Remote host closed the connection]
Guest3264 has quit [Quit: Bridge terminating on SIGTERM]
rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
Jamie has joined #asahi-dev
rhysmdnz has joined #asahi-dev
Jamie is now known as Guest3331
millenialhacker has joined #asahi-dev
gladiac has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
maria has quit [Remote host closed the connection]
maria has joined #asahi-dev
aafeke has quit [Quit: aafeke]
i509vcb has quit [Quit: Connection closed for inactivity]
aafeke has joined #asahi-dev
aafeke has quit []
sid-linux has joined #asahi-dev
aafeke has joined #asahi-dev
aafeke has quit [Read error: Connection reset by peer]
redtoaster has joined #asahi-dev
millenialhacker_ has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
mattip_ is now known as mattip
aafeke has joined #asahi-dev
StupidYui has quit [Remote host closed the connection]
mattip has quit [Ping timeout: 480 seconds]
aafeke has quit [Quit: aafeke]
redtoaster has quit [Remote host closed the connection]
mattip has joined #asahi-dev
nela2 is now known as nela
nsklaus has quit [Ping timeout: 480 seconds]
Bai-Chiang has joined #asahi-dev
Bai-Chiang has quit []
Bai-Chiang has joined #asahi-dev
Bai-Chiang has quit []
nsklaus has joined #asahi-dev
Bai-Chiang has joined #asahi-dev
Bai-Chiang has quit []
Bai-Chiang has joined #asahi-dev
tram has joined #asahi-dev
tram is now known as tramtryst
Tomdownsouth has joined #asahi-dev
tramtryst has quit [Remote host closed the connection]
millenialhacker_ has quit [Quit: Konversation terminated!]
mkurz has joined #asahi-dev
millenialhacker has joined #asahi-dev
Tomdownsouth has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mlp has quit [Read error: Connection reset by peer]
mlp has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
blazra has quit [Quit: Ping timeout (120 seconds)]
blazra has joined #asahi-dev
melonai0 has joined #asahi-dev
melonai has quit [Ping timeout: 480 seconds]
Bai-Chiang has quit [Remote host closed the connection]