Contribute
Register

New DRM enabling method for systems with AMD GPU

Joined
Jan 19, 2011
Messages
15
Motherboard
z68a-d3h-b3
CPU
i72600k
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Just a side note, my weird WEG setup is still working, even on the new safari, no error with netflix and other streaming platforms #post-2109696, If it can help someone :)
 
Joined
Mar 19, 2020
Messages
5
Motherboard
z270x
CPU
i7-7700K
Graphics
RX 5700 XT
still not working with the newest WEG and Lilu
 
Joined
Nov 2, 2018
Messages
277
Motherboard
HP 8300, MacMini6,1
CPU
i5-3570K, i5-3470, i5-3210, G5
Graphics
RX570, RX560, GT730K, HD4000
Mac
  1. Mac mini
Classic Mac
  1. Power Mac
Just a side note, my weird WEG setup is still working, even on the new safari, no error with netflix and other streaming platforms #post-2109696, If it can help someone :)

My DRM is not working on Big Sur with a test machine with an RX570.

Real3x, could you give us more details of your setup, like if you are testing with Big Sur?

Also, I notice some details with Big Sur using Lilu and WhateverGreen in IORegistryExplorer,
and I was hoping you could check yours.

In IORegistryExplorer, under IOService:Root/iMacPro1,1 one of the Properties listed may be
a "hwdrm-id" and/or a "shiki-id." With my working system using Ivy Bridge and an RX560 on
Catalina, I use a boot argument shikigva=144 and I see a hwdrm-id with the same value
as the board-id, namely the iMacPro1,1's "Mac-7BA5B2D9E42DDD94". I don't need to enter
a shiki-id or agdpmod on my working Catalina system with shikigva=144, and both ATV and
Quicktime work on DRM media. Does yours end up as a "shiki-id" value there?

On my system where DRM is not working on Big Sur with a RX570 and iMacPro1,1, I have
tried various combinations including yours and nothing works.

I notice that if I look at the RX560 GFX0 accelerator at

IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG0@1/IOPP/GFX0@0/AMDRadeonX4000_AMDBaffinGraphicsAccelerator

in my RX560 machine, one of the Properties is IOGVACodec with a value of AMDU6V3.

If I look at the RX570 GFX0 accelerator at

IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG0@1/IOPP/GFX0@0/AMDRadeonX4000_AMDEllesmereGraphicsAccelerator

the IOGVACodec Property still has a value of AMDU6V3. I thought the correct value for
Ellesmere RX570 or RX580 was AMDU7V4. Could you check yours and see what IOGVACodec
property value you have for the RX580?

Thanks.
 
Joined
Mar 19, 2020
Messages
5
Motherboard
z270x
CPU
i7-7700K
Graphics
RX 5700 XT
Me too
i7 8700k rx580 smbios 18,3
Update for those who are still having issues with DRM and Safari 14. I was able to make it work by updating OpenCore to version 0.6.2, updating to the latest WEG and Lily, and changing SMBIOS to iMacPro1,1 from iMac18,3 (my config is i7700k and 5700XT). I also needed to completely rebuild config.plist from scratch (you probably don't need to) with shikigva=128 and disable iGPU in BIOS. I now have fully working 10.15.7 (19H2) with no DRM issues in Safari with Netflix and Amazon Prime working flawlessly. Hardware decoding/encoding is also working great across all video editing software including Adobe Premiere Pro. Hope this helps. Peace.
 
Joined
Nov 2, 2018
Messages
277
Motherboard
HP 8300, MacMini6,1
CPU
i5-3570K, i5-3470, i5-3210, G5
Graphics
RX570, RX560, GT730K, HD4000
Mac
  1. Mac mini
Classic Mac
  1. Power Mac
Update for those who are still having issues with DRM and Safari 14. I was able to make it work by updating OpenCore to version 0.6.2, updating to the latest WEG and Lily, and changing SMBIOS to iMacPro1,1 from iMac18,3 (my config is i7700k and 5700XT). I also needed to completely rebuild config.plist from scratch (you probably don't need to) with shikigva=128 and disable iGPU in BIOS. I now have fully working 10.15.7 (19H2) with no DRM issues in Safari with Netflix and Amazon Prime working flawlessly. Hardware decoding/encoding is also working great across all video editing software including Adobe Premiere Pro. Hope this helps. Peace.
Are you using the release versions of Lilu (1.4.8) and Whatevergreen (1.4.3)?
 

pastrychef

Moderator
Joined
May 29, 2013
Messages
18,220
Motherboard
Asus Z370-G Gaming (Wi-Fi AC)
CPU
i9-9900K OC'd @ 5.0GHz
Graphics
RX 6600 XT
Mac
  1. MacBook
  2. Mac Pro
Classic Mac
  1. iBook
  2. Power Mac
  3. PowerBook
Mobile Phone
  1. iOS
DRM works if you use iMacPro1,1 system definition even if you don't have WhateverGreen installed. It always has.
 
Joined
Mar 19, 2020
Messages
5
Motherboard
z270x
CPU
i7-7700K
Graphics
RX 5700 XT
That’s good to know. If someone had told me that before I would have saved a lot of time. However, WEG is still preferred since you can apply shikigva=128 for hardware decoding.

Just out of curiosity. What’s the downside of using iMacPro1,1? I haven’t seen any issues so far - no kernel panic no nothing.

 

jaymonkey

Moderator
Joined
Aug 27, 2011
Messages
3,991
Motherboard
GB Z490 Vision G
CPU
i9 10850K OC @ 5.2 GHz
Graphics
Vega 64 LC + HD 630
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Mobile Phone
  1. iOS
Just out of curiosity. What’s the downside of using iMacPro1,1? I haven’t seen any issues so far - no kernel panic no nothing.

@fr0ggy,

Using the iMacPro1,1 SMBIOS is the only way (AFAIK) of using your dGPU for H264/H265 video encode and decode instead of a "Headless" IGPU configuration, DRM also tends to work much better with the the iMacPro1,1 SMBIOS.

The only real downsides to using the iMacPro1,1 SMBIOS are :-

1. Some systems don't get full native CPU Power Management as the iMacPro uses a XEON W based CPU, as such the iMacPro1,1 SMBIOS is optimised for XEON CPU power management which differs to standard Desktop Class CPU's. In most cases it is possible to remedy this problem by installing and configuring "CPUFriend" :-


2. It is impossible to use the SideCar feature in Catalina. A real iMacPro uses its T2 chip for hardware compression/decompression of the iPad video/data stream. The only way to resolve this issue is to use a non-pro iMac SMBIOS and configure the IGPU for compute only use by means of a "Headless" platfrom ID.

Cheers
Jay
 
Last edited:
Joined
Aug 13, 2013
Messages
15
Motherboard
Gigabyte Z370-HD3
CPU
i7-8086K
Graphics
MSI 6900XTHT
Mac
  1. MacBook Pro
Classic Mac
  1. Power Mac
Mobile Phone
  1. iOS
Hey all, read the last few pages and trying to keep up. Had DRM going perfect with shikigva=80 on iMac19,2 using headless ID for UHD630 and an RX590 with Clover on Catalina. Recently switched to OpenCore and didn't think to test DRM before upgrading to Big Sur. shikigva=80 results in broken iTunes DRM but checking console, I think we're related to the broken WebKit DRM support.

Code:
Oct 16 17:12:02 XXX-iMac Music[6280]: getattrlist failed for /Library/GPUBundles/AMDRadeonX4000GLDriver.bundle/Contents/MacOS/ATIRadeonX4000SCLib.dylib: #2: No such file or directory
Oct 16 17:12:02 XXX-iMac Music[6280]: getattrlist failed for /System/Library/Extensions/AMDRadeonX4000GLDriver.bundle/Contents/MacOS/ATIRadeonX4000SCLib.dylib: #2: No such file or directory
Oct 16 17:12:02 XXX-iMac Music[6280]: getattrlist failed for /System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat: #2: No such file or directory
Oct 16 17:12:04 XXX-iMac com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0C000000-0700-0000-0000-000000000000[6278]): Service exited due to SIGKILL | sent by mds[81]
Oct 16 17:12:12 XXX-iMac Music[6280]: getattrlist failed for /Library/GPUBundles/AppleIntelKBLGraphicsVADriver.bundle/Contents/MacOS/AppleIntelKBLGraphicsVADriver: #2: No such file or directory
Oct 16 17:12:12 XXX-iMac Music[6280]: getattrlist failed for /Library/GPUBundles/AMDRadeonVADriver2.bundle/Contents/MacOS/AMDRadeonVADriver2: #2: No such file or directory
Oct 16 17:12:12 XXX-iMac Music[6280]: getattrlist failed for /System/Library/Extensions/AMDRadeonVADriver2.bundle/Contents/MacOS/AMDRadeonVADriver2: #2: No such file or directory
Oct 16 17:12:12 XXX-iMac Music[6280]: getattrlist failed for /Library/GPUBundles/AppleIntelCFLGraphicsVAME.bundle/Contents/MacOS/AppleIntelCFLGraphicsVAME: #2: No such file or directory
Oct 16 17:12:12 XXX-iMac Music[6280]: getattrlist failed for /Library/GPUBundles/AppleIntelKBLGraphicsVADriver.bundle/Contents/MacOS/AppleIntelKBLGraphicsVADriver: #2: No such file or directory

Whereas webkit is:

Oct 16 00:05:22 XXX-iMac com.apple.WebKit.WebContent[5032]: getattrlist failed for /Library/GPUBundles/AMDRadeonX4000GLDriver.bundle/Contents/MacOS/ATIRadeonX4000SCLib.dylib: #2: No such file or directory
Oct 16 00:05:22 XXX-iMac com.apple.WebKit.WebContent[5032]: getattrlist failed for /System/Library/Extensions/AMDRadeonX4000GLDriver.bundle/Contents/MacOS/ATIRadeonX4000SCLib.dylib: #2: No such file or directory
Oct 16 00:05:22 XXX-iMac com.apple.WebKit.WebContent[5032]: getattrlist failed for /System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat: #2: No such file or directory
Oct 16 00:05:24 XXX-iMac com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0F000000-0700-0000-0000-000000000000[5031]): Service exited due to SIGKILL | sent by mds[81]
Oct 16 00:05:28 XXX-iMac com.apple.WebKit.WebContent[5032]: getattrlist failed for /Library/GPUBundles/AppleIntelKBLGraphicsVADriver.bundle/Contents/MacOS/AppleIntelKBLGraphicsVADriver: #2: No such file or directory
Oct 16 00:05:28 XXX-iMac com.apple.WebKit.WebContent[5032]: getattrlist failed for /Library/GPUBundles/AMDRadeonVADriver2.bundle/Contents/MacOS/AMDRadeonVADriver2: #2: No such file or directory
Oct 16 00:05:28 XXX-iMac com.apple.WebKit.WebContent[5032]: getattrlist failed for /System/Library/Extensions/AMDRadeonVADriver2.bundle/Contents/MacOS/AMDRadeonVADriver2: #2: No such file or directory
Oct 16 00:05:28 XXX-iMac com.apple.WebKit.WebContent[5032]: getattrlist failed for /Library/GPUBundles/AppleIntelCFLGraphicsVAME.bundle/Contents/MacOS/AppleIntelCFLGraphicsVAME: #2: No such file or directory

Just to confirm: Nobody currently has functioning iTunes DRM on Big Sur yet? You can test by playing the Music 1 stream.
 
Top