vit9696 1,097 Posted August 25, 2018 SMC emulator with 2nd generation SMC support. Includes some monitoring plugins as API usage examples. New plugin additions are very welcome, given that they are well-written. Source code: repository. FAQ and documentation: link. Features and configuration: link. I wish to express my deep gratitude to all the people who worked on this project with me. 29 4 xtddd, Muntashir, Allan and 30 others reacted to this Share this post Link to post Share on other sites
zxv 42 Posted August 25, 2018 It works. Though I seem to have lost GPU sensor data in iStat, as well as some temperature readings. Is there additional configuration I need to set in order get correct SMC output for my model (iMac17,1)? Share this post Link to post Share on other sites
vit9696 1,097 Posted August 25, 2018 Sensors are not a priority, and are mostly missing except CPU, Battery, and ambient light. Contributions are welcome. 1 1 ctich and gujiangjiang reacted to this Share this post Link to post Share on other sites
Wppley2 16 Posted August 25, 2018 I can't compile it with Xcode: /Users/wanderleypires/Documents/GitHub/VirtualSMC/VirtualSMC/kern_keys.cpp:10:10: 'Headers/kern_time.hpp' file not found. Sorry if it is a newbie question. Share this post Link to post Share on other sites
Allan 5,177 Posted August 25, 2018 Very nice!! Thank you @vit9696 EDIT: And all the necessary info about the Battery are showing at the right way. The only thing that I've worried about is the temp of my SSD. 1 JorgeMax reacted to this Share this post Link to post Share on other sites
chemary85 17 Posted August 25, 2018 I Got a KP using SMCProcessor, if i remove it, works perfect. If you need something log to see it, please say it to me. Thanks you @vit9696 Share this post Link to post Share on other sites
vit9696 1,097 Posted August 25, 2018 Hi, Probably some MSR register is not available on your CPU. To know which please provide a usual panic log (a screenshot would do too). keepsyms=1 -v debug=0x100 boot-args are your friends. If you go with a screenshot, make sure you add a kernel patch to avoid kext list printing (https://applelife.ru/posts/686953) and make sure the stack trace is clearly visible. Also, use the debug binaries of both SMCProcessor and VirtualSMC and attach your compiled binaries, since there currently are no official releases to compare the offsets against. Also, include the output of the following command in terminal: sysctl machdep Share this post Link to post Share on other sites
cecekpawon 941 Posted August 25, 2018 Is there any guardian angel that let me join the party by dropping precompiled binaries here please? 3 1 Matgen84, Badruzeus, gujiangjiang and 1 other reacted to this Share this post Link to post Share on other sites
m0no 12 Posted August 25, 2018 39 minutes ago, cecekpawon said: Is there any guardian angel that let me join the party by dropping precompiled binaries here please? Here. 2 1 Home33, Matgen84 and gujiangjiang reacted to this Share this post Link to post Share on other sites
cecekpawon 941 Posted August 25, 2018 (edited) Muchas gracias @m0no Booted fine with Ozmosis. But my "Mac-F60DEB81FF30ACF6" isnt there yet, IDK if everything is corrected. I guess I need to wait for g00d contributors to fill the datas for that board-id LOL. Kudos to author! Edited August 25, 2018 by cecekpawon Ozmosis report Share this post Link to post Share on other sites
WinstonAce 74 Posted August 25, 2018 Hi Do we need to use efi driver+kext? or is one of them is enough? I don't use sensors at all thanks Share this post Link to post Share on other sites
FredWst 379 Posted August 25, 2018 12 minutes ago, WinstonAce said: Hi Do we need to use efi driver+kext? or is one of them is enough? I don't use sensors at all thanks You need both. Fred Share this post Link to post Share on other sites
STLVNUB 424 Posted August 25, 2018 Now the 6 million dollar question Does this REPLACE FakeSMC?? 4 gassanov, Muntashir, Allan and 1 other reacted to this Share this post Link to post Share on other sites
cecekpawon 941 Posted August 25, 2018 According to FAQ (thanks to Applelife), efi driver need to wotk with FileVault https://github.com/acidanthera/VirtualSMC/blob/master/Docs/FAQ.md#what-are-the-requirements 2 1 gujiangjiang, xtddd and gassanov reacted to this Share this post Link to post Share on other sites
vandroiy2012 342 Posted August 25, 2018 43 minutes ago, STLVNUB said: Now the 6 million dollar question Does this REPLACE FakeSMC?? Yes 5 3 Un!x, ammoune78, gassanov and 5 others reacted to this Share this post Link to post Share on other sites
KGP-iMacPro 281 Posted August 25, 2018 (edited) Congrats to the authors! However, a.) seems not to properly compile under 10.14, Xcode 10 (repetitive nasm, mtoc, etc. errors discussed and already fixed along the IM Build_Clover.command thread) b.) Processor kext not compatible with Skylake-X (KP) c.) No X299 onboard sensor data d.) No ATI/Nvidia GPU Sensor data below I provide a link to the latest working FakeSMC Skylake-X/X299 HWSensor distribution, in case that this helps... https://github.com/interferenc/HWSensors Cheers, KGP Edited August 25, 2018 by KGP-iMacPro 1 gujiangjiang reacted to this Share this post Link to post Share on other sites
Andrey1970 145 Posted August 25, 2018 (edited) 11 hours ago, Allan said: Very nice!! Thank you @vit9696 EDIT: And all the necessary info about the Battery are showing at the right way. The only thing that I've worried about is the temp of my SSD. Do not use HWMonitor with VirtualSMC, correct data are not guaranteed. HWMonitor only for FakeSMC. Use iStat Menus. Edited August 25, 2018 by Andrey1970 1 1 Allan and xtddd reacted to this Share this post Link to post Share on other sites
errorexists 5 Posted August 25, 2018 tryied the virtualsmc with smcprocessor an istat is not working properly as i do not see fans Share this post Link to post Share on other sites
Wppley2 16 Posted August 25, 2018 Hi all! I've managed to build the kexts, but hen I install it in EFI/CLOVER/KEXTS it stuck on dependency. We have to install VirtualSMC in S/L/E? Share this post Link to post Share on other sites
Andrey1970 145 Posted August 25, 2018 (edited) 58 minutes ago, Wppley2 said: We have to install VirtualSMC in S/L/E? No. 1 hour ago, errorexists said: tryied the virtualsmc with smcprocessor an istat is not working properly as i do not see fans At present time there are only CPU, battery and ambient light sensors. For frequency show, install Intel® Power Gadget Edited August 25, 2018 by Andrey1970 2 Allan and errorexists reacted to this Share this post Link to post Share on other sites
Wppley2 16 Posted August 25, 2018 Sorry but it stuck completly, but i whant to test. Anybody can help me?Enviado do meu iPhone usando Tapatalk Share this post Link to post Share on other sites
vit9696 1,097 Posted August 25, 2018 (edited) I committed a change that is supposed to fix kernel panics with SMCProcessor.kext. Regarding boot issues, I strongly recommend to read the instructions before using any software. https://github.com/acidanthera/VirtualSMC/blob/master/Docs/FAQ.md#what-are-the-requirements dart=0 could be related, I am still looking for a better workaround for this bug. Also, regarding HWMonitor, it is not like it should not be used, but rather it needs to be updated to properly handle SMC keys according to Apple docs found in libSMC.dylib. Some details may be found in: https://github.com/acidanthera/VirtualSMC/blob/master/Docs/SensorInfo.md#recommendations UPD: Committed a change to fix hangs without dart=0 on 10.12. Edited August 25, 2018 by vit9696 8 1 nikitenich, vandroiy2012, ctich and 6 others reacted to this Share this post Link to post Share on other sites
Allan 5,177 Posted August 26, 2018 11 hours ago, Andrey1970 said: Use iStat Menus. Thank you 7 hours ago, vit9696 said: Also, regarding HWMonitor, it is not like it should not be used, but rather it needs to be updated to properly handle SMC keys according to Apple docs found in libSMC.dylib. HWMonitor devs, turn on your machines Share this post Link to post Share on other sites
Wppley2 16 Posted August 26, 2018 All working good at the moment. Thanks to the devs. Enviado do meu iPhone usando Tapatalk Share this post Link to post Share on other sites
KGP-iMacPro 281 Posted August 26, 2018 (edited) 11 hours ago, vit9696 said: I committed a change that is supposed to fix kernel panics with SMCProcessor.kext. Regarding boot issues, I strongly recommend to read the instructions before using any software. https://github.com/acidanthera/VirtualSMC/blob/master/Docs/FAQ.md#what-are-the-requirements dart=0 could be related, I am still looking for a better workaround for this bug. Also, regarding HWMonitor, it is not like it should not be used, but rather it needs to be updated to properly handle SMC keys according to Apple docs found in libSMC.dylib. Some details may be found in: https://github.com/acidanthera/VirtualSMC/blob/master/Docs/SensorInfo.md#recommendations UPD: Committed a change to fix hangs without dart=0 on 10.12. Thanks for the fix, @vit9696! Appreciated! My Skylake-X/X299 i9-7980XE (18 core)/ASUS Prime X299 Deluxe system now successfully boots without boot flag dart=0 and with all 3 sensor kexts included (no further KPs)... However, still there seems to exist an issue with the sensor kext information or with the interface to iStat Menus... Let's just focus on the CPU sensor information, as there are anyway no sensor kexts yet for providing e.g. GPU and X299 onboard information: All I see under sensors.. ..is the average CPU Frequency, while the "average" CPU Temp always remains 0.. There is no information about CPU cores and heatsink temps, CPU cores and package frequencies , CPU cores and package multipliers or CPU Package power consumption, when compared with @interferenc 's perfectly working FakeSMC and HWSensor kext distribution. Evidently, as yet there are no kexts for displaying GPU, onboard, memory or PSU properties, I am also missing information on CPU, RAM and PSU voltage and power consumption, fan rotation or GPU and mainboard temps.. Only thing currently working in iStat Menus is the delivered information on CPU thread utilisation, which is properly displayed for all 36 threads.. although the latter also might be provided without adding any CPU sensor kext distribution.. I really hope that @interferenc's FakeSMC and HWSensor kext distribution linked in post might be of help for providing complete and correct sensor information also with your current and novel VirtualSMC distribution.. Edited August 26, 2018 by KGP-iMacPro Share this post Link to post Share on other sites