#asahi · 2022-08-24 08:33
_jannau_24h idle time should not be to hard when the battery life of an unused laptop (display off) is already > 19h (M2 macbook pro 13)#asahi · 2022-08-24 08:28
marcan:)#asahi · 2022-08-24 08:27
rmkthanks... I'll see whether Oracle will get me one :D#asahi · 2022-08-24 08:26
marcantry an A-to-C dongle adapter :)#asahi · 2022-08-24 08:26
rmkthat'll be it then, since it's a type A dongle#asahi · 2022-08-24 08:26
marcanlinux supports everything#asahi · 2022-08-24 08:26
marcanthe bootloader only supports the Type C ports right now#asahi · 2022-08-24 08:26
kujeger[m]that sounds really promising, thanks for all the work!#asahi · 2022-08-24 08:26
marcanon the bootloader, or on linux?#asahi · 2022-08-24 08:25
rmkHi. question about grub on the m1 mini - does it accept input from a USB keyboard? It doesn't appear to work with my Logitech wireless keyboard which is my only USB keyboard.#asahi · 2022-08-24 08:24
marcanand given I've seen macOS do like a week of sleep time (when it's not bugging out), we ought to be able to achieve the same eventually, though honestly if we can hit 24-48h with just deep cpu idle and not "full" sleep mode, I'd probably backburner that and focus on other things first :)#asahi · 2022-08-24 08:24
kujeger[m]yeah, 24h+ seems like it would cover 99% of use cases! And even currently the machine is so fast that I shut it down and turn it on every day anyway; takes less than 20sec from opening the lid to being logged in with my stuff started up#asahi · 2022-08-24 08:23
marcanI suspect once we get sleep times up in the 24-48h range very few people are going to care about hibernate#asahi · 2022-08-24 08:22
marcanyeah, I haven't used hibernate in ages too, other than when macOS automatically goes into that mode when the battery dies in suspend (which some versions of macOS liked to do due to bugs...)#asahi · 2022-08-24 08:21
marcanI expect that once we introduce CPU deep sleep, and fix the wifi/pcie issue, that will get us 24+ hours of idle time (== s2idle suspend time) and a lot of people ought to be happy with that level. then we can chip away at turning more things off to extend that, and eventually try out the "full" sleep mode.#asahi · 2022-08-24 08:21
kujeger[m]I personally haven't really used hibernation instead of suspend-to-ram in years, so it was mostly a curiosity thing#asahi · 2022-08-24 08:19
kujeger[m]oo, that's nice to hear! When I decided to make asahi/m1 my daily driver I kind of decided to assume everything listed as not supported might be a year or two away#asahi · 2022-08-24 08:19
marcanbut s2idle you almost get for free on modern platforms, and we know it works well enough since the machines already get like 16+ hour runtimes without even deep sleep#asahi · 2022-08-24 08:19
marcanit's not even entirely clear exactly how hibernate is intended to work on these platforms, so there's a whole lot of platform expectation reverse engineering to be done there#asahi · 2022-08-24 08:16
marcansuspend-to-ram isn't even a single thing, we already support it partially (wifi/pcie are the only real blocker) for s2idle mode#asahi · 2022-08-24 08:15
kujeger[m]I naively imagined it would be the other way around#asahi · 2022-08-24 08:15
kujeger[m]oh, that surprised me#asahi · 2022-08-24 08:15
marcanthe coprocessors support it natively#asahi · 2022-08-24 08:15
marcansuspend-to-ram is *much* easier#asahi · 2022-08-24 08:15
marcanno, not at all#asahi · 2022-08-24 08:14
marcanit requires full save/restore of firmware-dependent state which is a *giant* pain for DCP/AGX#asahi · 2022-08-24 08:14
kujeger[m]same situation for both modes then, thanks :)#asahi · 2022-08-24 08:14
marcanhibernate/suspend to disk is unlikely to be supported any time soon with real drivers due to Apple's firmware design#asahi · 2022-08-24 08:12
Glanzmannmarcan: ^#asahi · 2022-08-24 08:10
kujeger[m]is hibernate/suspend to disk support something that is likely to happen before suspend-to-ram, or is it dependent on the same driver and infrastructure support?#asahi · 2022-08-24 07:39
phire(on macos)#asahi · 2022-08-24 07:39
phiresudo /usr/bin/powermetrics #asahi · 2022-08-24 07:39
Ry_Darcy_@<phire> what tool/utility did you use to get these measurements (DRAM active, GPU, ecore) ?#asahi · 2022-08-24 07:32
_jannau_understood, the AsahiLinux installs update themself though#asahi · 2022-08-24 01:41
marcanall of them don't have it yet#asahi · 2022-08-24 01:41
marcanjannau: that's because the images aren't updated#asahi · 2022-08-24 00:41
phireOn my m1 pro max, a task that uses 7% of an ecore and a few percent of GPU at 60fps was reported as using something like 7mw of cpu power, 30mw of gpu power and almost 500 mw extra of DRAM power#asahi · 2022-08-24 00:39
phireand if the power usage breakdowns are anywhere near accurate, it seems the most important part of getting low power draw is minimising the amount of time the DRAM is active. #asahi · 2022-08-24 00:39
gmarxyes, is like `top` tool in terminal #asahi · 2022-08-24 00:37
phireI've been playing around with it for a few days#asahi · 2022-08-24 00:36
phireweapon_of_nix[m]: the /usr/bin/powermetric tool in macos (you need sudo) gives a lot of insight into what's going on#asahi · 2022-08-23 20:40
allerbestThanks @kettenis #asahi · 2022-08-23 20:23
kettenishttps://lore.kernel.org/all/20220730155227.v2.35.I0ec5199bc0e81fe308317b055c69c48a5135d2f7@changeid/t/#asahi · 2022-08-23 20:23
kettenisthose interested in non-UEFI "secure boot" may be interested in Simon Glass' "Verified boot for Embedded" series on the U-Boot mailing list#asahi · 2022-08-23 20:21
kettenisLinux may be even lower#asahi · 2022-08-23 20:20
ketteniswith OpenBSD the SMC reports 5.75 W when idle#asahi · 2022-08-23 20:18
allerbestLooking for a economical but powerful Linux server, non-x86, so I want to know how many watts when idle#asahi · 2022-08-23 20:17
allerbestHi there. Searched the FAQs and forums to no avail. Does anyone measure the wattage of an M1 Mac mini when idle in a fresh installation of Asahi Linux? #asahi · 2022-08-23 20:15
kettenisjannau: for the esp identification in u-boot, I have some ideas, but I'm waiting for the efi boot menu stuff to land in u-boot master#asahi · 2022-08-23 20:14
kettenisslowly trying to catch up after my vacation