#
#asahi-dev · 2023-04-25 15:28
marcanso. not an issue but not what axboe is seeing either (assuming he wasn't running under the HV)
#asahi-dev · 2023-04-25 15:28
marcanyeah, just tested the userspace view, seems right now under the HV
#asahi-dev · 2023-04-25 15:27
marcanah ok
#asahi-dev · 2023-04-25 15:27
_jannau_that was only under HV with time clearly progressing
#asahi-dev · 2023-04-25 15:26
marcanor did you only see that under the HV?
#asahi-dev · 2023-04-25 15:26
marcanso... if timekeeping is actually stopping, why the hell is journald crashing?
#asahi-dev · 2023-04-25 15:25
marcan(plus it actually tests deep sleep under the HV which is always nice)
#asahi-dev · 2023-04-25 15:25
marcanshould also give a nice performance improvement on top even
#asahi-dev · 2023-04-25 15:24
marcanwith both of those no timestamp jump under the HV either, as expected
#asahi-dev · 2023-04-25 15:24
marcanyou also probably want hv.p.hv_set_time_stealing(0, 1) to prove that it isn't just time stealing warping time
#asahi-dev · 2023-04-25 15:24
marcan_jannau_: pushed a thing to fix this on the *kernel* side under the HV
#asahi-dev · 2023-04-25 15:23
_jannau_no timestamp jump on bare metal
#asahi-dev · 2023-04-25 15:17
marcanI might be able to cheat it
#asahi-dev · 2023-04-25 15:16
marcanbecause it basically triggers forever spurious wakeups, which will cause the kernel to repeatedly re-enable and re-disable timekeeping
#asahi-dev · 2023-04-25 15:16
marcanoh wait, this probably isn't going to ever work in the hypervisor
#asahi-dev · 2023-04-25 15:14
_jannau_log_power does nothing on the studio (desktop systems)
#asahi-dev · 2023-04-25 15:13
_jannau_hypervisor + no_console_suspend?
#asahi-dev · 2023-04-25 15:13
kesslerdupontchadmed: I'll take a look today at speakersafetyd and see what I can do
#asahi-dev · 2023-04-25 15:10
marcanso something is wrong
#asahi-dev · 2023-04-25 15:10
marcanno, they don't jump for me
#asahi-dev · 2023-04-25 15:10
_jannau_timestamps jump but I'd expect those to use boot time
#asahi-dev · 2023-04-25 15:09
marcanalso does the kernel log timestamp jump during suspend, or does it skip the time?
#asahi-dev · 2023-04-25 15:09
_jannau_wasn't enabled
#asahi-dev · 2023-04-25 15:09
marcanbecause if it doesn't timekeeping is *definitely* stopping now
#asahi-dev · 2023-04-25 15:09
marcan_jannau_: does the smc power log stuff log during suspend?
#asahi-dev · 2023-04-25 15:08
_jannau_I'll look at it tonight. X session survived though
#asahi-dev · 2023-04-25 15:08
marcanKnedlik: https://github.com/girish2k44/drmmodeset might help
#asahi-dev · 2023-04-25 15:08
marcanwhat.
#asahi-dev · 2023-04-25 15:08
marcanugh.
#asahi-dev · 2023-04-25 15:08
_jannau_it didn't, systemd-journal still crashed for me after waking from 15 minutes of suspend
#asahi-dev · 2023-04-25 15:07
marcanKnedlik: that is a question with many answers...
#asahi-dev · 2023-04-25 15:07
marcanaxboe: we've long had that thing with systemd-journald crashing on long suspend due to some watchdog thing, but that's exactly what cpuidle should have fixed...
#asahi-dev · 2023-04-25 14:55
KnedlikOkay I'm getting a bit confused reading through all the DRM-related stuff on the internet... how do I use it to draw on the touchbar?
#asahi-dev · 2023-04-25 14:46
j`eylibevdev I think
#asahi-dev · 2023-04-25 14:40
KnedlikHey guys, I would like to use C++ for the touchbar Fxx buttons I was tasked with earlier. What should I use? I assume the DRM has some headers, but what should I use for touch input?
#asahi-dev · 2023-04-25 14:13
tobhethe few times this has happened to me it was usually both at the same time so I assumed it might be gnome related
#asahi-dev · 2023-04-25 14:10
axboebut this one is different, I've never had my X session go away
#asahi-dev · 2023-04-25 14:10
axboewifi has always been a bit hit or miss for me. I'd say that 9/10 wakeups wifi is fine, 1/10 it doesn't come back and it needs a reboot
#asahi-dev · 2023-04-25 14:04
tobheaxboe: I think I have seen something similar before, even on wayland. out of curiosity: does your wifi still work after wakeup?
#asahi-dev · 2023-04-25 13:53
axboeor overnight
#asahi-dev · 2023-04-25 13:53
axboeusually if I suspend it's because I'm heading to the office, so probably 20-30 minutes min suspend
#asahi-dev · 2023-04-25 13:53
axboethat may be why
#asahi-dev · 2023-04-25 13:52
_jannau_I didn't keep the system suspended that long. I'd guess 30 seconds maximal
#asahi-dev · 2023-04-25 13:52
axboeand that works fine
#asahi-dev · 2023-04-25 13:51
axboeso just did a suspend and resume after 10 seconds
#asahi-dev · 2023-04-25 13:51
axboejust eg 10 min will do it
#asahi-dev · 2023-04-25 13:51
axboeseems to happen regardless of how long it was suspended
#asahi-dev · 2023-04-25 13:50
axboeI did enable the new cpuidle
#asahi-dev · 2023-04-25 13:50
axboeold kernel doesn't boot anymore, so can't test that
#asahi-dev · 2023-04-25 13:49
_jannau_how long was the system suspended? did you enable the new apple cpuidle driver?

plus ›