#asahi · 2022-12-04 07:01
marcannicolas17: not yet, kind of got carried away also implementing the DCP/GPU firmware versioning while I was here, almost done#asahi · 2022-12-04 06:54
nicolas17marcan: did you already push a release? (I don't know what you meant by "quickly" in this context :D)#asahi · 2022-12-04 06:04
marcanthanks :)#asahi · 2022-12-04 06:04
blackMysticCatthanks for the link!! and the amazing distro! really appreciate your hard work :) its gotten me excited about linux again#asahi · 2022-12-04 06:03
blackMysticCatgotcha. I'll look into that#asahi · 2022-12-04 06:03
marcanhttps://wiki.archlinux.org/title/sway#HiDPI#asahi · 2022-12-04 06:02
nicolas17sway needs to use a bigger font, not a different resolution...#asahi · 2022-12-04 06:02
marcanenable HiDPI support#asahi · 2022-12-04 06:02
blackMysticCatah. is there any work around for the miniscule text in that case?#asahi · 2022-12-04 06:01
marcanblackMysticCat: you cannot change the resolution on internal displays (they do not support it).#asahi · 2022-12-04 06:01
marcannicolas17: it is :)#asahi · 2022-12-04 05:55
blackMysticCathas anyone gotten sway to work successfully? im having trouble changing the resolution. the text is miniscule, but running "sway output Unknown-1 resolution 1920x1080" has no effect#asahi · 2022-12-04 05:51
nicolas17(isn't "10 minutes to go down by 1%" awesome btw? :P)#asahi · 2022-12-04 05:47
marcanmaybe the UI should know about upower settings and display something like "UPower is configured to perform a critical shutdown at 2%"#asahi · 2022-12-04 05:47
nicolas17but then the GUI should say it's going to#asahi · 2022-12-04 05:47
nicolas17of course#asahi · 2022-12-04 05:46
marcanit makes sense for there to be a forced last-measure shutdown#asahi · 2022-12-04 05:46
marcanyour computer is going to shut down when the battery dies whether you want it to or not#asahi · 2022-12-04 05:46
marcanwell, it was at 2%#asahi · 2022-12-04 05:45
nicolas17I don't think I have tried running my non-Mac non-Arch Linux laptop empty :)#asahi · 2022-12-04 05:45
nicolas17that could be something to discuss in KDE upstream#asahi · 2022-12-04 05:44
nicolas17UX-wise there is something confusing for users, the shutdown was done directly by upower, but Plasma has its own "shutdown on low battery" setting in the GUI (maybe handled by powerdevil?), and that was *disabled*... which means the settings I see in the GUI are not what will actually happen#asahi · 2022-12-04 05:42
marcanit's important stuff to have access to#asahi · 2022-12-04 05:42
marcangive me a sec, I'll add this quickly and push out a release ;)#asahi · 2022-12-04 05:42
nicolas17I haven't yet tried m1n1 console#asahi · 2022-12-04 05:41
marcanyou can from m1n1, but let me just add something for this into kboot real quick because we're going to want it handy#asahi · 2022-12-04 05:40
nicolas17can I get the actual SFR version somehow?#asahi · 2022-12-04 05:40
nicolas17never downgraded or did a second install#asahi · 2022-12-04 05:40
nicolas17I think I'm on the latest macOS 12#asahi · 2022-12-04 05:39
nicolas17marcan: http://paste.debian.net/1262798/#asahi · 2022-12-04 05:37
marcan(I should make m1n1 forward this stuff to the DT...)#asahi · 2022-12-04 05:36
marcannicolas17: what's your SFR? (i.e. newest version of macOS ever installed)#asahi · 2022-12-04 05:36
marcanI don't recall that syslog at all from my SMC experiments, maybe it's new?#asahi · 2022-12-04 05:36
marcanthough I still want to find an explicit event I can use to trigger a panic kernel flush#asahi · 2022-12-04 05:36
chadmedits probably fine if we leave a little extra in the tank in terms of "real" capacity/critical levels just to preserve the cells given that (at the moment) the battery is subject to higher sustained discharge rate and chassis temp#asahi · 2022-12-04 05:36
marcanlooks like the current behavior is "good enough" then, if it shuts down at 2%#asahi · 2022-12-04 05:35
nicolas17as far as upower knew, battery was 3% when the SMC reported that#asahi · 2022-12-04 05:34
marcanand yet you had 10 minutes after SMC reported, apparently, "battery too low to boot". So maybe that state is indeed higher than 0% for macOS#asahi · 2022-12-04 05:34
nicolas17sec, upower logs can help here#asahi · 2022-12-04 05:34
marcanit's interesting though, because I think we use the "UI capacity" to report battery %, and I'd expect Apple to let that drop to 0% before initiating shutdown (even though there's still reserve power available)#asahi · 2022-12-04 05:34
nicolas17because it ships upower configured like this#asahi · 2022-12-04 05:33
nicolas17so the answer is ultimately yes, asahi-the-distro does cleanly shutdown on low battery :P#asahi · 2022-12-04 05:33
marcanthat makes sense#asahi · 2022-12-04 05:33
nicolas17and it's documented that "if HybridSleep is not supported, Hibernate is used, if Hibernate is not supported, PowerOff is used"#asahi · 2022-12-04 05:33
nicolas17UPower.conf contains PercentageCritical=5, PercentageAction=2, CriticalPowerAction=HybridSleep#asahi · 2022-12-04 05:32
marcan(and then later the panic one I found from the kernel)#asahi · 2022-12-04 05:32
marcanbecause that condition is exactly what I'd want to use to trigger a clean shutdown from userspace#asahi · 2022-12-04 05:32
marcanbut lasting 10 minutes after that is more than I expected, I wonder if there's some event/prop I missed there#asahi · 2022-12-04 05:31
nicolas17upower did it#asahi · 2022-12-04 05:31
marcannicolas17: the okBootiBoot=1/okBootAP_OS=0 thing is interesting, it suggests SMC thinks the battery is now too dead to actually boot the OS, which is an interesting state to be in