VoltageShift icon indicating copy to clipboard operation
VoltageShift copied to clipboard

Big Sur breaks Voltageshift

Open protonimo opened this issue 4 years ago • 91 comments

macOS 11.0 Beta appears to break all functionality. Commands return no result initially. After changing ownership again with:

chown -R root:wheel

and trying a command again, we get the following error:

Error: Error Domain=KMErrorDomain Code=1 "Kernel request failed: (libkern/kext) not found" UserInfo={NSLocalizedDescription=Kernel request failed: (libkern/kext) not found}

My (extremely limited) understanding is that there is has been a fundamental change in the way extensions are handled in 11.0. Any word on if this change can be worked around?

protonimo avatar Jun 23 '20 04:06 protonimo

Yes, this app should require upgrade by implement the DriverKit layer. However, the Big Sur and DriverKit seen currently developing and under beta. I could like try to upgrade this program when the Big Sur launch October.

sicreative avatar Aug 07 '20 10:08 sicreative

That's too nice sicreative. Voltage shift is still used on a lot of Hackintoshes with Sky Kaby and Coffelake CPUs it'd be amazing to have this Kext back in working order with Big Sur.

I'm excited!!

Veemyu avatar Sep 08 '20 12:09 Veemyu

its super useful for 5000USD bricks... (i9 2018 MBPs :) ) Thanks!

varoudis avatar Oct 08 '20 13:10 varoudis

its super useful for 5000USD bricks... (i9 2018 MBPs :) ) Thanks!

It's not supposed to work with Broadwell+ MacBooks. Apple locked a register that hinders modern MacBooks from Undervolting. Or is your MacBook Rainbow Magic?

Veemyu avatar Oct 08 '20 13:10 Veemyu

its super useful for 5000USD bricks... (i9 2018 MBPs :) ) Thanks!

It's not supposed to work with Broadwell+ MacBooks. Apple locked a register that hinders modern MacBooks from Undervolting. Or is your MacBook Rainbow Magic?

Power limit and Boost limit does work!! (No under-voltage)

varoudis avatar Oct 08 '20 15:10 varoudis

Oh, I See Very nice!

Veemyu avatar Oct 12 '20 23:10 Veemyu

It works on Big Sur for me.

Drowningfish223 avatar Oct 26 '20 21:10 Drowningfish223

It actually resumed working after one of the frequent OS updates during the beta, and continued to work until recently. The "release candidate" of Big Sur appears to cause problems again (for me at least).

After fixing the code signature issue described by others in the "killed" thread, and fixing permissions, it now shows "OC_Locked" in my CPU info, which I don't recall seeing before.

When attempting to change any voltage parameters, it shows both before and after voltage offset as 0. No changes work.

I'd love to hear if anyone else has it working on the release candidate of Big Sur. Thanks for all your hard work @sicreative

protonimo avatar Nov 08 '20 15:11 protonimo

It works great for me on the release candidate!

IMG_0981

I did get a version from a different GitHub thread, though, so try this version of the kext and executable:

VoltageShift.kext.zip

voltageshift.zip

The only problem that I have is that the offsets don't stick through sleep, so I have to use a program to run a voltageshift shell script on every wake.

Drowningfish223 avatar Nov 08 '20 16:11 Drowningfish223

Thank you for your quick reply!

I must be missing something. I replaced the kext and exec with the ones you linked, fixed ownership, and rebooted as requested by system security settings. It still gives me this: Screen Shot 2020-11-08 at 12 18 44 PM

protonimo avatar Nov 08 '20 17:11 protonimo

Have you updated your Bios recently? If you have, you might have to undo the overclocking lock in order to undervolt.

Drowningfish223 avatar Nov 08 '20 17:11 Drowningfish223

I'm on a Macbook, so no BIOS.

protonimo avatar Nov 08 '20 17:11 protonimo

on Macbooks only power limit and turbo limit works.

varoudis avatar Nov 09 '20 12:11 varoudis

**2014 MacBook Pro with Haswell i5-4278U

I assure you voltage offsets worked-- verified by VoltageShift itself, as well as power draw/temperature/boost clocks under load. Undervolting too far caused crashes.

protonimo avatar Nov 09 '20 22:11 protonimo

There’s a chance that apple disabled undervolting for all macs in an update because of plundervolt, but I could be wrong.

Drowningfish223 avatar Nov 11 '20 00:11 Drowningfish223

Good point, that's very possible. I don't have the knowledge to work around this. So if anyone manages to get things working on a mac running Big Sur release candidate or later, please chime in.

protonimo avatar Nov 12 '20 04:11 protonimo

I used the version Drowningfish223 provided and so far it is working without problems. Didn't need anything additional. I'm on a 2015 MBP with i5-5257U

image image

Unrelated but I also managed to do -130mV CPU cache voltage after seeing Drowningfish223's picture. Thanks!

FMudanyali avatar Nov 13 '20 04:11 FMudanyali

so I have to use a program to run a voltageshift shell script on every wake. @Drowningfish223 which program you use? and thank you for the files .

xcoder19 avatar Nov 13 '20 12:11 xcoder19

I'm on macbook air 2013, where voltageshift always worked fine. Big sur broke everything, now i'm getting Screenshot 2020-11-13 at 13 51 42 even with version from Drowningfish223

vaddieg avatar Nov 13 '20 12:11 vaddieg

I'm on macbook air 2013, where voltageshift always worked fine. Big sur broke everything, now i'm getting Screenshot 2020-11-13 at 13 51 42 even with version from Drowningfish223

OC_Locked mean the SMC locked by Apple and no Overclock available. (Because the SMC loaded before system start so no overclock can be override). I am planing to updated this program, however Apple seen make either new and old devices unable to tweak voltage and this program may not useful in the coming future.

sicreative avatar Nov 13 '20 13:11 sicreative

Funniest thing: i've tried SMC reset. Now I lost turboboost completely. Looks like apple introduced intentional slowdown (or voltageshift behaves buggy on my os) Screenshot 2020-11-13 at 15 34 54 Low frequency also reported by intel power gadget

vaddieg avatar Nov 13 '20 14:11 vaddieg

Removing the kext restored turbo operation. I will try to rebuild the kext with latest SDK (there were some hints in xcode rc release notes, that kexts need recompilation)

vaddieg avatar Nov 13 '20 14:11 vaddieg

I'm also getting the OC_Locked message. Is there anything that can be done to unlock it?

mendeel avatar Nov 13 '20 16:11 mendeel

After updating to Big Sur, undervolting stopped working for me too (even on Catalina). Based on the updated EFI and SMC, Apple seems to have closed the undervolting option on all Macs.

Screenshot 2020-11-15 at 13 42 06

tvrrp avatar Nov 15 '20 10:11 tvrrp

After updating to Big Sur, undervolting stopped working for me too (even on Catalina). Based on the updated EFI and SMC, Apple seems to have closed the undervolting option on all Macs.

that was my biggest fear.. undervolting helped my 22nm i5 macbook air to run on max turbo infinitely long. And battery life was considerably better

vaddieg avatar Nov 15 '20 10:11 vaddieg

SMC lock by big sur firmware upgrade is confirmed. Luckily there is a way to downgrade https://support.apple.com/en-gb/HT201518 will try it out later

vaddieg avatar Nov 15 '20 11:11 vaddieg

SMC lock by big sur firmware upgrade is confirmed. Luckily there is a way to downgrade https://support.apple.com/en-gb/HT201518 will try it out later

Let me know if you can do something. But the link that you sent me will most likely not work.

tvrrp avatar Nov 15 '20 12:11 tvrrp

I seem to undervolt just fine even after the latest update.

FMudanyali avatar Nov 15 '20 12:11 FMudanyali

I seem to undervolt just fine even after the latest update.

What is your MacBook and what is the firmware version?

I have MacBook Pro 13 late 2013 Screenshot 2020-11-15 at 15 30 15

tvrrp avatar Nov 15 '20 12:11 tvrrp

I will look at the firmware version in 2-3 hours but its a macbook pro 13 early 2015, with i5-5257U. Also you may want to remove your edit history if you can, its visible.

FMudanyali avatar Nov 15 '20 12:11 FMudanyali