#
#asahi-dev · 2023-07-16 14:22
eilnthe next step is enabling fw print through the "ioctl"/cmd
#asahi-dev · 2023-07-16 14:22
eilnthis is a much better script with the bootargs parsed
#asahi-dev · 2023-07-16 14:21
eilnChaosPrincess: https://pastebin.com/RyVWR9Mt
#asahi-dev · 2023-07-16 14:18
sventhat should power the ports down
#asahi-dev · 2023-07-16 14:17
svenI think you can just send that SSPS command to move the tipd chip to P0 or so
#asahi-dev · 2023-07-16 14:02
kettenisbut noticed that devices that are plugged in continue to consume quite a bit of power
#asahi-dev · 2023-07-16 14:01
kettenisah, ok, I just made it "work" on OpenBSD
#asahi-dev · 2023-07-16 13:14
sven*broken
#asahi-dev · 2023-07-16 13:14
svenxhci suspend/resume is broke though as marcan noticed a while ago :/
#asahi-dev · 2023-07-16 13:13
svenkettenis: I never checked tbh, but unless we suspend the tipd chip they should stay powered I think
#asahi-dev · 2023-07-16 12:54
jannauoh. `for b in $(seq 255); echo $b > /sys/class/backlight/apple-panel-bl/brightness; done` freezes/deadlocks dcp
#asahi-dev · 2023-07-16 12:44
kettenissven: do the type-C ports remain powered in suspend on Linux?
#asahi-dev · 2023-07-16 12:31
chadmedtheres a fair amount of zipper noise on the biquads, dunno if thats because of the implementation in the crate or because im tearing down the entire array and rebuilding it each time i change Fc :P
#asahi-dev · 2023-07-16 12:29
chadmedthats not how to learn things
#asahi-dev · 2023-07-16 12:29
chadmedat a loss for what needs to be implemented for the distortion stage of the pipeline though and i dont want to just wholesale rip off calf's implementation
#asahi-dev · 2023-07-16 12:29
chadmed(virtual bass)
#asahi-dev · 2023-07-16 12:29
chadmedhttps://github.com/chadmed/bankstown/ ok i kinda think im on the right track here
#asahi-dev · 2023-07-16 10:20
jannaunot sure what happens with the CTM updates but I can't avoid the swap in the current form. I need to check what kwin does and if other drivers have special shortcuts for this. night color on intel (using gamma tables is smother)
#asahi-dev · 2023-07-16 08:43
jannaudottedmag: no, at least from the FW interface CTM updates and swaps are decoupled, it's a driver limitation that it swaps after an CTM update
#asahi-dev · 2023-07-16 08:42
jannaubrightness updates probably consume a swap as well. I thought I left the code in which waits and checks if a swap already updated the brightness
#asahi-dev · 2023-07-16 08:37
dottedmagjannau: you mean CTM update should return and fold the change into next screen update?
#asahi-dev · 2023-07-16 08:36
jannaustandalone CTM updates will consume one swap which can't be sed for screen updates. it shouldn't and probably doesn't need to
#asahi-dev · 2023-07-16 08:36
marcanI've never seen it smooth
#asahi-dev · 2023-07-16 08:36
marcanthe stutter on brightness happens for me everywhere
#asahi-dev · 2023-07-16 08:32
chadmedand ive detonated my root fs multiple times in between
#asahi-dev · 2023-07-16 08:32
chadmedyeah its odd, ive experienced it since dcp was first merged in on both asahi and gentoo
#asahi-dev · 2023-07-16 08:30
marcan(the stuttering)
#asahi-dev · 2023-07-16 08:30
marcanchadmed: I don't think that's related, there's something wacky there
#asahi-dev · 2023-07-16 08:27
jannaustrange, except for the lag it has always worked here
#asahi-dev · 2023-07-16 08:16
chadmedintermittent*
#asahi-dev · 2023-07-16 08:16
chadmeddunno what would cause it to be intermittend
#asahi-dev · 2023-07-16 08:16
chadmedhm no yeah that wasnt it, it works now???
#asahi-dev · 2023-07-16 08:15
jannaucolor preview works with all settings here
#asahi-dev · 2023-07-16 08:15
chadmedi had "force smoothest animations" set
#asahi-dev · 2023-07-16 08:14
jannauwhich setting was the previous one? I have "Force smoothest animations" and "Reduce latency by allowing screen tearing ...", not sure if/how the latter would make a difference with wayland
#asahi-dev · 2023-07-16 08:10
jannauthe question is whether it's necessary to a swap with DCP. It lives in the function responsible for atomic updates
#asahi-dev · 2023-07-16 08:10
chadmedso thats probably a kwin thing
#asahi-dev · 2023-07-16 08:09
chadmedi changed compositor settings to force lowest latency and it works
#asahi-dev · 2023-07-16 08:08
jannauit does here
#asahi-dev · 2023-07-16 08:08
chadmedi would have assumed that a swap is necessary with the current implementation since the code that updates the CTM lives in iomfb swap
#asahi-dev · 2023-07-16 08:08
chadmedit does not update when you move the slider
#asahi-dev · 2023-07-16 08:07
jannaudefine correctly
#asahi-dev · 2023-07-16 08:07
chadmed correct, the preview doesnt work correctly
#asahi-dev · 2023-07-16 08:04
jannauI suppose I should check if CTM updates need a swap, they probably don't
#asahi-dev · 2023-07-16 08:04
jannauif you move it fast you can see lag which is caused by blocking ctm updates and "stealing" frame updates from rendering
#asahi-dev · 2023-07-16 08:02
jannaudoes that mean the color temperature preview in system settings doesn't work for you? change the setting to "always on night color" and move the "night color temperature" around while keep the left mouse button presses
#asahi-dev · 2023-07-16 07:48
chadmedbut that could be a kwin thing
#asahi-dev · 2023-07-16 07:48
chadmedbasically just stutters/fps drops when changing brightness which is also the only time the CTM seems to get updated
#asahi-dev · 2023-07-16 07:47
chadmedyeah i tried to go through the iomfb swap implementation to see what was up a while ago but i ran out of time
#asahi-dev · 2023-07-16 07:44
jannaubrightness should be ok though but I better should check the implementation\

plus ›