crystalidea / macs-fan-control

Control fans on Apple computers
https://crystalidea.com/macs-fan-control
840 stars 97 forks source link

Zero-RPM Speeds (Switch to 'Automatic' Control below lower Threshold) #582

Open WhatIsThisAllAboutSilly opened 2 years ago

WhatIsThisAllAboutSilly commented 2 years ago

My M1 Max MBP 16" when in automatic mode (I.e. MFC not controlling the fans) sets the fan speed to zero RPM.

MFC sets a minimum of 1500 RPM.

Can a feature be implemented that allows the zero RPM mode to be enabled?

Either setting the control mode to "Auto" when below the lower temp threshold, or setting a zero RPM speed below the threshold?

Thanks!

Edit: This would be a feature that you could add to "Pro" and I would purchase after this addition.

thomam04 commented 2 years ago

I would support this feature request. I would like to be able to overwrite / change the minimum RPM setting to something lower than the system default.

E.g my Mac Studio has a minimum fan speed of 1100rpm but it's still not silent at idle / low CPU intensive workload.

kleuter commented 2 years ago

I also own a mac studio and in Auto mode the fans are always at ~1320 rpm, current workaround is setting it at 1100 (noticebly quiter)

Screenshot 2022-03-30 at 09 27 41
J-charles-C commented 2 years ago

I,

Same problem than thomam04.

Can you add this feature ?

best

shp7724 commented 2 years ago

Can I get any update on this feature request? I'm hearing the high pitch whine all the time that Mac Studio generates. Setting rpm to ~1100 helps a bit, but does not solve the issue. Would be really glad if the patch is out any time soon.

kleuter commented 2 years ago

In progress guys, first beta next week, thanks

dirkschreib commented 2 years ago

In progress guys, first beta next week, thanks

Any news?

kleuter commented 2 years ago

I'm really sorry for this delay. Please be patient, I'm going to implement later this month.

donnie-darko commented 2 years ago

I would support this feature request. I would like to be able to overwrite / change the minimum RPM setting to something lower than the system default.

E.g my Mac Studio has a minimum fan speed of 1100rpm but it's still not silent at idle / low CPU intensive workload.

I would love this new feature as far as it enable to overwrite the min RPM setting to lower than the sys default. I'm on iMac 24 M1 and here the min fan speed at idle is ~2500rpm but it's is not silent at all. I guess ~2000rpm will be much better.

Thanks!

kleuter commented 2 years ago

thanks, donnie for the idea. I also think that 2500 is too much here, will improve that somehow.

zcjerry229 commented 2 years ago

Any ETA for this one? Right now setting 1100 rpm for my Mac Studio is much quieter than 1300 rpm. Looking forward to set rpm around 800 rpm after this change.

dirkschreib commented 2 years ago

Is there any news on this feature? Do you still think it is possible to go below 1100 rpm? I‘m on my second Studio and this was initially quieter than the first one. But now the coil whine is back. Have to decide if I keep it or switch to a MacBook Pro.

shp7724 commented 2 years ago

Tired of waiting, I ended up tweaking smcFanControl and putting it into my own Alfred Workflow. (If you want to know how, just refer to the PR of the repo.)

According to my experiment, in Mac Studio, it is possible to set the fan speed to 0 rpm, or 500 rpm and above. However, after a few hours of turning the fan off, I noticed an increase of temperature up to 60°C even when idle. When set to 500 rpm or above, the coil whine did get quieter, but not silent, unfortunately. In the end, I stopped manually adjusting the fan speed and decided to get used to the coil whine.

I'm leaving this comment just in case you are curious.

kleuter commented 2 years ago

This feature is already under development, will be shipped soon as a beta.

shp7724 thanks for the follow up. 60°C is not a great deal actually. The main question is: what value should the app safely allow to set manually ? 500, 700, 900... 1000 rpm?

shp7724 commented 2 years ago

@kleuter You are right, but the fact that the heat is trapped in the body makes me worry about any potential damage it might cause in the long term.

I'm not sure what the safe limit should be. Personally I wished I could set it to 0 rpm when idle, 500 rpm on intermediate workload, 1300rpm on high workload, and so on. In fact, that's what MacBook with the same chip does already.

junxiao87 commented 2 years ago

60 ℃ would be safe for the chips.first we need the 0rpm to eliminate the whinethen we can tune the autofan control curve later. 

thomam04 commented 2 years ago

I don't think there is a need to set the fans in the Mac Studio below 900rpm. That should be completely inaudible and still save - (provides some sort of steady air flow).

@shp7724 Try to cover part of the back exhaust port. I have taped off about 2/3 (starting from the top) - which greatly reduced the fan noise. I don't have coil whine, though.

shp7724 commented 2 years ago

@thomam04 The fan noise itself isn't really a problem for me, but the whine is. It does not disappear unless the fan is completely turned off. I think that's why people are requesting for the zero rpm feature.

modemm commented 2 years ago

As I am running home recording studio, I would really appreciate to have 0 rpm option as this would be great to temporarily decrease it to zero during the take and then put it back on to let's say 500 rpm when editing and mixing I would say that even long term 60 degrees is still normal and ok. I also run mac mini 2020 with core i5 and I mostly have temps around 50-60 when idle.

KGB44 commented 2 years ago

I don't think there is a need to set the fans in the Mac Studio below 900rpm. That should be completely inaudible and still save - (provides some sort of steady air flow).

@shp7724 Try to cover part of the back exhaust port. I have taped off about 2/3 (starting from the top) - which greatly reduced the fan noise. I don't have coil whine, though.

That's wrong. A stopped Fan is M1 Max and M1 Ultra must have since the MacBook Pro, Air and MacBook is able to do that . The Fan is noisy at 1100 rpm as well as standard config 1300 rpm

KGB44 commented 2 years ago

This feature is already under development, will be shipped soon as a beta.

shp7724 thanks for the follow up. 60°C is not a great deal actually. The main question is: what value should the app safely allow to set manually ? 500, 700, 900... 1000 rpm

As I am running home recording studio, I would really appreciate to have 0 rpm option as this would be great to temporarily decrease it to zero during the take and then put it back on to let's say 500 rpm when editing and mixing I would say that even long term 60 degrees is still normal and ok. I also run mac mini 2020 with core i5 and I mostly have temps around 50-60 when idle.

This feature is already under development, will be shipped soon as a beta.

shp7724 thanks for the follow up. 60°C is not a great deal actually. The main question is: what value should the app safely allow to set manually ? 500, 700, 900... 1000 rpm?

manually allow set to "0" with a warning hint or a "professional setting"

KGB44 commented 2 years ago

Tired of waiting, I ended up tweaking smcFanControl and putting it into my own Alfred Workflow. (If you want to know how, just refer to the PR of the repo.)

According to my experiment, in Mac Studio, it is possible to set the fan speed to 0 rpm, or 500 rpm and above. However, after a few hours of turning the fan off, I noticed an increase of temperature up to 60°C even when idle. When set to 500 rpm or above, the coil whine did get quieter, but not silent, unfortunately. In the end, I stopped manually adjusting the fan speed and decided to get used to the coil whine.

I'm leaving this comment just in case you are curious.

I've downloaded smcfancontrol 2.6, but I can't regulate the fan speed on m1 max Mac studio ...

junxiao87 commented 1 year ago

Will Ver1.6 come in early of this Aug?

dirkschreib commented 1 year ago

In progress guys, first beta next week, thanks

I don‘t want to put pressure on anyone, but what happened since this quote from April? For me 1100 rpm is better than ~1300 rpm most of the time, sometimes the whine is „uglier“. I think, 0 rpm should be possible without overheating.

dirkschreib commented 1 year ago

Ok, I used the link from @shp7724 and the following four statements to silence my Mac Studio. (All the usual disclaimers apply here. Do it on your own risk. May cause overheating or whatever.) sudo ./smc -k "F0Md" -w 01 sudo ./smc -k "F1Md" -w 01 sudo ./smc -k "F0Tg" -w 00000000 sudo ./smc -k "F1Tg" -w 00000000

To turn the fans back on: sudo ./smc -k "F0Md" -w 00 sudo ./smc -k "F1Md" -w 00

KGB44 commented 1 year ago

Thanks! :) I've installed brew and smcfancontrol. It's running, but in terminal the commands are not found...

dirkschreib commented 1 year ago

I compiled it (including PR 137 for Apple Silicon support) on another Mac and copied only one file to the Mac Studio. If you installed the GUI-App in the „normal“ folder, smc should be here: /Applications/smcFanControl.app/Contents/Resources/smc

KGB44 commented 1 year ago

I compiled it (including PR 137 for Apple Silicon support) on another Mac and copied only one file to the Mac Studio. If you installed the GUI-App in the „normal“ folder, smc should be here: /Applications/smcFanControl.app/Contents/Resources/smc

Amazing. It works. What a mess that the Mac Studio isn't stopping the fans in original. It neeeeeeeds to implemented into MacsFanControl soooo much. Wow, that's silent :D

dirkschreib commented 1 year ago

I made a Swift script without any external dependencies to automatically set the rpm values based on the temperature from one sensor (currently I use TT0D i.e. the first thunderbolt port). https://github.com/dirkschreib/SilentStudio

modemm commented 1 year ago

After couple of months of mac studio ownership I can say that when doing ordinary stuff, no fan needs to be turned on. So far never exceeded temp higher than 65°C. Stable idle temperature is around 45°C, so fan does not have to even run in majority of time

dirkschreib commented 1 year ago

I‘m still testing various configurations. Currently I use „sudo ./SilentStudio.swift 0 900 57 AUTO“ and my Mac Studio has never reached 57°C. (BTW: This configuration will stay in AUTO mode forever if it is reached once. To get back to 900 rpm if temperature falls below 50°C use „sudo ./SilentStudio.swift 0 900 50 900 57 AUTO“.

KGB44 commented 1 year ago

Cool and nice work! @dirkschreib ! How I can add this script into "Autostart" with starting my Mac? Any Ideas?

dirkschreib commented 1 year ago

Have not tried to autostart this script myself, but here are a few ideas: https://superuser.com/questions/229773/run-command-on-startup-login-mac-os-x. I would probably try a bash/zsh startup script first and then configure Terminal.app to start on logon.

Anthonyzou commented 1 year ago

Zero rpm mode is helpful because I already have a fan under my MacBook for extra cooling. And it manages under 50C most of the time without the external fan.

MiroIsNot1337 commented 1 year ago

I bought Macs Fan Control hoping to tame the beast that is the Mac Studio's fan, but 1100rpm doesn't cut it for me as it is sitting only about 50cm from me on my desk. I downloaded your script. @dirkschreib but I am not clever enough to actually use it. I got as far as opening the terminal, dragging SilentStudio.swift into it, adding sudo in front of it and then... command not found.

This is what it looks like: miro@Mac-Studio ~ % sudo ./Users/miro/Desktop/SilentStudio.swift -h

The mistake is probably as obvious as the solution, but it was already an adventure for me to download the .swift file from GitHub. As you can imagine this is my first journey into the Apple ecosystem. Can someone help me or point me in the right direction?

My failed attempts for your entertainment:

Bildschirm­foto 2023-01-12 um 12 04 59
dirkschreib commented 1 year ago

I don't know to which folder you have downloaded the script. Look it up in Finder and use that path. If it is on your desktop (as shown in your attempts) you have to make it executable with "chmod +x /Users/miro/Desktop/SilentStudio.swift".

MiroIsNot1337 commented 1 year ago

Thank you, it works. This makes me so happy! Next, I'll see how I can add it to startup and how I can make sure it works after standby. I hope macs fan control will finally get the promised update to make this a bit more user-friendly, but I thank you for your script!

MiroIsNot1337 commented 1 year ago

I‘m still testing various configurations. Currently I use „sudo ./SilentStudio.swift 0 900 57 AUTO“ and my Mac Studio has never reached 57°C. (BTW: This configuration will stay in AUTO mode forever if it is reached once. To get back to 900 rpm if temperature falls below 50°C use „sudo ./SilentStudio.swift 0 900 50 900 57 AUTO“.

Apologies to bug you again. Do you have any idea why the fan turns on after standby and only quitting and restarting the script enforces my settings?

sudo /Users/miro/Library/CloudStorage/Dropbox/portable\ software/SilentStudio.swift 0 0 57 500 60 900 65 AUTO 63 900 59 500 56 0

dirkschreib commented 1 year ago

„Apple“ thinks they have shut down the fans at sleep time. So it’s natural to wake them up after sleep. ;-) I may incorporate sleep/wake detection in an app that uses SilentStudio.swift but would prefer to discuss this there and not to hijack this thread any further.

MiroIsNot1337 commented 1 year ago

You're absolutely right. I have followed you and will comment in the respective issues in your repository.

Passw0rdMayBeCompromised commented 1 year ago

Just to add my two cents, I too would would love a feature that sets the fans at 0 (or 1100 RPM) but reverts to automatic if the temperature reaches X. My Mac Studio also has the terrible whine so setting the fan to 1100 RPM solves that problem but I do not want to constantly turn the control off/on when I am launching a game or rendering something.

Basically, I want to avoid using the 1200-1500 RPM range.

Also, thanks for the App, I just bought it!

MiroIsNot1337 commented 1 year ago

You can take a look at Dirk's script. He has even turned it into an app and you can tell it exactly how to control the fan. Mine is now turned off almost all of the time and will only turn on briefly while rendering a video or similar tasks.

Passw0rdMayBeCompromised commented 1 year ago

Thanks! I might try it, if the function does get put into Macs Fan Control :)

kampfwuffi commented 1 year ago

Any updates to set Macs Fan Control to 0rpm if CPU-Temp is e.g. <60°C?

MiroIsNot1337 commented 1 year ago

I suggest you take a look at the free SilentStudio. I purchased Macs Fan Control, but the feature was never implemented. Until it's finally added, SilentStudio is the only software that can do this for you while remaining fairly user friendly (to my knowledge).

WhatIsThisAllAboutSilly commented 10 months ago

Do you have a date for 1.6? Just realised I raised this 18 months ago 😯