#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:56
kettenisheh#asahi · 2024-02-25 11:56
chadmedim an idiot #asahi · 2024-02-25 11:56
chadmedbah im sorry i need to sleep, s4 is hibernate of course#asahi · 2024-02-25 11:55
kettenisdoes Linux implement suspend-to-disk on other arm64 hardware?#asahi · 2024-02-25 11:55
kettenisso implementing a suspend-to-disk for these machines should be entirely possible#asahi · 2024-02-25 11:53
kettenisthere used to be a separate S4BIOS state where the firmware would do the hard work, but that hasn't been implemented by any vendor in the last decade#asahi · 2024-02-25 11:51
kettenisthe OS does all the hard work#asahi · 2024-02-25 11:51
ketteniseven with ACPI, S4 doesn't do much more than powering off the machine#asahi · 2024-02-25 11:50
mort_the kernel?#asahi · 2024-02-25 11:49
chadmedit makes absolutely no sense even as a concept#asahi · 2024-02-25 11:49
chadmedmhmm and without platform firmware implementing that interface where do you implement it#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:47
chadmedyeah but they are totally unrelated to how you would ever implement anything that even "looks" like those states on non-acpi hardware#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:46
chadmedthe system is not abstracted at that level and there is no system-wide "please put the machine in x state" that we can do #asahi · 2024-02-25 11:45
chadmedits really not productive to think in terms of acpi power states#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:31
Nefsen402having linux start up on bespoke aarch64 hardware sounds non-trivial#asahi · 2024-02-25 11:30
mort_sounds non-trivial#asahi · 2024-02-25 11:29
j`eybeing able to properly save/restore the state of all the coprocessors#asahi · 2024-02-25 11:25
mort_I wonder what it would take to get proper "s3" sleep on these machines#asahi · 2024-02-25 00:37
CharlieHey all! I'm a data engineer/software dev with tons of experience with both linux and MacOS, kubernetes/cluster development/managed/debgging, python/pyspark, bash/zsh, the list goes on. As a new M3 Pro owner what's the best way I can start making contributions to this project? Mainly thinking having an M3 will be beneficial but happy to do non-m3 related dev work as well.#asahi · 2024-02-24 13:13
hdbngrmy main purpose is to learn and understand what is needed to make such things possible. Right now I don't have dev in mind but lets see how far I get. #asahi · 2024-02-24 13:10
j`eyhdbngr: yes a few things were merged.. but unless you want to try do some dev it wont do anything#asahi · 2024-02-24 13:08
hdbngrj`ey: ok, I'm not that experienced which makes it hard to me to find the right starting point/repo. So you say I should have a look at m1n1 repo to get started with my plan?#asahi · 2024-02-24 13:05
j`eyhdbngr: m1n1 barely works on m3#asahi · 2024-02-24 13:04
hdbngrHi, I'll not ask when it is done, but I'd like to know if someone could give me some good advices to get it work on my M3 chip, even though it isn't supported yet. #asahi · 2024-02-24 12:40
arahaelkidplayer666: "don't be so certain"? :( It sounds like it's even better than what I'm expecting!#asahi · 2024-02-24 10:55
kidplayer666i've been able (previously using slp's microvms, but now that apparently doesn't work due to some update) to run steam#asahi · 2024-02-24 08:14
kidplayer666arahael: don’t be so certain. FEXBash shows promising results#asahi · 2024-02-24 05:19
arahaelVery intriguing.#asahi · 2024-02-24 05:16
chadmedarahael: yeah in the microvm#asahi · 2024-02-24 05:15
arahaelchadmed: I'm sure it'll include it eventually. But interesting if fex is that good, I wonder if that means I could actually run x86 linux apps.#asahi · 2024-02-24 05:04
arahael#asahi · 2024-02-24 04:53
chadmednot sure if the version packaged in slp's vm has it though#asahi · 2024-02-24 04:53
arahaelOh wow.#asahi · 2024-02-24 04:52
chadmedyup TSO support got hooked up a little while ago#asahi · 2024-02-24 04:52
arahaelchadmed: Does it put the ARM cpu into x86 memory mode?#asahi · 2024-02-24 04:52
chadmedwine/proton is still a bit iffy but it is in macos with gptk too#asahi · 2024-02-24 04:51
chadmedarahael: fex is almost as good as rosetta these days, from what i tried#asahi · 2024-02-24 04:50
arahaelOh yeah. Asahi boots fast from cold boot.#asahi · 2024-02-24 02:54
arahaelkidplayer666: And unlike macos, we don't have the incredibly good Rosetta2 to help us.#asahi · 2024-02-24 02:53
arahaelkidplayer666: Yay! But the next trap is getting games to support the linux + arm64 combination.#asahi · 2024-02-24 00:48
kidplayer666arahael: no wonder :P. As soon as Vulkan is here, gaming will be awesome (maybe)#asahi · 2024-02-24 00:16
arahaelYep, I already much prefer the asahi system to the macos system.#asahi · 2024-02-24 00:07
arahaelWell swapping the system and command keys was easy, "swap alt and win key".