macs-fan-control icon indicating copy to clipboard operation
macs-fan-control copied to clipboard

App closes when eGPU disconnected, sometimes blocks eGPU connections

Open ecc521 opened this issue 3 years ago • 4 comments

Using a Radeon RX 580 in Sonnet Breakaway Box. The eGPU (sometimes - not 100% repeatable at all. Might be related to fan control being on at that instant or something) does not successfully connect until Macs Fan Control is quit. Similarly, when the eGPU is disconnected, Macs Fan Control closes (this is fully repeatable).

Quitting Macs Fan Control, plugging in the eGPU, and restarting Macs Fan Control works, however that wouldn't seem necessary. Likewise, Macs Fan Control restarts fine after disconnecting the eGPU.

Macs Fan Control 1.5.8.1 [Qt 5.13.2] MacBookPro15,3 CPU: Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz [6 cores] macOS 10.16.0

Fans: Left side-min{2160}curr{2162}max{6000}mode{2,cpucoreavg,60,82} Right side-min{2000}curr{2009}max{6000}mode{2,cpucoreavg,60,82}

SMC sensors: TA0V () - 18.4688, 18.4688 TB0T (Battery Max) - 28.5977, 28.5977 TB1T (Battery Sensor 1) - 27.5977, 27.5977 TB2T (Battery Sensor 2) - 28.5977, 28.5977 TC0E () - 49.0234, 49.0234 TC0F () - 50.2266, 50.2266 TC0P (CPU Proximity) - 44.0625, 44.0625 TC1C (CPU Core 1) - 48, 48 TC2C (CPU Core 2) - 47, 47 TC3C (CPU Core 3) - 47, 47 TC4C (CPU Core 4) - 46, 46 TC5C (CPU Core 5) - 47, 47 TC6C (CPU Core 6) - 46, 46 TC7C () - 129, 129 TC8C () - 129, 129 TCGC (GPU PECI) - 48, 48 [H] TCMX () - 51.5625, 51.5625 TCSA () - 47, 47 TCXC (CPU PECI) - 51.5625, 51.5625 TF0S () - 4.64453, 4.64453 TG0P (GPU Proximity) - 44.75, 44.75 TGDD (GPU Diode 2) - 45, 45 [H] TGDE () - 47, 47 TGDF () - 45.7422, 45.7422 TGDG () - 45.5898, 45.5898 TGDH () - 45, 45 TH0F () - 35.1055, 35.1055 TH0X () - 35.1172, 35.1172 TH0a () - 27.0781, 27.0781 TH0b () - 28.0508, 28.0508 TH1a () - 35.1172, 35.1172 TH1b () - 28.3125, 28.3125 TM0P (Memory Proximity) - 41.9375, 41.9375 TPCD (Platform Controller Hub Die) - 46, 46 TTLD () - 28.5, 28.5 TTRD () - 28.875, 28.875 TW0P (Airport Card) - 41.4375, 41.4375 TaLC () - 29.1875, 29.1875 TaRC () - 29.75, 29.75 Th1H (Heatsink Proximity) - 44.5, 44.5 Th2H () - 45.0625, 45.0625 Tm0P () - 45.125, 45.125 Ts0P (Palm Rest) - 25.875, 25.875 Ts0S () - 36.0273, 36.0273 Ts1P () - 23.375, 23.375 Ts1S () - 34.4375, 34.4375 Ts2S () - 35.7188, 35.7188

GPUs: Intel UHD Graphics 630 - 49 Radeon Pro Vega 20 - 46

Disk drives: APPLE SSD AP1024M - 28

Path: /Applications/Macs Fan Control.app/Contents/MacOS/Macs Fan Control

Log:

[2021-01-19 00:37:28:548] [thread 38883] [app.cpp#280] Macs Fan Control 1.5.8.1 [2021-01-19 00:37:28:548] [thread 38883] [app.cpp#281] macOS 10.16.0 [2021-01-19 00:37:28:548] [thread 38883] [app.cpp#282] MacBookPro15,3 [2021-01-19 00:37:28:548] [thread 38883] [app.cpp#283] Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz [6 cores] [2021-01-19 00:37:28:548] [thread 38883] [app.cpp#284] Qt 5.13.2 [2021-01-19 00:37:28:548] [thread 38883] [app_mac.mm#135] Helper installed, version - 1.0.1 [2021-01-19 00:37:28:549] [thread 38883] [app_mac.mm#150] Current version - 1.0.1 [2021-01-19 00:37:28:549] [thread 38883] [Platform_mac_smcwrite.mm#79] open XPC connection to com.crystalidea.macsfancontrol.smcwrite [2021-01-19 00:37:28:550] [thread 38883] [Platform_mac_smcwrite.mm#150] process_command_open: OK [2021-01-19 00:37:28:550] [thread 38883] [Service.cpp#87] detectSmcFanKeySize KeyType flt [2021-01-19 00:37:28:550] [thread 38883] [Service.cpp#88] detectSmcFanKeySize KeyLen 4 [2021-01-19 00:37:28:550] [thread 38883] [Platform_mac.mm#188] getKeyInfo, the key FS! doesn't likely exist [2021-01-19 00:37:28:653] [thread 38912] [FanControl.cpp#179] initialLoadThread [2021-01-19 00:37:28:653] [thread 38912] [FanControl.cpp#125] QFanControl::loadFansFromSMC [2021-01-19 00:37:28:654] [thread 38912] [FanControl.cpp#131] Fans count - 2 [2021-01-19 00:37:28:654] [thread 38912] [FanControl.cpp#148] Fan 0: Left side [2021-01-19 00:37:28:657] [thread 38912] [FanControl.cpp#148] Fan 1: Right side [2021-01-19 00:37:28:660] [thread 38912] [FanControl.cpp#59] checkFansControlModeFromSMC [2021-01-19 00:37:28:661] [thread 38912] [TempSensorProvider.cpp#47] TempSensorDisk::loadAvailableSensors [2021-01-19 00:37:28:662] [thread 38912] [Service.cpp#56] getSMCKeysCount: 2516779008 918 [2021-01-19 00:37:28:699] [thread 38912] [Service.cpp#647] getTemperature - skipping sensor TC7C with value of 129.0 [2021-01-19 00:37:28:699] [thread 38912] [TempSensorSmc.cpp#305] FilterSupportedTempSensors - skipping sensor TC7C [2021-01-19 00:37:28:700] [thread 38912] [Service.cpp#647] getTemperature - skipping sensor TC8C with value of 129.0 [2021-01-19 00:37:28:700] [thread 38912] [TempSensorSmc.cpp#305] FilterSupportedTempSensors - skipping sensor TC8C [2021-01-19 00:37:28:715] [thread 38912] [Provider_mac.mm#18] Device hold Intel(R) UHD Graphics 630 [2021-01-19 00:37:28:718] [thread 38912] [Provider_mac.mm#18] Device hold AMD Radeon Pro Vega 20 [2021-01-19 00:37:28:720] [thread 38912] [Provider_mac_watcher.mm#84] eGPUWatcher started [2021-01-19 00:37:28:720] [thread 38912] [TempSensorGPU.cpp#74] Integrated GPU: Intel UHD Graphics 630, matching SMC - yes [2021-01-19 00:37:28:720] [thread 38912] [TempSensorGPU.cpp#91] Discrete GPU: GPU Radeon Pro Vega 20, matching SMC - yes [2021-01-19 00:37:28:722] [thread 38912] [TempSensorProvider.cpp#65] TemperatureSensorSMC::loadAvailableSensors [2021-01-19 00:37:28:722] [thread 38912] [TempSensorProvider.cpp#32] Using TC1C sensor for CPU Core average [2021-01-19 00:37:28:722] [thread 38912] [TempSensorProvider.cpp#32] Using TC2C sensor for CPU Core average [2021-01-19 00:37:28:722] [thread 38912] [TempSensorProvider.cpp#32] Using TC3C sensor for CPU Core average [2021-01-19 00:37:28:722] [thread 38912] [TempSensorProvider.cpp#32] Using TC4C sensor for CPU Core average [2021-01-19 00:37:28:722] [thread 38912] [TempSensorProvider.cpp#32] Using TC5C sensor for CPU Core average [2021-01-19 00:37:28:722] [thread 38912] [TempSensorProvider.cpp#32] Using TC6C sensor for CPU Core average [2021-01-19 00:37:28:722] [thread 38912] [TempSensorProvider.cpp#82] InitialLoadThread: number of supported SMC sensors: 20 [2021-01-19 00:37:28:722] [thread 38912] [TempSensorProvider.cpp#83] InitialLoadThread: number of supported DISK sensors: 1 [2021-01-19 00:37:28:722] [thread 38912] [TempSensorProvider.cpp#84] InitialLoadThread: number of supported GPU sensors: 2 [2021-01-19 00:37:28:723] [thread 38912] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F0Md 01 OK [2021-01-19 00:37:28:723] [thread 38912] [Service.cpp#511] Set fan 0 mode 1 [2021-01-19 00:37:28:724] [thread 38912] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F1Md 01 OK [2021-01-19 00:37:28:724] [thread 38912] [Service.cpp#511] Set fan 1 mode 1 [2021-01-19 00:37:28:768] [thread 38932] [TempSensorGPU.cpp#27] Reading of GPU temperature failed [2021-01-19 00:37:28:768] [thread 38932] [TempSensorGPU.cpp#32] Trying SMC instead [2021-01-19 00:37:30:266] [thread 38933] [SensorControl.cpp#103] Left side: HALF INCREASE ON [2021-01-19 00:37:30:266] [thread 38933] [SensorControl.cpp#108] Left side: Tendency is set to TendencyIncrease, Temperature 68, RPM=2172 [2021-01-19 00:37:30:266] [thread 38933] [SensorControl.cpp#387] Left side: Setting fan speed to 3379 [2021-01-19 00:37:30:267] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F0Md 01 OK [2021-01-19 00:37:30:267] [thread 38933] [Service.cpp#511] Set fan 0 mode 1 [2021-01-19 00:37:30:268] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F1Md 01 OK [2021-01-19 00:37:30:268] [thread 38933] [Service.cpp#511] Set fan 1 mode 1 [2021-01-19 00:37:30:269] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F0Tg 00305345 OK [2021-01-19 00:37:30:269] [thread 38933] [Service.cpp#335] setFanRPM 3379 for F0Tg [2021-01-19 00:37:30:269] [thread 38933] [SensorControl.cpp#103] Right side: HALF INCREASE ON [2021-01-19 00:37:30:269] [thread 38933] [SensorControl.cpp#108] Right side: Tendency is set to TendencyIncrease, Temperature 68, RPM=1999 [2021-01-19 00:37:30:269] [thread 38933] [SensorControl.cpp#387] Right side: Setting fan speed to 3268 [2021-01-19 00:37:30:270] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F1Tg 00404c45 OK [2021-01-19 00:37:30:270] [thread 38933] [Service.cpp#335] setFanRPM 3268 for F1Tg [2021-01-19 00:37:31:772] [thread 38933] [SensorControl.cpp#387] Left side: Setting fan speed to 2160 [2021-01-19 00:37:31:773] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F0Tg 00000745 OK [2021-01-19 00:37:31:773] [thread 38933] [Service.cpp#335] setFanRPM 2160 for F0Tg [2021-01-19 00:37:31:773] [thread 38933] [SensorControl.cpp#387] Right side: Setting fan speed to 2000 [2021-01-19 00:37:31:775] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F1Tg 0000fa44 OK [2021-01-19 00:37:31:775] [thread 38933] [Service.cpp#335] setFanRPM 2000 for F1Tg [2021-01-19 00:38:03:315] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F0Md 01 OK [2021-01-19 00:38:03:315] [thread 38933] [Service.cpp#511] Set fan 0 mode 1 [2021-01-19 00:38:03:316] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F1Md 01 OK [2021-01-19 00:38:03:316] [thread 38933] [Service.cpp#511] Set fan 1 mode 1 [2021-01-19 00:38:03:317] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F0Tg 00000745 OK [2021-01-19 00:38:03:317] [thread 38933] [Service.cpp#335] setFanRPM 2160 for F0Tg [2021-01-19 00:38:03:318] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F1Tg 0000fa44 OK [2021-01-19 00:38:03:318] [thread 38933] [Service.cpp#335] setFanRPM 2000 for F1Tg [2021-01-19 00:38:34:865] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F0Md 01 OK [2021-01-19 00:38:34:865] [thread 38933] [Service.cpp#511] Set fan 0 mode 1 [2021-01-19 00:38:34:866] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F1Md 01 OK [2021-01-19 00:38:34:866] [thread 38933] [Service.cpp#511] Set fan 1 mode 1 [2021-01-19 00:38:34:868] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F0Tg 00000745 OK [2021-01-19 00:38:34:868] [thread 38933] [Service.cpp#335] setFanRPM 2160 for F0Tg [2021-01-19 00:38:34:869] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F1Tg 0000fa44 OK [2021-01-19 00:38:34:869] [thread 38933] [Service.cpp#335] setFanRPM 2000 for F1Tg [2021-01-19 00:39:06:403] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F0Md 01 OK [2021-01-19 00:39:06:403] [thread 38933] [Service.cpp#511] Set fan 0 mode 1 [2021-01-19 00:39:06:404] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F1Md 01 OK [2021-01-19 00:39:06:404] [thread 38933] [Service.cpp#511] Set fan 1 mode 1 [2021-01-19 00:39:06:404] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F0Tg 00000745 OK [2021-01-19 00:39:06:404] [thread 38933] [Service.cpp#335] setFanRPM 2160 for F0Tg [2021-01-19 00:39:06:405] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F1Tg 0000fa44 OK [2021-01-19 00:39:06:405] [thread 38933] [Service.cpp#335] setFanRPM 2000 for F1Tg [2021-01-19 00:39:37:963] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F0Md 01 OK [2021-01-19 00:39:37:963] [thread 38933] [Service.cpp#511] Set fan 0 mode 1 [2021-01-19 00:39:37:964] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F1Md 01 OK [2021-01-19 00:39:37:964] [thread 38933] [Service.cpp#511] Set fan 1 mode 1 [2021-01-19 00:39:37:965] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F0Tg 00000745 OK [2021-01-19 00:39:37:965] [thread 38933] [Service.cpp#335] setFanRPM 2160 for F0Tg [2021-01-19 00:39:37:967] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F1Tg 0000fa44 OK [2021-01-19 00:39:37:967] [thread 38933] [Service.cpp#335] setFanRPM 2000 for F1Tg [2021-01-19 00:40:08:015] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F0Md 01 OK [2021-01-19 00:40:08:015] [thread 38933] [Service.cpp#511] Set fan 0 mode 1 [2021-01-19 00:40:08:016] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F1Md 01 OK [2021-01-19 00:40:08:016] [thread 38933] [Service.cpp#511] Set fan 1 mode 1 [2021-01-19 00:40:08:017] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F0Tg 00000745 OK [2021-01-19 00:40:08:017] [thread 38933] [Service.cpp#335] setFanRPM 2160 for F0Tg [2021-01-19 00:40:08:017] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F1Tg 0000fa44 OK [2021-01-19 00:40:08:017] [thread 38933] [Service.cpp#335] setFanRPM 2000 for F1Tg [2021-01-19 00:40:39:567] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F0Md 01 OK [2021-01-19 00:40:39:567] [thread 38933] [Service.cpp#511] Set fan 0 mode 1 [2021-01-19 00:40:39:568] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F1Md 01 OK [2021-01-19 00:40:39:568] [thread 38933] [Service.cpp#511] Set fan 1 mode 1 [2021-01-19 00:40:39:569] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F0Tg 00000745 OK [2021-01-19 00:40:39:569] [thread 38933] [Service.cpp#335] setFanRPM 2160 for F0Tg [2021-01-19 00:40:39:570] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F1Tg 0000fa44 OK [2021-01-19 00:40:39:570] [thread 38933] [Service.cpp#335] setFanRPM 2000 for F1Tg [2021-01-19 00:41:11:111] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F0Md 01 OK [2021-01-19 00:41:11:111] [thread 38933] [Service.cpp#511] Set fan 0 mode 1 [2021-01-19 00:41:11:112] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F1Md 01 OK [2021-01-19 00:41:11:112] [thread 38933] [Service.cpp#511] Set fan 1 mode 1 [2021-01-19 00:41:11:113] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F0Tg 00000745 OK [2021-01-19 00:41:11:113] [thread 38933] [Service.cpp#335] setFanRPM 2160 for F0Tg [2021-01-19 00:41:11:114] [thread 38933] [Platform_mac_smcwrite.mm#251] process_command_write: SMCWriteKey F1Tg 0000fa44 OK [2021-01-19 00:41:11:114] [thread 38933] [Service.cpp#335] setFanRPM 2000 for F1Tg [2021-01-19 00:41:16:374] [thread 38883] [Service.cpp#647] getTemperature - skipping sensor TC7C with value of 129.0 [2021-01-19 00:41:16:374] [thread 38883] [Service.cpp#647] getTemperature - skipping sensor TC8C with value of 129.0

ecc521 avatar Jan 19 '21 05:01 ecc521

This is really sad. I remember this issue when adding support for eGPU but I though I fixed at least for Razer Core X

Do you correctly eject eGPU from the menu bar?

As a workaround I can currently recommend disable listing eGPUs from Preferences.

kleuter avatar Jan 25 '21 21:01 kleuter

I did correctly eject from menu bar. Haven't made that mistake since my thunderbolt cable got knocked and blew up every app regardless of the GPU it was running on. Almost as bad as a kernel panic.

I'll try the workaround. I really couldn't care about eGPU info, as the cooling is far better than Apple (never gets too hot - 75C maxed out), and Macs Fan Control can't really do anything about it anyways.

We shall see if it works (should update somewhat soon).... Screen Shot 2021-01-25 at 5 08 37 PM

ecc521 avatar Jan 25 '21 22:01 ecc521

Can't reproduce either issue with eGPU readings disabled (not that I could ever reproduce the plug-in one consistently - probably a fluke).

ecc521 avatar Jan 26 '21 16:01 ecc521

Hello, the app still closes when disconnecting BlackMagicDesign eGPU (Radeon Pro 580), monitoring of eGPU in the app is disabled Reproducible 100%

info.txt

Dweller13 avatar Jul 23 '22 00:07 Dweller13