Contribute
Register

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

Joined
Dec 10, 2018
Messages
51
Motherboard
Z370 AORUS Gaming 7
CPU
i7-8700K
Graphics
Vega 56
Classic Mac
  1. Portable
Mobile Phone
  1. Android
Hello, I have the opposite behavior. With iMacPro1,1 after boot i have 800MHz and when i play video on the You Tube it drops to 500MHz. After video was closed, it jumps back to 800MHz. It starts acting like that from Catalina 10.15.3. Weird.
@darthsian where and how do you see this data?
 
Joined
Oct 30, 2013
Messages
45
Motherboard
SYWZ S200 (aka eGlobal S200 box)
CPU
i7-8850H
Graphics
UHD 630
Mac
  1. MacBook Pro
Classic Mac
  1. PowerBook
  2. SE
  3. Xserve
  4. SE/30
Mobile Phone
  1. iOS
Followed the guide on first page of thread, ond browsed the thread a bit.
I have a compact i7-8850H based eGlobal S200, connected a 5600 XT through a NVMe -> PCIe x4 adapter. Works great in Windows. But gaming in OS X and it crashed with hot graphics card with slow spinning fans. Running 10.15.3

I used the auto-tool to inject adjusted values in my config.plist and changed the path to match the PCI 0,6,0 stuff I found in Windows, and the new properties are together with all the other 5600 XT properties. So PCI path is correct.

But, HWMonitor2 shows only VRAM, used VRAM, and Utilization. All other values are 0. So something wrong. How do I get the system to monitor the temps and fan ?

PS: I have no IOAccelerator option in HWMonitor2, only IOKit monitoring, and it does not change anything
 

Gigamaxx

Moderator
Joined
May 15, 2016
Messages
6,566
Motherboard
GIGABYTE X470 Arous Gaming 7 WiFi
CPU
Ryzen R9 3900X
Graphics
RX 480
Mac
  1. iMac
Followed the guide on first page of thread, ond browsed the thread a bit.
I have a compact i7-8850H based eGlobal S200, connected a 5600 XT through a NVMe -> PCIe x4 adapter. Works great in Windows. But gaming in OS X and it crashed with hot graphics card with slow spinning fans. Running 10.15.3

I used the auto-tool to inject adjusted values in my config.plist and changed the path to match the PCI 0,6,0 stuff I found in Windows, and the new properties are together with all the other 5600 XT properties. So PCI path is correct.

But, HWMonitor2 shows only VRAM, used VRAM, and Utilization. All other values are 0. So something wrong. How do I get the system to monitor the temps and fan ?

PS: I have no IOAccelerator option in HWMonitor2, only IOKit monitoring, and it does not change anything
You may want to check into this thread.
 
Joined
Oct 30, 2013
Messages
45
Motherboard
SYWZ S200 (aka eGlobal S200 box)
CPU
i7-8850H
Graphics
UHD 630
Mac
  1. MacBook Pro
Classic Mac
  1. PowerBook
  2. SE
  3. Xserve
  4. SE/30
Mobile Phone
  1. iOS
You may want to check into this thread.
Added the stuff from there. Still no temp and fan speed.

hwmlpconfig shows this output if important:
```
hwmlcpconfig v1.2 by vector sigma, 2020
Super IO Chip = Unknown
OEM Vendor = SYWZ
OEM Board = S200 Series

SMCSuperIO not found.
```

tried replacing fakeSMC with virtualSMC.
still the same
 
Last edited:
Joined
Jun 18, 2015
Messages
99
Motherboard
Gigabyte Z390 Aorus Master
CPU
i9-9900K
Graphics
RX 6900 XT
@darthsian where and how do you see this data?
Im using this app - HWMonitorSMC2
For showing GPU information you need to do this:
  • go the preferences and enable "Use the IOKit monitoring for GPUs" and the app will start using the PerformancesStatistics, under the IOAccelerator class in the IO, to retrieve informations about graphics cards.
 
Joined
Nov 10, 2016
Messages
12
Motherboard
Asrock Rack C422 WSI/IPMI
CPU
W-2140b
Graphics
Vega 56
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Injection of Device Properties for Power and Fan control
Last updated 14th May 2019


Thank you for the detailed guide. I tried to inject the Devices/Properties field in clover but with no luck. The minimal example I have is
Code:
<key>Devices</key>
<dict>
    <key>Properties</key>
    <dict>
    <key>PciRoot(0x2)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)</key>
    <dict>
    <key>AAPL,slot-name</key>
    <string>Slot-1</string>
    <key>ATY,FamilyName</key>
    <string>Radeon Pro</string>
    <key>PP_DisableClockStretcher</key>
    <integer>1</integer>
    <key>PP_DisablePowerContainment</key>
    <integer>1</integer>
    <key>PP_PhmSoftPowerPlayTable</key>
    <data>
    pwIIAQBcAO8GAAAOLAAAGwBIAAAAgKkDAPBJAgAUAAgA
    AAAAAAAAAAAAAAAAAAIBXABAAjcClACPAbQAHgF6AIwA
    rQEAAAAAYwIAAJAAmQJeATQBiAFoNgIAcQICAgAAAAAA
    AAgAAAAAAAAABQAHAAMABQAAAAAAAAABCCADUgNrA4QD
    mAOsA8ADzwMBAbYDAQGEAwAGYOoAAABAGQEAAdxKAQAC
    AHcBAAOQkQEABWywAQAHAQjQTAEAAACAAAAAAAAAGHMB
    AAEAAAAAAAAAAHS3AQACAAAAAAAAAACE3gEAAwAAAAAA
    AAAAlAUCAAQAAAAAAAAAAKQsAgAFAAAAAAEAAAC0UwIA
    BgAAAAABAAAAAHECAAcAAAAAAQAAAAAEYOoAAABAGQEA
    ANxKAQAAkF8BAAAACChuAAAALMkAAAH4CwEAAoA4AQAD
    kF8BAAT0kQEABdCwAQAGwNQBAAcACGw5AAAAJF4AAAH8
    hQAAAqy8AAADNNAAAARobgEABQiXAQAG7KMBAAcAAWg8
    AQAAAQSAOAEAAAAAgDgBAAAAAIA4AQABAACQXwEAAgAA
    AQgAmIUAAEC1AABg6gAAUMMAAAGAuwAAYOoAAJQLAQBQ
    wwAAAnj/AABAGQEAtCcBAFDDAAADtCcBANxKAQDcSgEA
    UMMAAASAOAEAkF8BANxKAQBQwwAABdxKAQAAdwEAkF8B
    AFDDAAAGAHcBAAB3AQCQXwEAUMMAAAcAdwEAkJEBAAB3
    AQBQwwAAARgAAAAAAAAAC4gT6AMoCkYACgBUA5ABkAGQ
    AZABkAGQAZABAAAAAAACCjEHpQClAKUALAEAAFkAaQBK
    AEoAXwBzAHMAZABAAJCSl2CWAJBVAAAAAAAAAAAAAAAA
    AAAAAAACAtQwAAACEGDqAAACEA==
    </data>
    
</dict>

But the slot-name haven't changed, from which I assume the injection was not successful. Is there anything I am doing wrong?

The device path is copied from hackintools, and double confirmed with gfxutils
 
Joined
Dec 3, 2014
Messages
93
Motherboard
Intel DX58SO
CPU
W3680
Graphics
Vega 56
Mac
  1. MacBook
  2. MacBook Pro
@jaymonkey @pastrychef

Gents.. I am running a DX58so W3680 (very close hardware match to macpro5,1) and VEGA and have struggled getting things bullet proof like it was under ElCap with a 660

currently I have the VEGA56 working about as best as I think I can get it using a split smbios personallity.

I use to use smbios macpro5,1 with WEG/LILU pikera/boardid imacpro/shikigva=80 and that got me the typical 264 hardware enc/dec with hevc dec

I am now using a split personality in clover with all the 5,1 smbios features, sn, etc but using the iMac Pro board-id here instead of injecting with WEG... this gets me BOTH enc/dec in BOTH 264/hevc

I can't use a straight iMac Pro smbios it breaks everything else, sleep, CPU won't step or clock, basically I need the kernel running this board as a 5,1 and i need the frameworks of a 1,1 or something more compatible with the VEGA to get the best of both worlds

The only issue I can't solve is this...

I can only boot with my 4k TV on DP1.. if I try and boot with just the HDMI monitor or in any way have HDMI on it will black screen. If I boot with just the DP 4k, get to desktop and turn on the HDMI monitor, black screen and console spams gpu.restarts, system unresponsive, can't even ssh in anymore (use to work until sometime past 10.14.5)

I need to boot with just the DP monitor, sleep/wake and then I can use both monitors and future sleep/wakes generally work

so on mojave 10.14.6 2020-002, using clover 5115, WEG-LILU-ALC lastest and the above configs.. any changes or improvements I can make ... any breakthroughs I have not been able to find?

I would love to be able to ditch WEG and use either a SSDT and or clover Device property injection but nothing has been able to get me sleep, wake, power management, hardware enc/dec on both codecs and ability to stream at least DRM amazon prime.. have not tested other DRM?

thanks guys

also I have looked at several of the latest RADEONBOOST type kexts.. and have a question about the AGPM ... for Mac Pro, the control-id is 18 while iMac Pro is 17 while both have a max/min power state of 15/0 .. any ideas exactly what the control-id diff is> I would think that while the power stepping appear the 'same' that master control-id probably sets a more restricted power profile for the more tightly enclosed and apple specific VEGA implementation ...

also, and I guess this should be obvious but injecting board-id with WEG is not the same as changing board-id with clover smbios.. WEG is just using it for certain frameworks I think while injecting board-id with smbios(clover) uses it more system wide.. and hence manages to get hardware accelerated hevc encoding .. only way I have done it.. BUT changing the board id DOES CHANGE my iMessage keys and while the system identifies itself as a Mac Pro to cloud services, its also showing a iMac board id... so that kicked my iMessage until I logged out and back in.. SEEMs to be holding for now..

opencore is different again.. as you get the benefits of the clover injection method but from what I have read, doesn't seem to show up external in like iMessage keys.. but I can't use open core, I have a very heavily modded DSDT that I can't inject with open core and trying to figure out all those changes using find/replace.. plus I don't think I have the grey matter or patience at this point to learn open core.. plus it really doest not seem like it was build for really old legacy hardware like x58 westmere
 
Last edited:

pastrychef

Moderator
Joined
May 29, 2013
Messages
17,699
Motherboard
Gigabyte Z390 M Gaming
CPU
i9-9900K OC'd @ 5.0GHz
Graphics
Vega 56 (Bios flashed to 64)
Mac
  1. MacBook
  2. Mac Pro
Classic Mac
  1. iBook
  2. Power Mac
  3. PowerBook
Mobile Phone
  1. iOS
@jaymonkey @pastrychef

Gents.. I am running a DX58so W3680 (very close hardware match to macpro5,1) and VEGA and have struggled getting things bullet proof like it was under ElCap with a 660

currently I have the VEGA56 working about as best as I think I can get it using a split smbios personallity.

I use to use smbios macpro5,1 with WEG/LILU pikera/boardid imacpro/shikigva=80 and that got me the typical 264 hardware enc/dec with hevc dec

I am now using a split personality in clover with all the 5,1 smbios features, sn, etc but using the iMac Pro board-id here instead of injecting with WEG... this gets me BOTH enc/dec in BOTH 264/hevc

I can't use a straight iMac Pro smbios it breaks everything else, sleep, CPU won't step or clock, basically I need the kernel running this board as a 5,1 and i need the frameworks of a 1,1 or something more compatible with the VEGA to get the best of both worlds

The only issue I can't solve is this...

I can only boot with my 4k TV on DP1.. if I try and boot with just the HDMI monitor or in any way have HDMI on it will black screen. If I boot with just the DP 4k, get to desktop and turn on the HDMI monitor, black screen and console spams gpu.restarts, system unresponsive, can't even ssh in anymore (use to work until sometime past 10.14.5)

I need to boot with just the DP monitor, sleep/wake and then I can use both monitors and future sleep/wakes generally work

so on mojave 10.14.6 2020-002, using clover 5115, WEG-LILU-ALC lastest and the above configs.. any changes or improvements I can make ... any breakthroughs I have not been able to find?

I would love to be able to ditch WEG and use either a SSDT and or clover Device property injection but nothing has been able to get me sleep, wake, power management, hardware enc/dec on both codecs and ability to stream at least DRM amazon prime.. have not tested other DRM?

thanks guys

also I have looked at several of the latest RADEONBOOST type kexts.. and have a question about the AGPM ... for Mac Pro, the control-id is 18 while iMac Pro is 17 while both have a max/min power state of 15/0 .. any ideas exactly what the control-id diff is> I would think that while the power stepping appear the 'same' that master control-id probably sets a more restricted power profile for the more tightly enclosed and apple specific VEGA implementation ...

also, and I guess this should be obvious but injecting board-id with WEG is not the same as changing board-id with clover smbios.. WEG is just using it for certain frameworks I think while injecting board-id with smbios(clover) uses it more system wide.. and hence manages to get hardware accelerated hevc encoding .. only way I have done it.. BUT changing the board id DOES CHANGE my iMessage keys and while the system identifies itself as a Mac Pro to cloud services, its also showing a iMac board id... so that kicked my iMessage until I logged out and back in.. SEEMs to be holding for now..

opencore is different again.. as you get the benefits of the clover injection method but from what I have read, doesn't seem to show up external in like iMessage keys.. but I can't use open core, I have a very heavily modded DSDT that I can't inject with open core and trying to figure out all those changes using find/replace.. plus I don't think I have the grey matter or patience at this point to learn open core.. plus it really doest not seem like it was build for really old legacy hardware like x58 westmere

Sorry. I have no idea how to get video out ports working for your setup. I've never even tried using the WhateverGreen features to spoof iMacPro for DRM. I found it too "hacky" for my taste. I've also never tried mixing and matching board-id with different system definitions for the same reason.
 
Joined
Dec 3, 2014
Messages
93
Motherboard
Intel DX58SO
CPU
W3680
Graphics
Vega 56
Mac
  1. MacBook
  2. MacBook Pro
Sorry. I have no idea how to get video out ports working for your setup. I've never even tried using the WhateverGreen features to spoof iMacPro for DRM. I found it too "hacky" for my taste. I've also never tried mixing and matching board-id with different system definitions for the same reason.
thanks p-chef... yeah.. hacky... that pretty much amplified hackintoshing on really OLD hardware .. a hack on a hack

as any more definitive answers been arrived at as far as best framebuffer for the 58 airboost? how about your final vgtab/softpower table settings for the MSI Vega 58 airboost... you were running a slight mem clock boost and lower voltage right?

thanks for helping out.. appreciate it
 

pastrychef

Moderator
Joined
May 29, 2013
Messages
17,699
Motherboard
Gigabyte Z390 M Gaming
CPU
i9-9900K OC'd @ 5.0GHz
Graphics
Vega 56 (Bios flashed to 64)
Mac
  1. MacBook
  2. Mac Pro
Classic Mac
  1. iBook
  2. Power Mac
  3. PowerBook
Mobile Phone
  1. iOS
thanks p-chef... yeah.. hacky... that pretty much amplified hackintoshing on really OLD hardware .. a hack on a hack

as any more definitive answers been arrived at as far as best framebuffer for the 58 airboost? how about your final vgtab/softpower table settings for the MSI Vega 58 airboost... you were running a slight mem clock boost and lower voltage right?

thanks for helping out.. appreciate it

Yes, I replaced the stock thermal paste with liquid metal then increased memory clock slightly and lowered voltage.

However, I have since sold that card and purchased a used PowerColor Vega 56 Red Dragon. Again, I replaced the thermal compound with liquid metal. I also replaced the thermal pads with pads from Thermal Grizzly and increased mounting pressure of the heatsink. Then I flashed it with Sapphire Nitro+ Vega 64 firmware.
 
Top