Contribute
Register

[GUIDE] Injection of AMD Vega Power and Fan Control Properties

Any ide how to get temp readings on Radeon VII on Catalina by using VirtualSMC.kext?


@iLikeHackintosh,

VirtualSMC is currently missing a lot of sensor keys but work is being done to add more, maybe the next release will improve things. For now you can try using the HWSensors3 method as described in the guide in post #1.


You will have to remove the VirtualSMC kext and replace with the FakeSMC kext included in the HWSensors3 archive don't forget that you will also have to install the SMChelper.efi driver in place of VirtualSMC.efi in /EFI/Clover/drivers/UEFI.

Do not install the RadeonMonitor sensor kext, instead use the IOAccelerator option in the settings as per the guide.

This method gets the temp reading directly from the MacOS driver and does not relay on a sensor driver, you can test that this will work prior to installing HWSesnors3 by executing the following terminal command :-

Code:
ioreg -l |grep \"PerformanceStatistics\" | cut -d '{' -f 2 | tr '|' ',' | tr -d '}' | tr ',' '\n'|grep 'Temp\|Fan\|Power'


If you get the temp reading reported in the output then using HWMonitorSMC2 will work.

Cheers
Jay
 
Last edited:
You will have to remove the VirtualSMC kext and replace with the FakeSMC kext included in the HWSensors3 archive don't forget that you will also have to install the SMChelper.efi driver in place of VirtualSMC.efi in /EFI/Clover/drivers/UEFI.

Do not install the RadeonMonitor sensor kext, instead use the IOAccelerator option in the settings as per the guide.

Thx! I will try!
 
Hi @jaymonkey

I followed your suggestions and guidlines from first post to get readings.

I get all readings, except GPU temp etc.

Code:
ioreg -l |grep \"PerformanceStatistics\" | cut -d '{' -f 2 | tr '|' ',' | tr -d '}' | tr ',' '\n'|grep 'Temp\|Fan\|Power'
"Fan Speed(%)"=0
"Fan Speed(RPM)"=0
"Temperature(C)"=0
"Total Power(W)"=0

191213-0001.jpg



Interesting is, that I found one package of drivers, which gives Radeon VII temp reading, but no fans etc for system. So somehow should be possible to read Radeon VII temps for sure.

191213-0002.jpg


But I don't have a glue how I could use it with HWSensors3.
 

Attachments

  • RadeonVII_FakeSMC_Package.zip
    147.6 KB · Views: 75
I followed your suggestions and guidlines from first post to get readings. I get all readings, except GPU temp etc.


@iLikeHackintosh,

Hummm that is odd, the terminal command should have worked .....

I don't Have Radeon VII so don't really know what else to suggest. .... sorry.

Cheers
Jay
 
Last edited:
Hello Jaymonkey,

Try using the PowerPlayTable method.
I created the kext file with VGTab, and then modified it based on the excell file provided by a user of this post, so that I can tell when the fans connect, and disconnect.
Apparently everything works fine, temperatures, clock, fan, etc.

After some use I realized that the memory was stuck at 920MHZ.
Restarting the mac is fine, but then back.

I put the original back in, and the same happens, staying now at 800MHZ.

Any idea?

Hardware: Z97X UD5H, I7 4790K, Vega 56 Pulse 8GB + IGPU HD4600
OS: 10.15.4

Boot: OpenCore 0.5.6
Lilu 1.4.2; AppleALC 1.4.7; WhateverGreen 1.3.7, VirtualSMC 1.1.1
Device Properties:

A7020801005C00EF0600000E2C00001B004800000080A90300F0490200320008000000000000000000000000000002015C004002370294008F01B4001E017A008C00AD010000000063020000900099025E0134018801683602007102020200000000000008000000000000000500070003000500000000000000010820038403B603E8031A044C0410042E040101E80301018403000660EA0000004019010001DC4A010002007701000390910100056CB00100070108D04C01000000800000000000001C83010001000000000000000088BC0100020000000000000000B4EF010003000000000000000080000200040000000000000000C83F02000500000000010000006458020006000000000100000038890200070000000001000000000460EA0000004019010000DC4A010000905F0100000008286E0000002CC9000001F80B0100028038010003905F010004F491010005D0B0010006C0D401000700086C39000000245E000001FC85000002ACBC00000334D0000004686E0100050897010006ECA30100070001683C01000001043C41000000000050C3000000000070110100010000606701000200000108009885000040B5000060EA000050C300000180BB000060EA0000940B010050C300000278FF000040190100B427010050C3000003B4270100DC4A0100DC4A010050C300000480380100905F0100DC4A010050C3000005DC4A010000770100905F010050C30000060077010000770100905F010050C300000700770100909101000077010050C300000118000000000000000BE4120807AC0D37001D0054039001900190019001900190019001012D00320002002307A500A500A5002C010000590069004A004A005F007300730064004000909297609600905500000000000000000000000000000000000202D4300000021060EA00000210

I notice in particular, when I use Youtube in Safari, as soon as it automatically changes video, it is immediately 800MHZ and does not come out, just restarting.
 

Attachments

  • Screenshot 2020-03-29 at 16.48.09.png
    Screenshot 2020-03-29 at 16.48.09.png
    195.6 KB · Views: 88
Last edited:
Hello Jaymonkey,

Try using the PowerPlayTable method.
I created the kext file with VGTab, and then modified it based on the excell file provided by a user of this post, so that I can tell when the fans connect, and disconnect.
Apparently everything works fine, temperatures, clock, fan, etc.

After some use I realized that the memory was stuck at 920MHZ.
Restarting the mac is fine, but then back.

I put the original back in, and the same happens, staying now at 800MHZ.

Any idea?

Hardware: Z97X UD5H, I7 4790K, Vega 56 Pulse 8GB + IGPU HD4600
OS: 10.15.4

Boot: OpenCore 0.5.6
Lilu 1.4.2; AppleALC 1.4.7; WhateverGreen 1.3.7, VirtualSMC 1.1.1
Device Properties:

A7020801005C00EF0600000E2C00001B004800000080A90300F0490200320008000000000000000000000000000002015C004002370294008F01B4001E017A008C00AD010000000063020000900099025E0134018801683602007102020200000000000008000000000000000500070003000500000000000000010820038403B603E8031A044C0410042E040101E80301018403000660EA0000004019010001DC4A010002007701000390910100056CB00100070108D04C01000000800000000000001C83010001000000000000000088BC0100020000000000000000B4EF010003000000000000000080000200040000000000000000C83F02000500000000010000006458020006000000000100000038890200070000000001000000000460EA0000004019010000DC4A010000905F0100000008286E0000002CC9000001F80B0100028038010003905F010004F491010005D0B0010006C0D401000700086C39000000245E000001FC85000002ACBC00000334D0000004686E0100050897010006ECA30100070001683C01000001043C41000000000050C3000000000070110100010000606701000200000108009885000040B5000060EA000050C300000180BB000060EA0000940B010050C300000278FF000040190100B427010050C3000003B4270100DC4A0100DC4A010050C300000480380100905F0100DC4A010050C3000005DC4A010000770100905F010050C30000060077010000770100905F010050C300000700770100909101000077010050C300000118000000000000000BE4120807AC0D37001D0054039001900190019001900190019001012D00320002002307A500A500A5002C010000590069004A004A005F007300730064004000909297609600905500000000000000000000000000000000000202D4300000021060EA00000210

I notice in particular, when I use Youtube in Safari, as soon as it automatically changes video, it is immediately 800MHZ and does not come out, just restarting.

if you're not trying to OverClock your card, really no reason to use VGtab since the fans function correctly now with out it. In addition the fans on the GPU you have are controlled by the Vbios not the OS.
 
if you're not trying to OverClock your card, really no reason to use VGtab since the fans function correctly now with out it. In addition the fans on the GPU you have are controlled by the Vbios not the OS.
I apologize for my bad English. I didn't explain myself well.
I intend to overclock, of course, but through the VGTab app I felt that at the fan level, it didn't work the best way. So I solved the PowerPlayTable mode directly in OpenCore, with adjustments for the fan control that apparently worked perfectly.
This question of mine is related to the fact that the memory gets stuck at 920MHZ, even in iddle. I put the stock plate back on just to see if it had anything to do with the configuration, but no, it stays the same.
I notice when I have a video running on youtube in the background, and when that same video ends and moves on to the next one, the memory goes up to the maximum and is always stuck there.
Does that happen to you too? Is it a 10.15.4 bug?
 
I found the problem.
I was using shikigva=128, which activates the H265 by hardware on VEGA on VideoProc. It turns out that whenever I watch a video, the memory gets stuck at 920MHZ, and it only goes back down when I watch another video, but as soon as I turn it off it goes back to 920MHZ.
Is this normal? Does it also happen to you?
Now I put shikigva=16, and I lost H265, remaining only with H264 through the IGPU HD4600, but I no longer have any problems with VEGA you lock the memory in the 920MHZ.
What shikigva do they use?
 
What shikigva do they use?


@uran0s,

On my Haswell system (see White Knight build in my sig for spec) i use SHIKIGVA=16, HD 4600 IGPU is configured as headless and the system is running with the iMac15,1 SMBIOS.

If you want to force all video processing through the Vega GPU then you could try the iMacPro1,1 workaround detailed in the guide here :-


Cheers
Jay
 
On my Haswell system (see White Knight build in my sig for spec) i use SHIKIGVA=16, HD 4600 IGPU is configured as headless and the system is running with the iMac15,1 SMBIOS.
And which you recommended?

ImacPro 1.1 Smbios with GPU only, or Imac 15.1 GPU + IGPU with SHIKIGVA = 16??
 
Back
Top