#asahi · 2026-11-15 06:56
MichaelReeves[m]CONFIG_MACSMC_POWER#asahi · 2026-11-08 11:07
MichaelReeves[m]yeah#asahi · 2026-11-08 11:04
MichaelReeves[m]it was for something called lego league, we had to make an "innovative solution" to help with that years theme which was power saving... and the judges weren't technical and our presentation was good so we actually made it to nationals even though it made things worse LOL#asahi · 2026-11-08 10:59
MichaelReeves[m]LOL I found it, it would read CPU usage from vmstat every second and then use that to choose the "optimal clock speed", because I didn't understand that it's what govenors do anyway ... https://github.com/IntegralPilot/DuckPowered-Snap/blob/main/actual-service/main.sh#asahi · 2026-11-08 10:57
MichaelReeves[m]this was a "app" to help with "power saving" except I didn't understand and it made it 1000x worse in reality#asahi · 2026-11-08 10:57
MichaelReeves[m]oh, interesting#asahi · 2026-11-08 10:56
MichaelReeves[m]fun fact my first OSS project (and why I made my GH account) was actually messing with scaling governors and frequencies so this discussion about that is bringing back memories#asahi · 2026-11-08 10:54
MichaelReeves[m]the other command is showing gibibytes and the install shows gigabytes#asahi · 2026-11-08 10:54
MichaelReeves[m]144 gibibytes = 154.23 gigabytes#asahi · 2026-11-08 10:54
MichaelReeves[m]basically they are two slightly different units#asahi · 2026-11-08 10:53
MichaelReeves[m]that's GB vs GiB#asahi · 2026-11-08 10:38
MichaelReeves[m]I think they set (or unset) clock speed caps (well, at least, the ones I looked into a couple years ago did), which is pseudoscience because racing to getting the task done and then going to a lower power state is better for energy anyway #asahi · 2026-11-08 10:20
MichaelReeves[m]hi! are you on M3? that's expected for now because we are still working on the GPU, and it uses what's called "software rendering"#asahi · 2026-11-08 01:26
MichaelReeves[m]what is a satechi#asahi · 2026-11-07 10:07
MichaelReeves[m]i also added you as CC so you will get a copy in ur email#asahi · 2026-11-07 10:07
MichaelReeves[m]i sent the patch now: https://lore.kernel.org/asahi/20261107-tipd-stack-uaf-fix-v1-1-efcb517924ec@gmail.com/#asahi · 2026-11-07 10:07
MichaelReeves[m]thanks!!#asahi · 2026-11-07 08:05
MichaelReeves[m]and then when it returns the value would go out of scope#asahi · 2026-11-07 08:05
MichaelReeves[m]the old code assigned a pointer to a field inside a stack allocated variable#asahi · 2026-11-07 08:05
MichaelReeves[m]it was stack use after returning#asahi · 2026-11-07 08:04
MichaelReeves[m]sure#asahi · 2026-11-07 08:02
MichaelReeves[m]thanks!#asahi · 2026-11-07 07:55
MichaelReeves[m]if so say ur name and email#asahi · 2026-11-07 07:55
MichaelReeves[m]do you want me to put you as Reported-By (optional)#asahi · 2026-11-07 07:54
MichaelReeves[m]ok so the problem is present upstream as well so I will have to send a patch on list#asahi · 2026-11-07 07:51
MichaelReeves[m]what does it say exactly#asahi · 2026-11-07 07:51
MichaelReeves[m]ehh weird dont worry abt that its not anything to do with audio#asahi · 2026-11-07 07:50
MichaelReeves[m]ooooh I actually see it#asahi · 2026-11-07 07:47
MichaelReeves[m]ill take a look as well and see if I can see whats causing it#asahi · 2026-11-07 07:45
MichaelReeves[m]i dont do USB-C so I can't fix it sorry, can you open a GH issue on https://github.com/AsahiLinux/linux, and say oops occurred in USB-C driver, and then put the info from backtrace in a code block#asahi · 2026-11-07 07:44
MichaelReeves[m]the important file is just the one called "backtrace"#asahi · 2026-11-07 07:43
MichaelReeves[m]thanks. ok looking at that its some problem with USB-C#asahi · 2026-11-07 07:40
MichaelReeves[m]the main thing is the last few lines of dmesg which it should contain#asahi · 2026-11-07 07:39
MichaelReeves[m]as file attachment is fine#asahi · 2026-11-07 07:39
MichaelReeves[m]im not sure what that would contain, only one way to find out can you send it here?#asahi · 2026-11-07 07:37
MichaelReeves[m]by system report do you mean dmesg?#asahi · 2026-11-07 07:37
MichaelReeves[m]can you paste it in a pastebin and share the link#asahi · 2026-11-07 07:35
MichaelReeves[m]what happened?#asahi · 2026-11-07 07:35
MichaelReeves[m]here is fine or the GitHub issues#asahi · 2026-11-07 07:34
MichaelReeves[m]is proton just valve's wine fork? I have used and tried normal wine through p3s and it works so unless they changed something it should#asahi · 2026-11-07 01:44
MichaelReeves[m]what’s going wrong?#asahi · 2026-11-07 01:44
MichaelReeves[m]here is fine#asahi · 2026-11-04 11:31
MichaelReeves[m]fun fact it's actually possible to use the accelerometer to figure out what someone is typing on MacBook keyboard. there was some paper posted here a few weeks ago about that#asahi · 2026-10-28 08:32
MichaelReeves[m]I remembered one of them was ok and the other wasn't, but must have gotten it the wrong way round. that's annoying that its needed#asahi · 2026-10-28 08:25
MichaelReeves[m]it's something on my endless list of things I intend to get around and fix#asahi · 2026-10-28 08:25
MichaelReeves[m]yes, I don't think the functionality should be removed but (IMO) it shouldn't use the names of things which have a defined ABI and completely not follow that and fake values etc.#asahi · 2026-10-28 08:24
MichaelReeves[m]I explained it more here https://github.com/AsahiLinux/linux/issues/410#issuecomment-4538780000#asahi · 2026-10-28 08:22
MichaelReeves[m]our implementation of the charge_control_end_threshold is incredibly cursed because it doesnt actually expose a clean start and end threshold so it liked pretended and faked it, which I got rid of from upstream but it's still included downstream. I think some day we should get rid of it completely because its very broken and non-standard#asahi · 2026-10-22 06:53
MichaelReeves[m]yes#asahi · 2026-10-22 06:47
MichaelReeves[m]oh I looked it up and apparently forcing it to keep going when voltage is below design will break it and cause a fire (!!) the next recharge. so even if we didnt do anything, SMC would probably force shutdown anyway for safety