#
#asahi-dev · 2023-03-12 02:03
marcanit should only affect battery life in suspend
#asahi-dev · 2023-03-12 02:03
marcanthe ANS power domain thing won't affect battery life while active
#asahi-dev · 2023-03-11 23:58
chadmeddid lina end up fixing the gpu pstate thing for this release or are we still stuck in a single pstate
#asahi-dev · 2023-03-11 23:57
chadmedthe workaround for the ANS power domains seems to siphon about 20 mins of battery life all else being equal
#asahi-dev · 2023-03-11 20:14
GlanzmannTHe debs are here: https://tg.st/u/asahi-debian-2023-03-11.tar - I also push to 'm1-debian'.
#asahi-dev · 2023-03-11 18:24
Glanzmanndmesg: https://pbot.rmdir.de/i0rDmDY1lQn6pkWDU9gLvw
#asahi-dev · 2023-03-11 18:23
Glanzmannhalt works.
#asahi-dev · 2023-03-11 18:21
GlanzmannNothing in /var/log/kern.log unfortunately.
#asahi-dev · 2023-03-11 18:21
Glanzmannmarcan: A regression for me: When I type 'reboot' in Linux. The screen turns off, but I think the system does not. It does not reboot. But when I press the power button for a long time, release it, press it again, the system boots again.
#asahi-dev · 2023-03-11 18:18
GlanzmannIf you or someone else needs a rdp account to reproduce, let me know.
#asahi-dev · 2023-03-11 18:17
GlanzmannI use this command line: xfreerdp +clipboard:use-selection:PRIMARY /u:Administrator /p:'Pa$$w0rd' -grab-keyboard /cert-ignore /f /bpp:32 /v:zh17w2k22.glanzmann.de -gfx /rfx
#asahi-dev · 2023-03-11 18:14
Glanzmannmarcan: You probably won't do anything about it, but with xorg and xfeerdp, I have still display artefacts. The rosa tiles when I log in for a fraction of the second as with jannaus video and when I open firefox in a rdp session and zoom in/out the result is: tg.st/u/screenshot-air-2023-03-11-19_10_58.png
#asahi-dev · 2023-03-11 18:04
GlanzmannDisabling freedreno let me compile mesa. Kernel boots, xorg starts.
#asahi-dev · 2023-03-11 17:33
Glanzmannmarcan: Mesa does not build on Debian: https://pbot.rmdir.de/u/5w4beZcHH9vh7esDTfn3gw
#asahi-dev · 2023-03-11 14:30
marcanI'll give it a spin on some more machines myself
#asahi-dev · 2023-03-11 14:30
marcanideally I'd like to release this next week or so
#asahi-dev · 2023-03-11 14:30
marcanplease do continue to test stuff
#asahi-dev · 2023-03-11 14:29
marcanI should get some dinner+sleep
#asahi-dev · 2023-03-11 14:29
marcanOK, I *think* we dealt with all the explosions so far
#asahi-dev · 2023-03-11 14:29
jannauethernet+xhci restored on the studio
#asahi-dev · 2023-03-11 14:27
marcanbut it feels really ugly
#asahi-dev · 2023-03-11 14:27
marcanit is all one driver though, so I think it could prevent that by using a custom module init function that makes triple sure everything is probed until nothing defers, and the driver core never sees the defers (or something like that)
#asahi-dev · 2023-03-11 14:26
marcan(the bigger chips have multiple PMGRs)
#asahi-dev · 2023-03-11 14:26
marcanthe way we bind the PD driver it's one instance per PD, which is what is causing the issue (but actually even if it were a whole driver for a set of PDs, we have a cross-PD-set dependency and those would probably be separate instances no matter what)
#asahi-dev · 2023-03-11 14:25
robhermarcan: I suppose the PD driver could prevent that assuming it's all one driver and instance. Otherwise, if your refcounts and actual h/w state are mismatched, kind of hard for s/w to do the right thing,
#asahi-dev · 2023-03-11 14:24
marcanwarnings gone
#asahi-dev · 2023-03-11 14:22
marcannew u-boot in asahi-dev
#asahi-dev · 2023-03-11 14:17
marcanbut then really every domain that has PD children is effectively critical, since turning off a parent before children is a bad idea
#asahi-dev · 2023-03-11 14:17
jannaumarcan: https://github.com/AsahiLinux/u-boot/pull/10
#asahi-dev · 2023-03-11 14:17
marcanyes, that is the case for us, though that's just one instance of an issue
#asahi-dev · 2023-03-11 14:15
robhermarcan: It might be better to have some hint in the DT as to what domains are critical. Maybe simple-framebuffer node needs a power-domains property (though the display phandle link could provide that).
#asahi-dev · 2023-03-11 14:13
marcaneither that or we add a new DT property to mark devices that may require PDs active at boot...
#asahi-dev · 2023-03-11 14:12
marcaneither ship the drivers or have the bootloader turn it off
#asahi-dev · 2023-03-11 14:12
marcanI would say that's a platform bug
#asahi-dev · 2023-03-11 14:12
marcanrobher: yeah, but what are we going to do? if it was on at boot, and the DT describes devices that depend on it, we can't know it's safe to power it off
#asahi-dev · 2023-03-11 14:11
robhermarcan: That could leave domains powered forever if there is not a driver. It's a common problem because we never know 'all drivers are loaded' except for !CONFIG_MODULES
#asahi-dev · 2023-03-11 14:11
jannauok, I'll prepare the u-boot config change
#asahi-dev · 2023-03-11 14:11
marcanI'll send the wifi fix
#asahi-dev · 2023-03-11 14:10
marcanmore involved fixes can wait
#asahi-dev · 2023-03-11 14:10
marcanat this point I just want to get this out ASAP, we've delayed this release long enough
#asahi-dev · 2023-03-11 14:10
jannauotherwise I have workaround patches for linux and u-boot
#asahi-dev · 2023-03-11 14:09
marcanwant to send the patch?
#asahi-dev · 2023-03-11 14:09
marcanyeah okay let's do that
#asahi-dev · 2023-03-11 14:09
marcansigh.
#asahi-dev · 2023-03-11 14:09
jannaumarcan: confirmed, broken ethernet and usb pcie xhci on the studio. easiest workaround is disabling pcie in the u-boot defconfig
#asahi-dev · 2023-03-11 14:08
povikjannau: re max_regions. i will double check. i haven't tried that other option kettenis suggested
#asahi-dev · 2023-03-11 14:07
robherI think there's been some binding proposal for 'boot clocks'. It's been a while back.
#asahi-dev · 2023-03-11 14:07
marcan(but not now, this is going on my queue for later)
#asahi-dev · 2023-03-11 14:07
marcanif that sounds like a sensible solution to you I'll go with that
#asahi-dev · 2023-03-11 14:06
marcanyeah

plus ›