Contribute
Register

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

Status
Not open for further replies.
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.
 
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
 
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:
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.
 
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.
 
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?
 
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: 152
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.
View attachment 371275

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

Attached ioreg with Clover patch PEGP to GFX0

I'll try on a test disk for WEG and DRM reset,

Thanks,

Patrice
 

Attachments

  • iMac de StudioMac - PEGP GFX0.zip
    906.4 KB · Views: 84
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.
View attachment 371275

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

AppleVGA.framework hasn't been replaced. Resetting DRM didn't solved the bug: injecting WEG = iTunes crash trying to play movies...

Anyway, as I understand, I almost have the same patches trhough dummy141 and PEGP to GFX0. The only thing is the hardcoded 6 connectors in ioreg but it doesn't matter.
 
Status
Not open for further replies.
Back
Top