Contribute
Register

Radeon RX 4XX/5XX standalone system, AMDRadeonX4250.kext (GVA support H264) does not support HEVC HW

Joined
Aug 25, 2012
Messages
1,087
Motherboard
Gigabyte Z390 Designare
CPU
i9 9900k
Graphics
RX480
Mac
  1. MacBook Pro
Classic Mac
  1. Performa
  2. Power Mac
  3. PowerBook
  4. Quadra
Mobile Phone
  1. iOS
I just upgraded my test SSD to 10.14.2 and now I can't properly play HEVC anymore.

I have an iMac 17,1 system definition, with a connectorless iGPU and a RX480. Can I make HEVC playback work properly in 10.14.2?

I tried the dummy141.kext, upgraded whatevergreen to no avail.
 
Joined
Oct 26, 2013
Messages
1,054
Motherboard
MSI B250M PRO-VHD
CPU
i3-7100
Graphics
RX 570
Injecting WhateverGreen, last version: instant crash of iTunes when trying to play a movie...

Attached ioreg with dummy kext injected, no WEG.

Ioreg file show GPU is linked to PEGP, H264 GVA decoder work, H264 DRM video should play but HEVC GVA decoder will not work. You can use Clover ACPI patch to rename PEGP to GFX0.
upload_2018-12-9_8-54-15.png


Issue should caused by dylb cache or DRM preference not WEG, see attached png, WEG kext is applied and iTune video work.

If you had replace or restore AppleGVA.framework before, should run below command

cd /System/Library/PrivateFrameworks/
sudo codesign --deep -fs - AppleGVA.framework
sudo chown -R root:wheel AppleGVA.framework
sudo update_dyld_shared_cache -force

Then reboot

If stiil not work, try reset DRM see below link

https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.Shiki.en.md
 

Attachments

  • Screenshot 2018-12-09 at 8.27.45 AM.png
    Screenshot 2018-12-09 at 8.27.45 AM.png
    2.3 MB · Views: 103
Joined
Oct 26, 2013
Messages
1,054
Motherboard
MSI B250M PRO-VHD
CPU
i3-7100
Graphics
RX 570
I have an iMac 17,1 system definition, with a connectorless iGPU and a RX480. Can I make HEVC playback work properly in 10.14.2?

Yes, but only 8 bit HEVC, SKL does not support 10 bit HEVC, just use latest lilu + WEG, does not need dummy141 kext.
 
Joined
Jul 20, 2018
Messages
22
Motherboard
msi e3 v5
CPU
e3 1230 v5
Graphics
rx470
Use dummy kext or restore old AppleGVA.framework from 10.14.0.
H264/HEVC GVA decode OK
H264 GVA Encoder never work properly
HEVC GVA Encoder work but unstable



OK
thanks, I used the dummy kext, everything is ok, but the quicktime screen record will cause the system freezing
 
Joined
Jul 25, 2011
Messages
14
Motherboard
Asrock
CPU
i5-9400
Graphics
ASRock Z370M Pro4
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
So a little over half of the times I try to encode HEVC videos with Compressor (4.4.2) my entire system hangs and becomes almost entirely unresponsive (programs don't close, the remaining time for the encode jumps to >100 hours, mouse clicks either don't register or register extremely slowly, iStat Menus only updates every 20 seconds or so). The only way I know how to get out of that is to do a hard reboot. Has anyone figured out how to prevent this from happening?

Here's my system and configuration:
  • macOS Mojave 10.14.2
  • Mobo: GA-Z68MA-D2H-B3 (U1C BIOS with updated modules/microcode from UBU)
  • CPU: i5-2500K
  • GPU: Sapphire RX 580 Nitro+ 4GB
  • A dummy kext to add GVA properties to Ellesmere
  • Macmini6,1 SMBIOS
  • Modified AppleGVA.framework to add my Macmini board-id with the same properties as iMacPro1,1 (allowFrameReording: false, facetimeDecode: true, hwe: true, hwe420: true, interlacedOff: true, ke1: true)
  • Renamed PEGP to GFX0
  • No other graphics kexts, patches, or settings
I've experimented with iMacPro1,1 and iMac14,2 SMBIOS, and also tried WhateverGreen with shiki-id=Mac-7BA5B2D9E42DDD94 -wegbeta boot flags; but so far I haven't gotten Compressor's HEVC encoding to work consistently. When the encodes start without issue (which is maybe 35-40% of my attempts) the encode generally finishes successfully, but the other times it immediately stalls like I described above and requires a hard shut down.
 
Last edited:
Joined
Aug 25, 2012
Messages
1,087
Motherboard
Gigabyte Z390 Designare
CPU
i9 9900k
Graphics
RX480
Mac
  1. MacBook Pro
Classic Mac
  1. Performa
  2. Power Mac
  3. PowerBook
  4. Quadra
Mobile Phone
  1. iOS
Yes, but only 8 bit HEVC, SKL does not support 10 bit HEVC, just use latest lilu + WEG, does not need dummy141 kext.

I'm using the 8-bit HEVC Sony camp video as a test. Try as I might(with new Whatevergreen & Lilu) I can only get smooth playback with 200% CPU load(software decoding), or choppy playback with hardware decoding. iMac 17,1 connectorless iGPU(hd530) & AMD RX480.
Will check if this(smooth hardware decoding) still works in High Sierra, it did at some point.
 
Joined
Oct 26, 2013
Messages
1,054
Motherboard
MSI B250M PRO-VHD
CPU
i3-7100
Graphics
RX 570
I'm using the 8-bit HEVC Sony camp video as a test. Try as I might(with new Whatevergreen & Lilu) I can only get smooth playback with 200% CPU load(software decoding), or choppy playback with hardware decoding. iMac 17,1 connectorless iGPU(hd530) & AMD RX480.
Will check if this(smooth hardware decoding) still works in High Sierra, it did at some point.

HEVC hardware decoding works fine in OSX10.13.1 on the same system. What is new in Mojave?

No different, tested with SKL HD510 + RX560 (use RX480 ID 0x67DF1002)+ iMac17,1 + WEG on 10.14.2, HEVC decode handle by HD510 IQSV, everything OK.
 
Joined
Aug 25, 2012
Messages
1,087
Motherboard
Gigabyte Z390 Designare
CPU
i9 9900k
Graphics
RX480
Mac
  1. MacBook Pro
Classic Mac
  1. Performa
  2. Power Mac
  3. PowerBook
  4. Quadra
Mobile Phone
  1. iOS
Weird. Doesn't work for me. AFAIK, I use the same Clover etc settings, I just copied the EFI folder over from my HS boot partition.
Can I have a look at your config.plist, Shuhung?
 
Joined
Oct 26, 2013
Messages
1,054
Motherboard
MSI B250M PRO-VHD
CPU
i3-7100
Graphics
RX 570
Weird. Doesn't work for me. AFAIK, I use the same Clover etc settings, I just copied the EFI folder over from my HS boot partition.
Can I have a look at your config.plist, Shuhung?

You may try but my config.plist may not fit your HW configuration, pls notice that I completely disable native XCPM and use Clover HWP + HWPEnabler.kext for CPU PM.
 

Attachments

  • config.plist
    9.1 KB · Views: 108
Top