#
#asahi · 2023-09-28 17:27
pitustthough, maybe my kernel was old
#asahi · 2023-09-28 17:27
pitusti think that was the case with ADP
#asahi · 2023-09-28 17:26
ChaosPrincessis there no render nodes at all?
#asahi · 2023-09-28 17:26
pitustChaosPrincess: half of the issue was the lack of /dev/dri/renderD* though, and that's not going to reappear i don't think?/
#asahi · 2023-09-28 17:15
pitustrebuilding the kernel..
#asahi · 2023-09-28 17:11
pitustthat could work
#asahi · 2023-09-28 17:11
ChaosPrincessyep
#asahi · 2023-09-28 17:11
pitustwait as in, always -EBUSY?
#asahi · 2023-09-28 17:10
pitusti doubt that
#asahi · 2023-09-28 17:10
ChaosPrincesscomment out this line and recompile kernel :P https://github.com/AsahiLinux/linux/blob/asahi-wip/drivers/gpu/drm/adp/adp_drv.c#L94
#asahi · 2023-09-28 17:10
j`eyI didnt see anything in sway that used the render node stuff, but maybe they called it something different
#asahi · 2023-09-28 17:10
pitustit's probably because there is no /dev/dri/renderD*
#asahi · 2023-09-28 17:09
pitusti mean i figured out at least some of why sway is unhappy
#asahi · 2023-09-28 17:09
j`eyfiguring out how to fix sway might be easier?
#asahi · 2023-09-28 17:08
pitustso i need a driver that claims it, or somehow manually enable the clock for it?
#asahi · 2023-09-28 17:08
pitustah
#asahi · 2023-09-28 17:07
ChaosPrincesslinux powers down unused clocks and power and if there is no driver to use something - it gets disabled
#asahi · 2023-09-28 17:07
j`eypower gated
#asahi · 2023-09-28 17:07
pitusthmm?
#asahi · 2023-09-28 17:07
ChaosPrincessactually i think the clocks will be off, so it will not work
#asahi · 2023-09-28 17:06
pitustand darts from userspace sound hard
#asahi · 2023-09-28 17:06
pitustbut ig that requires darts
#asahi · 2023-09-28 17:06
pitustwould be cool to *use* the touchbar
#asahi · 2023-09-28 17:06
pitustthats what i'm gonna try doing
#asahi · 2023-09-28 17:06
pitustyea
#asahi · 2023-09-28 17:06
ChaosPrincesshttps://github.com/AsahiLinux/m1n1/blob/main/proxyclient/experiments/touchbar_rainbow.py#L38 line 38 and 39 is all you need, just change 0x8051 to iirc 0x51
#asahi · 2023-09-28 17:05
pitust0x0051 i guess
#asahi · 2023-09-28 17:05
pitustso its like
#asahi · 2023-09-28 17:04
pitustlike i can survive doing two writes to memory from shitty c code
#asahi · 2023-09-28 17:04
pitustMIPI doesn't seem very complicated
#asahi · 2023-09-28 17:04
pitustcan you play with DARTs from userspace?
#asahi · 2023-09-28 17:04
pitustyeah but the driver makes sway not work
#asahi · 2023-09-28 17:04
j`eysummit
#asahi · 2023-09-28 17:04
j`eyor maybe panel-sumit actually
#asahi · 2023-09-28 17:03
ChaosPrincess/sys/class/backlight/{something something adp}/brightness
#asahi · 2023-09-28 17:03
ChaosPrincessyea, something like that
#asahi · 2023-09-28 17:02
j`eyrelevant sysfs file presumably is /sys/*adp*/brightness (fill in the gaps)
#asahi · 2023-09-28 17:01
ChaosPrincessenable driver (you only need adp, z2 is unneccesary), do not bother with tiny-dfr, write zero to relevant sysfs file
#asahi · 2023-09-28 17:01
j`eyChaosPrincess: ^ ?
#asahi · 2023-09-28 16:52
pitustis there some way to just set the touchbar backlight to zero?
#asahi · 2023-09-28 16:44
pitustmacOS has a *lot* less flicker
#asahi · 2023-09-28 16:37
pitusti don't think its asahi tbh, probably just the fact that asahi doesn't drive it at all makes it unstable
#asahi · 2023-09-28 16:35
pitustlast time i used asahi it was fine
#asahi · 2023-09-28 16:35
pitustlets blame the shitty apple repair provider for breaking it
#asahi · 2023-09-28 16:33
pitusthow is the touchbar driven, exactly?
#asahi · 2023-09-28 16:33
pitustit started flickering in macOS after i got the driver
#asahi · 2023-09-28 16:32
j`eysince asahi hasnt even been touching that at all before you built the driver..
#asahi · 2023-09-28 16:31
pitustand i had one flicker in macOS, right after rebooting from asahi
#asahi · 2023-09-28 16:31
pitustit didnt flicker before asahi
#asahi · 2023-09-28 16:30
pitustwell

plus ›