Coder Social home page Coder Social logo

Comments (9)

rfourneret avatar rfourneret commented on July 28, 2024

I upgaded to monterey, installed appropriate version of turboma and its the same

Last login: Wed Dec 27 11:40:54 on console

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit https://support.apple.com/kb/HT208050.
iMac:~ tv$ kextstat | grep TurboMac
Executing: /usr/bin/kmutil showloaded
No variant specified, falling back to release
172 0 0xffffff7f9ac67000 0x1000 0x1000 calasanmarko.TurboMac (1.0.0d1) D364749F-2160-3AE7-8381-7E3CBCF40418 <6 3>
iMac:~ tv$

from turbomac.

rfourneret avatar rfourneret commented on July 28, 2024

Funny thing is that if I start the mac with the following steps, i get my processor on full speed again but the fan get crazy and can't be controlled with mac fans control (like the smc is totally off).

Unplug the power cord (imac)
Hold power button for 10ish seconds
Plug the power cord back while still holding the power button and keep if for 10 more seconds.

This is the method i used before knowing your program, which still showed reduced speed in intel power gadget but reduced clutter a lot (without this the machine was not usable). I had the fan completly disconnected and it was not heating at all.

In combination with turbomac this makes power gadget read full speed :

image

from turbomac.

rfourneret avatar rfourneret commented on July 28, 2024

Another thing I notice is that after waking up from sleep the CPU will go to 2,7ghz for a brief moment before going back to 1,6ghz.

Any idea of how to fix this, i'd really like to get this mac normal again.

Capture d’écran 2023-12-28 à 12 36 10

from turbomac.

calasanmarko avatar calasanmarko commented on July 28, 2024

I unfortunately no longer have an Intel Mac, so I can't really test out and push new builds of this extension in the near future. What we can do is examine the values of the relevant MSRs, which you can find in section 2.1 of Volume 4 of the Intel Software Developer's Manual, and tinker with them using VoltageShift until we get a working configuration.

To start with, let's read the value of the 0x1A0 MSR, corresponding to IA32_MISC_ENABLE, to see which capabilities are currently turned on for your processor. Once you install VoltageShift, try running

voltageshift read 0x1a0

And reply with the results, I'll do my best to help you out.

from turbomac.

rfourneret avatar rfourneret commented on July 28, 2024

hey i just found the solution using voltageshift

image image

I'm gonna do more figuring out and let you know.

from turbomac.

rfourneret avatar rfourneret commented on July 28, 2024

I unfortunately no longer have an Intel Mac, so I can't really test out and push new builds of this extension in the near future. What we can do is examine the values of the relevant MSRs, which you can find in section 2.1 of Volume 4 of the Intel Software Developer's Manual, and tinker with them using VoltageShift until we get a working configuration.

To start with, let's read the value of the 0x1A0 MSR, corresponding to IA32_MISC_ENABLE, to see which capabilities are currently turned on for your processor. Once you install VoltageShift, try running

voltageshift read 0x1a0

And reply with the results, I'll do my best to help you out.

0x1A0 reads hex 840089

from turbomac.

rfourneret avatar rfourneret commented on July 28, 2024

So i read my value of 0x1FC, replaced it by same binary but last digit changed to 0 and it gets me full speed in one command

I made a .sh file to run on startup and it does the trick for me, the mac is back on full speed at startup with no intervention :)

It would be a bit of a security issue as i have my password in clear in the file but on this machine i don't really care.

from turbomac.

calasanmarko avatar calasanmarko commented on July 28, 2024

Ah, I see the problem.

wrmsr64(0x1FC, rdmsr64(0x1FC) ^ 1);

The extension actually does turn off this bit, referring to BD_PROCHOT, but I've mistakenly placed it in the if that only executes when the CPU supports SpeedShift (6th gen and above), whereas it should get turned off every time.

It's a very quick fix in code, but I don't have an Intel Mac to rebuild the kext on. I'll get back to you once I borrow someone else's Intel Mac.

from turbomac.

rfourneret avatar rfourneret commented on July 28, 2024

Yeah that's it. I can live with my voltageshift script in the meantime.

CPU speed seems to go back to 1.6ghz after a long sleep but it's easy to just run the script again if i need power (it's a media player so it's actually fine on 1.6ghz).

I'm availlable to test if you manage to compile the new code.

from turbomac.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.