#
#asahi-dev · 2023-04-18 11:20
chadmedkde reporting ~7h worth of battery watching 1080p30 vp9
#asahi-dev · 2023-04-18 11:19
chadmedbut thats what the SMC tells me so...
#asahi-dev · 2023-04-18 11:18
chadmed3.3 W per core at the top firestorm pstate seems... low
#asahi-dev · 2023-04-18 11:18
chadmedhm my numbers have changed since last time and i think theyre wrong...
#asahi-dev · 2023-04-18 10:31
marcanbbl
#asahi-dev · 2023-04-18 10:31
marcanI should get dinner, I clearly am not thinking right :p
#asahi-dev · 2023-04-18 10:31
marcanmax we have on t8103 is 15/3204, t600x is 15/3228, t8112 17/3504, t6021/j416 19/3696
#asahi-dev · 2023-04-18 10:30
marcaner another typo, let me redo that
#asahi-dev · 2023-04-18 10:30
marcanso this sounds like it should be exclusive to that
#asahi-dev · 2023-04-18 10:30
marcan*t6001/j416
#asahi-dev · 2023-04-18 10:30
marcanextra pstates on t600x seem unlikely given they ran out of bits in the register
#asahi-dev · 2023-04-18 10:29
marcanmax we have on t8103 is 15/3104, t600x is 15/3228, t8112 17/3504 t6002/j416 19/3696
#asahi-dev · 2023-04-18 10:27
marcanI'm interested in what pstates the devicetree has
#asahi-dev · 2023-04-18 10:26
_jannau_I guess we would have to try on other devices if this is just a software limitation
#asahi-dev · 2023-04-18 10:26
_jannau_Mac14,6 is the only device in geekbench with reported frequency higher than 3.5 GHz
#asahi-dev · 2023-04-18 10:25
_jannau_macos high performance mode is 16" M{1,2} Max only https://support.apple.com/en-us/HT212852
#asahi-dev · 2023-04-18 10:09
marcanalso, have we confirmed that the "extra" pstates on t802x are only for j416c? if so we need to adjust the DTs to that end.
#asahi-dev · 2023-04-18 10:05
chadmedlets see just how bad they are heh
#asahi-dev · 2023-04-18 10:03
marcanI expect the boost states to be woefully power-inefficient, so it really shouldn't switch to them until it really knows it needs to
#asahi-dev · 2023-04-18 10:01
chadmedoh wow idle power is closer to 8 W now, im assuming EAS doesnt like pstates without opp-microwatt
#asahi-dev · 2023-04-18 10:01
_jannau_err
#asahi-dev · 2023-04-18 10:01
_jannau_or if charging cd
#asahi-dev · 2023-04-18 09:59
chadmedlet me cobble together enough hwmon to do opp-microwatt measurements
#asahi-dev · 2023-04-18 09:58
chadmedawesome, boost pstates are working
#asahi-dev · 2023-04-18 09:53
marcanso I think it got added in 13.0
#asahi-dev · 2023-04-18 09:53
marcan(would be really nice to get newer keys...)
#asahi-dev · 2023-04-18 09:52
marcanand the firmware I'm reverse engineering is some early 13.0 beta (last one I have a key for on t8103)
#asahi-dev · 2023-04-18 09:52
marcanit is in 13.3 in j416
#asahi-dev · 2023-04-18 09:52
marcannot in 12.4 j314 SMC, no
#asahi-dev · 2023-04-18 09:51
j`eythe CHWA key isnt there at all?
#asahi-dev · 2023-04-18 09:51
marcanisn't there on my j314 with 12.4
#asahi-dev · 2023-04-18 09:50
marcanohh and this feature was introduced in some newer SMC firmware, 13.0 maybe
#asahi-dev · 2023-04-18 09:44
marcan:D
#asahi-dev · 2023-04-18 09:37
chadmedi assumed that the device in pro audio mode is exposed as a single channel by pipewire
#asahi-dev · 2023-04-18 09:36
chadmedhttps://github.com/chadmed/asahi-audio/tree/desktops/mini i got a bit distracted oops
#asahi-dev · 2023-04-18 09:10
marcanI only found this by looking at SMC firmware
#asahi-dev · 2023-04-18 09:09
marcanno, macos uses software handling like linux does AIUI
#asahi-dev · 2023-04-18 09:09
dottedmagmarcan: that's the charge limit applied my macos, right?
#asahi-dev · 2023-04-18 09:04
marcanthough drivers are allowed to round charge_control_end_threshold etc, so maybe we should just ditch the kernel handling entirely and just only allow setting 80 or 100 for that.
#asahi-dev · 2023-04-18 09:02
marcanmaybe charge_type = "long life" would sort of map to that, but it's intended to mean lower current charging, not outright limits :/
#asahi-dev · 2023-04-18 09:00
marcanmaybe we can do something like test the configured limits, and if they're lower or equal to that, just engage that mode in suspend
#asahi-dev · 2023-04-18 09:00
marcanunfortunately that doesn't merge well with the kernel API...
#asahi-dev · 2023-04-18 09:00
marcanbut I *think* CHWA=1 will limit charge to 75-80%
#asahi-dev · 2023-04-18 09:00
marcanunfortuantely it's not configurable
#asahi-dev · 2023-04-18 08:59
marcanhuh, I think I found an autonomous battery charge limit in SMC
#asahi-dev · 2023-04-18 08:37
_jannau_have to try if any of the PMGR hooks trigger during suspend
#asahi-dev · 2023-04-18 08:34
_jannau_j314c 14" M1 Max mbp
#asahi-dev · 2023-04-18 08:32
marcancould also be a race/timing issue somehow
#asahi-dev · 2023-04-18 08:31
marcandoes the HV log any dangerous PMGR hooks during a suspend cycle?
#asahi-dev · 2023-04-18 08:31
marcanthis is what machine exactly?

plus ›