#
✕ nick:marcan
#asahi · 2022-08-30 04:02
marcankaprests: 3 people asked about Thunderbolt and someone else about PSCI on yesterday's stream... ;)
#asahi · 2022-08-29 14:53
marcanplease don't do that
#asahi · 2022-08-29 14:53
marcanfolks, asking for updates isn't going to make anything go faster
#asahi · 2022-08-29 08:05
marcanstreaming in a bit (going to make xHCI work on the Mac Studio / iMac)
#asahi · 2022-08-24 13:03
marcanis it possible you did something with SSH with x11 forwarding enabled that somehow messed around with the x11 auth cookie?
#asahi · 2022-08-24 13:03
marcanit sounds like specifically something went very wrong with the xauth
#asahi · 2022-08-24 13:03
marcanI've never seen things break the way they did for you though
#asahi · 2022-08-24 13:02
marcanI think I've seen the repainting issues once or twice, I suspect it's just some bug in simpledrmfb or modesetting when used in this way
#asahi · 2022-08-24 08:28
marcan:)
#asahi · 2022-08-24 08:26
marcantry an A-to-C dongle adapter :)
#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
marcanon the bootloader, or on linux?
#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: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: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
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
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 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-23 08:25
marcanI think that's called emacs
#asahi · 2022-08-23 07:40
marcan*blushes*
#asahi · 2022-08-23 07:37
marcan(why is everyone so interested in my editor? lol)
#asahi · 2022-08-23 07:37
marcanbluetail: because I like it
#asahi · 2022-08-22 18:14
marcan*box
#asahi · 2022-08-22 18:14
marcanthat would make the daemon unnecessary and some existing userspace work out of the b ox
#asahi · 2022-08-22 18:14
marcaneither way I will probably add charge limit controls to the kernel side, since it makes sense (e.g. it'll make it work in s2idle)
#asahi · 2022-08-22 18:12
marcan(e.g. a 100mA USB port)
#asahi · 2022-08-22 18:11
marcane.g. my driver won't say you're "charging" if you're connected to an underpowered power supply that literally isn't actually getting used at all
#asahi · 2022-08-22 18:10
marcanmy driver just tries really hard to report sane charging/discharging status, and does a better job than macOS at that
#asahi · 2022-08-22 18:10
marcanno, it's the SMC
#asahi · 2022-08-22 18:08
marcanwhen that happens macOS will actually show "not charging/discharging" and the % indicator dropping, which is confusing to users. I made a point to make Linux say "fully charged" in that case, so even if the % drops below 100% you have some indication that the charge cycle is essentially complete, and your charger isn't broken.
#asahi · 2022-08-22 18:07
marcanmore specifically, the SMC charge cycle will charge until full, then stop charging and the machine runs only from inflow until the battery drops a few percent from self-discharge (which takes forever), then initiate charging again. sometimes it will also choose to run from battery until 90% or so, then re-charge, as part of what I believe is a calibration cycle.
#asahi · 2022-08-22 18:04
marcan(come on guys, read what they wrote. they are implying the battery would be overcharged/charge wouldn't stop when fully charged. that's nonsense, Asahi won't do that userspace daemon or not)
#asahi · 2022-08-22 18:00
marcanyou might be thinking of the feature that stops charging *before* fully charged, to reduce battery wear. then what ChaosPrincess and mps said applies.
#asahi · 2022-08-22 17:59
marcanneophotex[m]: the battery stops charging when fully charged. that's like any other laptop. asahi won't overcharge your battery. this isn't a macOS feature.
#asahi · 2022-08-22 12:44
marcanthank you so much! :)
#asahi · 2022-08-22 12:37
marcanoh, max/pro are equally supported, it's the same chip minus some duplicated bits
#asahi · 2022-08-22 12:37
marcangithub sponsors is better though ^
#asahi · 2022-08-22 12:36
marcanpatreon.com/marcan :)
#asahi · 2022-08-22 12:36
marcanthere is no mbp ultra
#asahi · 2022-08-22 12:36
marcani assume you mean studio?
#asahi · 2022-08-22 12:36
marcanwait mb*p*

plus ›