Contribute
Register

New DRM enabling method for systems with AMD GPU

Joined
May 10, 2011
Messages
2,399
Motherboard
Gigabyte B550 Vision D
CPU
Ryzen 5900X
Graphics
RX 6800
Mac
  1. iMac
  2. MacBook
  3. MacBook Air
  4. MacBook Pro
  5. Mac mini
  6. Mac Pro
Classic Mac
  1. Power Mac
  2. PowerBook
Mobile Phone
  1. iOS
I tried it, but it never worked without unfairvga.

Why do I need AGPMinjector, what is the benefit?
AGPMInjector works directly with the SSDT and the specific device properties. I've tried it before and it works totally fine. SSDT-GPU-Spoof also works very well with unsupported RX cards.
 
Joined
Aug 17, 2012
Messages
479
Motherboard
GA-Z77X-UD5H
CPU
i5-3570K
Graphics
RX 570
Mac
  1. MacBook
Mobile Phone
  1. iOS
I think the option unfairvga was implemented to overcome the DRM problem with AMD cards.

Code:
For old CPUs (e.g. Xeons or Quad 2 Quad) and supported AMD GPUs injecting unfairgva with <01 00 00 00> value is required for streaming DRM
 
Joined
Jun 22, 2020
Messages
32
Motherboard
Asus Prime Z370-A II
CPU
i7-9700K
Graphics
RX 580 Pulse
Mac
  1. iMac
Mobile Phone
  1. iOS
I tried it, but it never worked without unfairvga.

Why do I need AGPMinjector, what is the benefit?
You are using an older cpu. I am using 9th gen i7 - may be that's why I don't need unfairgva I guess.

Without AGPM, the GPU uses more power, fan runs most of the time. Without it, the fan will only run when the temp is high. Ioreg will show proper device name under power management / agpm folder.
 
Joined
Aug 17, 2012
Messages
479
Motherboard
GA-Z77X-UD5H
CPU
i5-3570K
Graphics
RX 570
Mac
  1. MacBook
Mobile Phone
  1. iOS
You are using an older cpu. I am using 9th gen i7 - may be that's why I don't need unfairgva I guess.

Without AGPM, the GPU uses more power, fan runs most of the time. Without it, the fan will only run when the temp is high. Ioreg will show proper device name under power management / agpm folder.
Thanks, I will try it. :)

I can see that the Core Clock changes. Power consumption of about 80 Watts in idle is high for me, is this normal?
 

Attachments

  • Bildschirmfoto 2021-06-14 um 14.31.03.png
    Bildschirmfoto 2021-06-14 um 14.31.03.png
    78.2 KB · Views: 154
Last edited:
Joined
Jun 22, 2020
Messages
32
Motherboard
Asus Prime Z370-A II
CPU
i7-9700K
Graphics
RX 580 Pulse
Mac
  1. iMac
Mobile Phone
  1. iOS
Thanks, I will try it. :)

I can see that the Core Clock changes. Power consumption of about 80 Watts in idle is high for me, is this normal?
That looks ok. When compared to real mac ioreg file, agpm should show up under AMDFramebuffer and also under x86PlatformPlugin in ioreg. Without the injector kext, it will only show up in one place. Not sure how much it'd affect the system.
 
Joined
Nov 21, 2016
Messages
64
Motherboard
Gigabyte GA-Z170X-UD3 Rev.1.0
CPU
Intel Core i7, 7700K, 4.2 GHz
Graphics
5500XT
Mac
  1. MacBook Air
Classic Mac
  1. PowerBook
Mobile Phone
  1. Android
In my case today was experimenting to sort out some problems with the new clover version (btw it's going worse every release), i removed igpu from bios and bingo, drm working, Netflix & Amazon Prime Video with Safari.
My config is:
iMac 18,3 SMBios
Latest WhateverGreen & Lilu
agpmod=pikera -shikigva=80

The weird part is Hackintool that says no GVA acceleration but it's working correctly.
Hi, have you tried your configuration with OpenCore and BigSur?
Thanks :)
 
Joined
Feb 16, 2022
Messages
23
Motherboard
Dell Optiplex 9020 MT
CPU
I7-4790
Graphics
NVIDIA NVS 510
Mobile Phone
  1. iOS
With Big Sur and OC 0.6.7, shikigva settings are ignored. Instead, try SMBIOS for iMac15,1 with a device property
for your RX580 set to unfairgva number 7.

LisaAlterEgo,

This worked for me as well. I am using the Optiplex 9020 running latest version of Big Sur. Using trs96 excellent build notes, had everything working.

I was using NVS 510 and Apple TV wasn't working. So I splurged and bought a AMD WX 4100. And then I tried your suggestion to set the unfairgva to 7 in config.plist. Screenshot below.

And I'm happy to report that Apple TV works!!! Amazon Prime in Safar works as well.

1648316350382.jpeg



Thank you! Thank you and Thank you for posting this fix! All of us on the optiplex 9020 using trs96 guide, can use this to get DRM working. with the iMac 15,1 SMBIOS. That's what we are all using over there. And I din't have to mess with any of that. Sidecar works as well since the igpu is enabled but headless.

Thanks a lot!!! Happy Hackintosher today!! :)
 
Joined
Feb 16, 2022
Messages
23
Motherboard
Dell Optiplex 9020 MT
CPU
I7-4790
Graphics
NVIDIA NVS 510
Mobile Phone
  1. iOS
Could anyone give advice on how to achieve full DRM on Big Sur with the hardware listed. Am at 11.3 and Opencore 0.6.7

Using SMBIOS iMac 15,1 I get red screen on Apple TV.

Have tried to use Macpro 6,1 and disabling the iGpu with -wegnoigpu yet at the moment cannot get it to boot but have only just tried.

Disabling iGpu via BIOS isn’t an option due to dual boot with Windows.

EDIT - seems Macpro 6,1 has a panic when trying to implement energy management states and reboots.

Westsurf, see my post and try it out with an AMD card and see if that helps!
 
Joined
Jun 22, 2020
Messages
32
Motherboard
Asus Prime Z370-A II
CPU
i7-9700K
Graphics
RX 580 Pulse
Mac
  1. iMac
Mobile Phone
  1. iOS
Anyone with imac19,1 or similar imac smbios (bigsur or monterey) have netflix hd or 4k working in safari?
Tried unfairgva 05 and also tried disabling igpu but didn't seem to work.
 
Top