#asahi-dev · 2023-06-17 06:02
jannauthat's my 3 line modesetting patch I wanted to ship#asahi-dev · 2023-06-17 06:01
jannauairlied 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")#asahi-dev · 2023-06-17 05:59
marcanmodesetting should probably just be fixed to ignore those devices#asahi-dev · 2023-06-17 05:59
jannauI wonder whether it works for upstream as well but that's a problem for later#asahi-dev · 2023-06-17 05:57
marcanworks for me :)#asahi-dev · 2023-06-17 05:40
jannau"if (current->comm[0] == 'X') return -EBUSY;" in adp_open() seems to work#asahi-dev · 2023-06-17 05:19
jannausure, 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#asahi-dev · 2023-06-17 05:14
marcanwhich are already kinda broken :p#asahi-dev · 2023-06-17 05:14
marcanand $newdistro has the wayland snapshot sddm I believe, so it would only break xorg sessions#asahi-dev · 2023-06-17 05:12
jannauI guess we could extend the existing Xorg check #asahi-dev · 2023-06-17 05:12
marcanyes, but on $newdistro we *can* get stuff fixed easily#asahi-dev · 2023-06-17 05:12
jannauso it will bite us not only on ALARM#asahi-dev · 2023-06-17 05:12
marcanand there's no way to work around it in the kernel?#asahi-dev · 2023-06-17 05:11
jannaumarcan: Xorg/modeset is completely broken when the daemon runs, i.e. I can't start any X11 session from gdm/wayland#asahi-dev · 2023-06-17 05:00
marcanwouldn't be a first for DRM :p#asahi-dev · 2023-06-17 05:00
marcanalternatively we could do another stupid kernel patch where if(xorg) no touchbar#asahi-dev · 2023-06-17 04:58
marcanwe already screwed up with libinput once#asahi-dev · 2023-06-17 04:58
marcanso I'm not really comfortable with either of those solutions :/#asahi-dev · 2023-06-17 04:56
marcanand sddm/xorg are system critical, if they break you can't (easily) log in to fix it#asahi-dev · 2023-06-17 04:56
marcanshipping 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)#asahi-dev · 2023-06-17 04:56
marcanjannau: at this point the answer might be "don't bother with touchbar support on ALARM" tbh...#asahi-dev · 2023-06-17 00:02
chadmedEmerging (1 of 248) lets see if this helps :P #asahi-dev · 2023-06-17 00:01
psykoseye#asahi-dev · 2023-06-16 23:58
nicolas17does valgrind support arm64?#asahi-dev · 2023-06-16 23:55
psykosemystery state crashes are annoying#asahi-dev · 2023-06-16 23:55
chadmedstale config maybe#asahi-dev · 2023-06-16 23:55
chadmedinteresting#asahi-dev · 2023-06-16 23:55
chadmedoh now it just works???? #asahi-dev · 2023-06-16 23:53
chadmedyeah it stops dying if i change the engine backend to PA but that is obviously not ideal#asahi-dev · 2023-06-16 23:52
chadmedthe patchbay is all fine etc#asahi-dev · 2023-06-16 23:52
chadmedyeah i dont use real jack anymore, this is pipewire-jack#asahi-dev · 2023-06-16 23:52
psykosebut i've only used it via pipewire-jack myself#asahi-dev · 2023-06-16 23:52
psykosedoesn't ring any bells#asahi-dev · 2023-06-16 23:51
chadmedah its at CarlaBackend::CarlaEngineJack::getTimeInfo() hmm#asahi-dev · 2023-06-16 23:49
psykosewhat's the backtrace on the regular version#asahi-dev · 2023-06-16 23:49
chadmedit works with asan#asahi-dev · 2023-06-16 23:49
chadmedoh this is gonna be fun #asahi-dev · 2023-06-16 23:33
psykoseime things that crash like that also give quite useful asan backtraces, but you would have to locally rebuild#asahi-dev · 2023-06-16 23:32
chadmedand why the same build works on my x86 machine#asahi-dev · 2023-06-16 23:32
chadmedyeah, the fun is trying to find where#asahi-dev · 2023-06-16 23:32
psykoseusually a stack overrun#asahi-dev · 2023-06-16 23:31
chadmedsame behaviour observed with clang and gcc#asahi-dev · 2023-06-16 23:31
chadmedsomething in libcarla is hitting __stack_chk_fail #asahi-dev · 2023-06-16 23:30
chadmednah idk what it is this time, glibc is sending it SIGABRT#asahi-dev · 2023-06-16 23:30
psykosein wayland? i've had better luck with QT_QPA_PLATFORM=xcb thru xwayland#asahi-dev · 2023-06-16 23:27
chadmedurgh carla is broken again#asahi-dev · 2023-06-16 22:21
ChaosPrincessjannau: changed the daemon to scan all drm devices and made it manage the backlight automatically, feel free to check out the search code#asahi-dev · 2023-06-16 22:08
jannauI think I can get away with a 3 line patch for modesetting (and a modification to the adp driver). not too bad but annoying to carry a custom xorg-server package#asahi-dev · 2023-06-16 20:32
arhuh. sddm hasn't had a release since November 2020#asahi-dev · 2023-06-16 20:31
jannaualternatives would be either to patch the modesetting driver and ship it or switch away from sddm