Contribute
Register

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

Status
Not open for further replies.
Hi Shuhung,

So I'm kind of lucky that I apparently have hardware decoding by the igpu... Thanks for the info & MediaInfo program.
 
So could this work on 5.1 Mac Pro, my gpu is a RX 580. I would like to enable HEVC decoding can someone help ?
 
So could this work on 5.1 Mac Pro, my gpu is a RX 580. I would like to enable HEVC decoding can someone help ?

MacPro 5,1 does not supported by AppleGVA, need change system definition that support hardware video decoding, may be add your model to AppleGVA info.plist will work.
 
Hi
I have been trying to get hardware decoding for hevc but I only get the software version. I've included the screenshot below for reference. Thanks
 

Attachments

  • Screen Shot 2018-01-03 at 6.34.09 PM.png
    Screen Shot 2018-01-03 at 6.34.09 PM.png
    79.6 KB · Views: 456
Last edited:
Interesting thread!
I use RX 460 standalone (i5 has no iGPU) running Sierra. GPU works very well.
Q: I can see (kextstat) Sierra / RX 460 uses AMDRadeonX4200 (1.5.1) , not 4250 + AMD9500Controller (1.5.1).
Can i modd the X4200 .plist same as you with X4250 ? (= use X4200 and add that .plist values from X5000 as you done with X4250)
EDIT: I cant find any X5000 ,kext in Sierra. Is that High Sierra only?
 

Attachments

  • Bildschirmfoto 2018-01-04 um 08.29.46.jpg
    Bildschirmfoto 2018-01-04 um 08.29.46.jpg
    69.5 KB · Views: 315
Hi
I have been trying to get hardware decoding for hevc but I only get the software version. I've included the screenshot below for reference. Thanks

No AppleGVAHEVCDecoder show in VTDecoderXPCService, have you place X4250.kext to Clover/kext/Other folder.

Can i modd the X4200 .plist same as you with X4250 ?

Yes, same theory, but HW HEVC support need 10.13.x up.

EDIT: I cant find any X5000 ,kext in Sierra. Is that High Sierra only?

Yes, High Sierra only.

For unknown reason, I have random freeze issue only in 10.13.3 beta 1 (10.13.2 and 10.13.3 beta 2 are OK), need force back AMDRadeonX4200 by WhateverGreen -rad4200, also created a dummy X4200 injector for HEVC support.
 

Attachments

  • X4200.kext.zip
    3 KB · Views: 214
  • X4250.kext.zip
    2.8 KB · Views: 173
shuhung, I have the x4250 in Clover/kext/Other but it does nothing in my system. I have also tried shiki kext with shikigva=1 and that doesn't change anything either. Lilu is present as well with RadeonDeInit checked in clover configurator.
 
shuhung, I have the x4250 in Clover/kext/Other but it does nothing in my system. I have also tried shiki kext with shikigva=1 and that doesn't change anything either. Lilu is present as well with RadeonDeInit checked in clover configurator.

Try reset AppleGVA preferences and rebuild dyld_shared_cache.

Run below from terminal.

defaults write com.apple.coremedia hardwareVideoDecoder force
defaults write com.apple.AppleGVA forceSWDecoder -boolean no
defaults write com.apple.AppleGVA forceATI -boolean yes
sudo update_dyld_shared_cache -force

Use QuickTime to verify HW HEVC decoding and encoding, HW HEVC encoding should work, both quality and speed are OK, if need H264 encoding use IQSV instead, H264 encoding have issue with AMD driver.

Check VTEncoderXPCService while export video as HEVC, should show AppleGVAEncoder as below
upload_2018-1-5_0-47-50.png


Check VTDecoderXPCService during HEVC video playback, should show AppleGVADecoder as below
upload_2018-1-5_0-49-46.png
 
shuhung, Thanks for you help. I tried the commands you posted above and didn't change anything. Sadly, I might have one of those troublesome systems.

If your SMBIOS is supported by AppleGVA should work, most probably cause should be SMBIOS not supported by AppleGVA, if possible, try iMac 14,2.

Upload your ioreg file may help.

For example, MacPro5,1 does not supported by AppleGVA.
If I using MacPro5,1 then RX 460 HW video encoding/decoding will not work, need add model (older versions use model, newer versions use Board ID) to info.plist of AppleGVA.framework as below.
upload_2018-1-6_15-7-15.png


Attached is edited info.plist sample for MacPro5,1.
 

Attachments

  • Info.plist
    18.8 KB · Views: 297
Status
Not open for further replies.
Back
Top