We have discontinued this forum and moved support tickets to the GitHub issue tracker. More info

Macs Fan Control eat 100% CPU in Parallels Desktop

Control fans on Apple hardware: iMacs, Macbooks, etc

Moderator: Steven

Post Reply
ai_enabled
Posts: 8
Joined: 10 Aug 2014, 06:01

Macs Fan Control eat 100% CPU in Parallels Desktop

Post by ai_enabled »

Hello! I'm a big fun of the Macs Fan Control. Successfully use it for 6+ months, but it still contains one very annoying issue I want to report.
I'm using the Windows 8 installed on the Boot Camp partition, and also I'm using into the Virtual Machine with the Parallels Desktop 9.
The Macs Fan Control configured to auto-launch when I login into the Windows. When this happens under the Parallels Desktop 9, the Macs Fan Control start consuming one CPU core on 100% constantly (and it's not easy to kill its process by the Task Manager). It creates unnecessary energy consumption and significant production of an extra heat.
Could you fix this issue please?
Regards!
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: Macs Fan Control eat 100% CPU in Parallels Desktop

Post by Steven »

ai_enabled
Hello,

Does it actually start? Or the process just consumes 100% CPU and nothing happens?
Notice that Virtual Machine is different environment. Try running the app when rebooting to Boot Camp.
ai_enabled
Posts: 8
Joined: 10 Aug 2014, 06:01

Re: Macs Fan Control eat 100% CPU in Parallels Desktop

Post by ai_enabled »

Steven wrote:ai_enabled
Hello,

Does it actually start? Or the process just consumes 100% CPU and nothing happens?
Notice that Virtual Machine is different environment. Try running the app when rebooting to Boot Camp.
Sorry for late answer. Yes, application start up, the Main Window is responsive, but one CPU core is loaded on 100% (I have 8 cores (4 cores with HT), so screenshot displays 13% loading, but actually it's full loading of one core). And the taskbar icon (near clocks) is not responsive (so if I want to stop this application, I need to use Task Manager).
Image
Under BootCamp everything works flawlessly. Problem exists only when I load it with Parallels Desktop. This behavior is not expected - application should not eat CPU in any case.
Maybe I can do some kind of debug dump to help you determine exactly what method uses CPU?
Regards!
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: Macs Fan Control eat 100% CPU in Parallels Desktop

Post by Steven »

ai_enabled
please post technical information from the About dialog.
ai_enabled
Posts: 8
Joined: 10 Aug 2014, 06:01

Re: Macs Fan Control eat 100% CPU in Parallels Desktop

Post by ai_enabled »

Result:

Code: Select all

Macs Fan Control 1.1.12.1, MacBookPro11,3, Windows 8.1

Fans:
Left side-min{0}curr{-1}max{0}mode{}
Right side-min{0}curr{-1}max{0}mode{}


TempSensors:
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: Macs Fan Control eat 100% CPU in Parallels Desktop

Post by Steven »

ai_enabled
It means that SMC is not emulated and not working in virtual environment.
MFC will work only after reboot to Boot Camp.
ai_enabled
Posts: 8
Joined: 10 Aug 2014, 06:01

Re: Macs Fan Control eat 100% CPU in Parallels Desktop

Post by ai_enabled »

Steven, I totally agree with you. But the problem is that MFC start eating CPU instead of notification of user that MFC cannot function in virtual environment.
MFC is starting automatically. It's good for BootCamp, but if me (or any other customer) start Windows sometimes also under virtual machine - MFC only generates extra heat and serious battery usage by no valid reason. Can you fix that?
Regards!
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: Macs Fan Control eat 100% CPU in Parallels Desktop

Post by Steven »

ai_enabled
Well, yes, that can be improved.

Try running the app in virtual environment with /log parameter please. And show me the log.
ai_enabled
Posts: 8
Joined: 10 Aug 2014, 06:01

Re: Macs Fan Control eat 100% CPU in Parallels Desktop

Post by ai_enabled »

Code: Select all

INFO  2014-08-17T22:32:56.889 .\app.cpp @ 168 "Macs Fan Control 1.1.12.1, Windows 8.1, MacBookPro11,3, Qt 5.3.1" 
INFO  2014-08-17T22:32:56.889 .\smc_win.cpp @ 50 "QSmcControlWin::Open: Using Apple driver" 
INFO  2014-08-17T22:32:56.920 .\FanControl.cpp @ 395 "QFanControl::Init" 
INFO  2014-08-17T22:32:56.920 .\FanControl.cpp @ 409 "QFanControl::Init - LoadCachedFansAndTempSensors" 
INFO  2014-08-17T22:32:56.920 .\FanControl.cpp @ 414 "QFanControl::Init - FilterSupportedTempSensors" 
ERROR 2014-08-17T22:33:18.865 .\smc_win.cpp @ 127 "OS_ReadKey failed!" 
WARN  2014-08-17T22:33:18.865 .\FanControl.cpp @ 322 "FilterSupportedTempSensors - skipping sensor TW0P with value of -1" 
ERROR 2014-08-17T22:33:40.684 .\smc_win.cpp @ 127 "OS_ReadKey failed!" 
WARN  2014-08-17T22:33:40.684 .\FanControl.cpp @ 322 "FilterSupportedTempSensors - skipping sensor TB1T with value of -1" 
ERROR 2014-08-17T22:34:02.596 .\smc_win.cpp @ 127 "OS_ReadKey failed!" 
WARN  2014-08-17T22:34:02.596 .\FanControl.cpp @ 322 "FilterSupportedTempSensors - skipping sensor TB2T with value of -1"
After that I forcibly stop MFC process with Task Manager because it cannot be stopped any other way.
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: Macs Fan Control eat 100% CPU in Parallels Desktop

Post by Steven »

ai_enabled
OK, thanks.

Unfortunately I didn't a find (in Google) a proper way to detect running under Parallels. Do you know one?
Post Reply