Popular Post vit9696 Posted August 25, 2018 Popular Post Share 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. 28 5 Link to comment Share on other sites More sharing options...
zxv Posted August 25, 2018 Share 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)? Link to comment Share on other sites More sharing options...
vit9696 Posted August 25, 2018 Author Share Posted August 25, 2018 Sensors are not a priority, and are mostly missing except CPU, Battery, and ambient light. Contributions are welcome. 1 1 Link to comment Share on other sites More sharing options...
Wppley2 Posted August 25, 2018 Share 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. Link to comment Share on other sites More sharing options...
Allan Posted August 25, 2018 Share 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 Link to comment Share on other sites More sharing options...
chemary85 Posted August 25, 2018 Share 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 Link to comment Share on other sites More sharing options...
vit9696 Posted August 25, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
cecekpawon Posted August 25, 2018 Share Posted August 25, 2018 Is there any guardian angel that let me join the party by dropping precompiled binaries here please? 3 1 Link to comment Share on other sites More sharing options...
m0no Posted August 25, 2018 Share 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 Link to comment Share on other sites More sharing options...
cecekpawon Posted August 25, 2018 Share 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 Link to comment Share on other sites More sharing options...
WinstonAce Posted August 25, 2018 Share 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 Link to comment Share on other sites More sharing options...
FredWst Posted August 25, 2018 Share 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 Link to comment Share on other sites More sharing options...
cecekpawon Posted August 25, 2018 Share 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 Link to comment Share on other sites More sharing options...
vandroiy2012 Posted August 25, 2018 Share Posted August 25, 2018 43 minutes ago, STLVNUB said: Now the 6 million dollar question Does this REPLACE FakeSMC?? Yes 5 3 Link to comment Share on other sites More sharing options...
KGP-iMacPro Posted August 25, 2018 Share 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 Link to comment Share on other sites More sharing options...
Andrey1970 Posted August 25, 2018 Share 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 Link to comment Share on other sites More sharing options...
Erroruser Posted August 25, 2018 Share Posted August 25, 2018 tryied the virtualsmc with smcprocessor an istat is not working properly as i do not see fans Link to comment Share on other sites More sharing options...
Wppley2 Posted August 25, 2018 Share 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? Link to comment Share on other sites More sharing options...
Andrey1970 Posted August 25, 2018 Share 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 3 Link to comment Share on other sites More sharing options...
Wppley2 Posted August 25, 2018 Share Posted August 25, 2018 Sorry but it stuck completly, but i whant to test. Anybody can help me?Enviado do meu iPhone usando Tapatalk Link to comment Share on other sites More sharing options...
vit9696 Posted August 25, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
Allan Posted August 26, 2018 Share 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 Link to comment Share on other sites More sharing options...
Wppley2 Posted August 26, 2018 Share Posted August 26, 2018 All working good at the moment. Thanks to the devs. Enviado do meu iPhone usando Tapatalk Link to comment Share on other sites More sharing options...
KGP-iMacPro Posted August 26, 2018 Share 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 Link to comment Share on other sites More sharing options...
Regi Yassin Posted August 26, 2018 Share Posted August 26, 2018 (edited) latest commit i got no KP, cpu sensor read correctly *i think. only the downside is my audio not working with AppleALC, all audio devices detected normally. when switched back to FakeSMC and its kexts sensor, my audio is back. Edited September 8, 2018 by Regi Yassin that was because ALC1150 driver from windows. using default driver for alc1150 in windows, got no issue anymore 1 Link to comment Share on other sites More sharing options...
Recommended Posts