#
✕ nick:mort_
#asahi · 2024-03-14 14:42
mort_I wish fedora had update-grub
#asahi · 2024-03-14 13:11
mort_alright, I'll see if I can get that to work
#asahi · 2024-03-14 13:08
mort_due to the whole "different bluetooth stacks, same MAC address" thing
#asahi · 2024-03-14 13:07
mort_I should expect a lot of trouble if I want to use bluetooth keyboards on a mac which dual boots between Asahi Linux and macOS, right?
#asahi · 2024-02-25 13:15
mort_the description "session and policy manager" doesn't immediately scream "responsible for the heavy lifting for DSP" but htop output doesn't lie, it's there, behind only firefox in cpu utilization while playing videos in firefox
#asahi · 2024-02-25 13:10
mort_so pipewire (with plugins) ends up doing the actual DSP stuff?
#asahi · 2024-02-25 13:05
mort_is speakersafetyd used for both the voice coil temperature model safety stuff and the eq stuff? Or is it only responsible for safety and some other system is used for eq
#asahi · 2024-02-25 12:32
mort_I wonder if I could automatically shut down after some period of time in s2idle
#asahi · 2024-02-25 12:30
mort_alright with auto login + auto launch firefox + firefox session restore I successfully have "hibernate" 😅
#asahi · 2024-02-25 12:27
mort_maybe not
#asahi · 2024-02-25 12:26
mort_I guess I could work around this in userspace instead, make firefox save its session, then power off in a way which tells the system to auto power on and open firefox on the next boot
#asahi · 2024-02-25 12:23
mort_meh it seems like hector martin has already commented on hibernate a few times and there are challenges there too
#asahi · 2024-02-25 12:20
mort_*if* my understanding is correct that suspend-to-disk is more or less handled generically by the kernel, it could be an interesting stop-gap for those of us who want to be able to not wake up to a dead laptop in the morning even as perfect s2idle is a work in progress
#asahi · 2024-02-25 12:17
mort_and I'm not blind to the fact that work on general PM means better battery performance in both s2idle *and* in normal tasks, while work on s3 sleep would benefit only sleep
#asahi · 2024-02-25 12:16
mort_and perfect s2idle might very well be the right approach for Asahi, especially given that the set of hardware is so limited
#asahi · 2024-02-25 12:15
mort_just that, I believe that this idea of "we can just make sure every driver perfectly implements power management and do s2idle" is a common trend in the industry and is responsible for quite a lot of grief
#asahi · 2024-02-25 12:14
mort_to be clear, I am not saying "the Asahi Linux project should implement s2ram"
#asahi · 2024-02-25 12:11
mort_the bug I mentioned with my previous laptop would at least happen while the kernel was suspending, and I could be relatively sure that once it was actually suspended, it would stay that way
#asahi · 2024-02-25 12:11
mort_well
#asahi · 2024-02-25 12:09
mort_but no, I don't trust that either, my previous laptop would sometimes randomly just get super hot when I closed the lid and then not come to life again until I held down the power button
#asahi · 2024-02-25 12:08
mort_I trust a kernel that's not running more than I trust a kernel that is to some extent running
#asahi · 2024-02-25 12:07
mort_I have sooooo much experience with random kernel bugs on various bits of hardware causing things like lock-ups and kernel memory leaks and whatever else
#asahi · 2024-02-25 12:06
mort_regardless I trust Linux to be bug-free even less than I trust NT to be bug-free
#asahi · 2024-02-25 12:05
mort_chadmed: those bugs in Windows wouldn't be possible if Windows wasn't running because only the RAM was powered on
#asahi · 2024-02-25 12:05
mort_"everything is turned off except for RAM" is a fairly decent guarantee isn't it?
#asahi · 2024-02-25 12:05
mort_this kind of thinking is what causes even Windows laptops these days to randomly just get super hot in your backpack because some driver messed up a power management thing
#asahi · 2024-02-25 12:04
mort_it's true that s2ram is in principle no better than s2idle + perfect power management in all drivers for all hardware, but there's something to be said about guarantees here
#asahi · 2024-02-25 11:59
mort_Phoronix says suspend to disk for ARM64 was added in 4.7
#asahi · 2024-02-25 11:58
mort_https://patchwork.kernel.org/project/linux-arm-kernel/patch/1448559168-8363-11-git-send-email-james.morse@arm.com/ is probably a better link
#asahi · 2024-02-25 11:57
mort_https://patchwork.kernel.org/project/linux-arm-kernel/patch/572248E0.6050009@arm.com/ I found this
#asahi · 2024-02-25 11:56
mort_I guess that's the downside of using the acpi state names heh
#asahi · 2024-02-25 11:50
mort_the kernel?
#asahi · 2024-02-25 11:47
mort_e.g "store RAM contents to disk, power off completely, then recover RAM from disk on boot" makes sense as a concept regardless of ACPI, and we call that S4 sleep
#asahi · 2024-02-25 11:46
mort_I think the ACPI power states give us a language to talk about different kinds of sleep, even on systems which don't implement ACPI
#asahi · 2024-02-25 11:46
mort_with the caveat that I may have missed some discussion because my irc client got sad and I had to hard reboot the VPS (!!):
#asahi · 2024-02-25 11:32
mort_hmm would s4 idle possibly be easier? Since that actually properly shuts down and does a cold boot
#asahi · 2024-02-25 11:31
mort_true
#asahi · 2024-02-25 11:30
mort_sounds non-trivial
#asahi · 2024-02-25 11:25
mort_I wonder what it would take to get proper "s3" sleep on these machines
#asahi · 2024-01-04 12:59
mort_true
#asahi · 2024-01-04 12:56
mort_microSD cards are unreliable, regardless of size; what I'm saying is: if manufacturers weren't constrained by the microSD form factor, they would presumably be able to make more reliable flash memory
#asahi · 2024-01-04 12:52
mort_I mean physical size
#asahi · 2024-01-04 12:52
mort_wait sorry there's some possible semantic confusion here, when you say "larger" do you mean physical size or storage size
#asahi · 2024-01-04 12:50
mort_it sucks that "SD cards are unreliable and die after a couple of uses" is just the accepted truth and apparently nothing can be done about it
#asahi · 2024-01-04 12:49
mort_I honestly kinda wish it was still easy to buy proper big SD cards, it *has to* be possible to make more reliable SD cards of the same size when you have like 10x the space, right?
#asahi · 2024-01-04 12:46
mort_yeah by "nothing" here I mean "nothing of what I interact with" which mostly means random embedded Linux things like SBCs so I'm admittedly biased
#asahi · 2024-01-04 12:43
mort_I had a laptop with a micro SD card slot and it was much nicer than having a big SD card slot tbh, nothing uses big SD cards anymore
#asahi · 2024-01-04 12:43
mort_what would've been amazing is an adapter that just turns your big SD card slot into a micro-SD slot
#asahi · 2024-01-04 12:42
mort_wait no not really, it seems you have to take the adapter out to insert or remove the micro SD card :(
#asahi · 2024-01-04 12:42
mort_iohhh I like that

plus ›