#asahi-dev · 2023-04-25 13:48
_jannau_there should be be 2 X sessions after you logged in. the lightdm one and you user session#asahi-dev · 2023-04-25 13:48
axboelet me boot the old kernel and give it a spin#asahi-dev · 2023-04-25 13:48
axboemight be xfce4 triggering it. I don't recall seeing those "display went away" on suspend before, but it could just be that I never looked#asahi-dev · 2023-04-25 13:47
_jannau_main change was supporting the 13.3 firmware for m2 devices but is mostly separate from the existing support#asahi-dev · 2023-04-25 13:47
axboeyeah, what I mean is that X itself didn't restart, it's still there and same pid, but something made it exit the session#asahi-dev · 2023-04-25 13:46
_jannau_could be still the X server of your session which was killed. DCP shouldn't have changed much for existing installs#asahi-dev · 2023-04-25 13:33
axboeI did update m1n1 and u-boot at the same time, I can try my previous kernel and see if it happens there too. was just assuming it's a kernel side thing with dcp#asahi-dev · 2023-04-25 13:32
axboefunky#asahi-dev · 2023-04-25 13:32
axboelooks like X is still running, but my session is just gone and I get a lightdm login screen#asahi-dev · 2023-04-25 13:31
axboesorry lightdm#asahi-dev · 2023-04-25 13:31
axboethis is gdm + X#asahi-dev · 2023-04-25 13:31
axboehmm ok#asahi-dev · 2023-04-25 13:24
_jannau_axboe: I couldn't reproduce it (using HV with console_no_suspend and sddm as X client) so quite a few things which could explain different behavior#asahi-dev · 2023-04-25 13:17
axboemarcan: X restarting on resume, is that expected in current asahi-wip?#asahi-dev · 2023-04-25 11:36
jannauI see the same on ultra, macos (12.3) doesn't use the p-cores with clpc=0. without it does#asahi-dev · 2023-04-25 11:19
marcangood :)#asahi-dev · 2023-04-25 11:14
jannaumarcan: it does, might be even a little faster than cbd9b7b9e1724244 with cpuidle disabled. thanks#asahi-dev · 2023-04-25 11:09
marcanjannau: pushed a thing, let me know if it helps#asahi-dev · 2023-04-25 10:49
marcanI can probably fastpath the cpuidle stuff a bit so at least it doesn't serialize#asahi-dev · 2023-04-25 10:49
marcanthose normally don't serialize, but they do via the cpuidle stuff#asahi-dev · 2023-04-25 10:48
marcanand on M1, the HV ends up interrupting the CPUs at 1000Hz anyway for dumb reasons#asahi-dev · 2023-04-25 10:48
marcanok, that makes sense because it'll cause a ton of HV traps#asahi-dev · 2023-04-25 10:43
jannaucpuidle makes linux boot under HV slow. with cpuidle.off=1 in the commandline it's 2-3 times faster#asahi-dev · 2023-04-25 08:15
marcannot sure why or if that's a regression#asahi-dev · 2023-04-25 08:14
marcanalso I haven't tested on ultra but at least on M2 Max macos seemed to just... not use the pcores?#asahi-dev · 2023-04-25 08:13
marcanfeel free to call cpufreq_init() in the hv init path if it helps#asahi-dev · 2023-04-25 08:13
marcanhm, it could be cpufreq is broken in the guest with clpc=0 and we don't bump the pcores, yeah#asahi-dev · 2023-04-25 07:52
jannaumight be a little bit faster with cbd9b7b9e1724244 but not much so I might misremember#asahi-dev · 2023-04-25 07:43
marcanIIRC the Ultra was always kind of slow under the HV though, but there may be some pathological issue there#asahi-dev · 2023-04-25 07:43
marcan(the die1 thing, not the HV thing)#asahi-dev · 2023-04-25 07:43
marcanjannau: should be fixed#asahi-dev · 2023-04-25 07:40
marcanI did try to speed things up on M2+ though#asahi-dev · 2023-04-25 07:39
marcanbut I could have screwed something up :)#asahi-dev · 2023-04-25 07:39
marcanit shouldn't#asahi-dev · 2023-04-25 07:39
jannaudid the sleep/shutdown tracing made the system slower under the hypervisor? boot timing seems to be much slower than I remember and macos felt slow as well#asahi-dev · 2023-04-25 07:38
marcanI'm guessing that is a SoC-global block and those clocks/pstates also forward to die1 automatically then#asahi-dev · 2023-04-25 07:37
marcanthanks, fixing#asahi-dev · 2023-04-25 07:36
jannauif you move it, it has a t6020-pmgr-misc in .compatible#asahi-dev · 2023-04-25 07:34
marcanjannau: anyway yeah, doesn't seem to exist on die1 so let's just drop it#asahi-dev · 2023-04-25 07:29
marcancould even be a CPU bug? like somehow ending up with the IPA instead of the VA in FAR?#asahi-dev · 2023-04-25 07:27
marcanthat FAR doesn't make any sense#asahi-dev · 2023-04-25 07:27
marcanuhh that looks like a hypervisor bug#asahi-dev · 2023-04-25 07:23
jannauSErrors but the HV complains first https://gist.github.com/jannau/526d76696ab10f0ac2308151fc68d975 #asahi-dev · 2023-04-25 07:20
marcannot SErrors?#asahi-dev · 2023-04-25 07:20
marcanyou're getting... translation faults?#asahi-dev · 2023-04-25 07:20
marcanno idea, haven't tested on ultra. I *assumed* it exists but who knows :p#asahi-dev · 2023-04-25 07:18
jannauno problems with dcp though#asahi-dev · 2023-04-25 07:18
jannauI see dart translation faults for 583008000.iommu on s2idle and the nvme didn't boot on the second resume#asahi-dev · 2023-04-25 07:11
jannaudoes pmgr-misc exist on die 1? I'm getting transalation faults on 0x228e20c000 and 0x228e20c800 on m1 ultra#asahi-dev · 2023-04-25 05:05
marcanaxboe: none of those look like a problem, need a full log