Contribute
Register

New DRM enabling method for systems with AMD GPU

jaymonkey

Moderator
Joined
Aug 27, 2011
Messages
3,994
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
14
Motherboard
Gigabyte Z370-HD3
CPU
i7-8086K
Graphics
Sapphire Radeon RX 590
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.
 
Joined
Sep 22, 2010
Messages
170
Motherboard
ASUS PRIME Z390-A
CPU
i7-9700K
Graphics
Vega 64
A little help please. I added shikigva=32 and shiki-id=Mac-7BA5B2D9E42DDD94 to my boot arg and Apple TV+ playback is working great, but...only on my HDMI monitor. If I try dragging it to the DP monitor, the content goes black and I get a DRM message. Any workarounds? My DisplayPort is my main and preferred monitor. Thanks!
 
Last edited:
Joined
Dec 2, 2011
Messages
44
Motherboard
AsRock Z370 Pro4 3.20
CPU
i7-8700k
Graphics
RX 580
Mac
  1. MacBook Pro
  2. Mac mini
Mobile Phone
  1. Android
  2. iOS
I've switch to OC 0.6.3 for Big Sur, I feel your pain with this one. No matter the settings(shikigva, AAPL,platform-id,etc) it makes no difference in Big Sur. Even with the wrong settings in Catalina AppleTV App would play downloaded content, but not the case in Big Sur.

The only working option I've found is switching SMBIOS to MacPro7,1, but the negatives massively outweigh the benefit of having AppleTV and Netflix in Safari compared to using SMBIOS iMac19,2 for a fully compatible working system with all the continuity features and stability it brings.
 
Joined
Dec 2, 2011
Messages
44
Motherboard
AsRock Z370 Pro4 3.20
CPU
i7-8700k
Graphics
RX 580
Mac
  1. MacBook Pro
  2. Mac mini
Mobile Phone
  1. Android
  2. iOS
I've switch to OC 0.6.3 for Big Sur, I feel your pain with this one. No matter the settings(shikigva, AAPL,platform-id,etc) it makes no difference in Big Sur. Even with the wrong settings in Catalina AppleTV App would play downloaded content, but not the case in Big Sur.

The only working option I've found is switching SMBIOS to MacPro7,1, but the negatives massively outweigh the benefit of having AppleTV and Netflix in Safari compared to using SMBIOS iMac19,2 for a fully compatible working system with all the continuity features and stability it brings.
they say "persistence is the key to success"... Managed to sort the DRM issues out on AppleTV streaming and downloaded content, but Netflix/Amazon PrimeVideo only works via Chrome. You could say it's a useable fix. However, the computer takes much longer to load, so things are not 100% correct, and will need to check the logs to see what's stalling and find a fix before I post my findings. I'm getting there! :)
 
Joined
Nov 6, 2019
Messages
52
Motherboard
Gigabyte B360N WiFi
CPU
i9-9900K
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
DRM is unresolved on iMac SMBIOS due to broken user space patching for Big Sur on Lilu, resulting on shiki currently being useless. Acidanthera developer states that it might not get fixed at all but will have a look after they update to Big Sur on their personal build. Let's play the waiting game until a verdict is out.
 
Joined
Dec 2, 2011
Messages
44
Motherboard
AsRock Z370 Pro4 3.20
CPU
i7-8700k
Graphics
RX 580
Mac
  1. MacBook Pro
  2. Mac mini
Mobile Phone
  1. Android
  2. iOS
DRM is unresolved on iMac SMBIOS due to broken user space patching for Big Sur on Lilu, resulting on shiki currently being useless. Acidanthera developer states that it might not get fixed at all but will have a look after they update to Big Sur on their personal build. Let's play the waiting game until a verdict is out.
I've noticed from my own research Shiki does nothing anymore.
However, I've managed to get a stable setup with AppleTV working for streamed and downloaded content without shiki settings, but you need to use Chrome for online content like Netflix,etc.
 
Joined
Nov 6, 2019
Messages
52
Motherboard
Gigabyte B360N WiFi
CPU
i9-9900K
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
I've noticed from my own research Shiki does nothing anymore.
However, I've managed to get a stable setup with AppleTV working for streamed and downloaded content without shiki settings, but you need to use Chrome for online content like Netflix,etc.
How did you manage to fix Apple TV without changing to iMacPro or MacPro SMBIOS?
 
Joined
Jun 22, 2020
Messages
25
Motherboard
Gigabyte Aorus B360 Gaming 3
CPU
i7-9700K
Graphics
RX 580
Mac
  1. iMac
Mobile Phone
  1. iOS
This is the easiest method I found in Big Sur with imac smbios for drm. Add -igfxvesa to bootargs with WEG. igpu will be disabled and appletv, drm etc. works fine. If you need igpu for sidecar etc., remove and reboot. I get about additional 10 secs black screen during boot though with this -igfxvesa.
 
Joined
Nov 2, 2018
Messages
278
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
This is the easiest method I found in Big Sur with imac smbios for drm. Add -igfxvesa to bootargs with WEG. igpu will be disabled and appletv, drm etc. works fine. If you need igpu for sidecar etc., remove and reboot. I get about additional 10 secs black screen during boot though with this -igfxvesa.
I gave it a try and it didn't work for me. When my IGPU is enabled with -igfxvesa
as a boot argument, WEG configures it using an Nvidia framebuffer instead of the
usual Intel Capri framebuffer for my 3rd generation CPU. I tried with an HP 8300
configured as a MacPro6,1 in Big Sur, and an HP 8300 configured as an iMacPro1,1
in Big Sur. I tried with IGPU off or on, secondary or primary in BIOS, headless or
undefined.

Do you define your IGPU in device properties? Which iMac SMBIOS are you using?
 
Top