Contribute
Register

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

Joined
Nov 3, 2018
Messages
307
Motherboard
ASRock B360-HDV
CPU
i5-8400
Graphics
RX 470
Mobile Phone
iOS
Mojave 10.14.4 (18E174f) update

Still no native GVA support for AMD RX4XX/5XX, need dummy141 kext to enable AMD GVA support.

AMD GVA H264 export work, as fast as IQSV, need SMBIOS support hwe420 like iMacPro1,1, still have bug but stable, output H264 video may sometime discolouring.

QT screen recording work with AMD GVA H264 acceleration.

VideoProc detect HW acceleration correctly, no longer freeze.

AMD GVA HEVC work, fast and stable.

Tested with RX570 + i3-7100 and RX460 + Pentium G4560 on Mojave 10.14.4 18E174f
View attachment 381985
Thanks for your update, i followed your guides on 10.14.3

1. put dummy141.kext to clover/other
2. Edit /System/Library/PrivateFrameworks/AppleGVA.framework/Versions/A/Resources/info.plist, remove hwe TTOnly bwLimit0 bwLimit1.
3. cd /System/Library/PrivateFrameworks/ ; sudo codesign --deep -fs - AppleGVA.framework
4. sudo codesign --no-strict --verify /System/Library/PrivateFrameworks/AppleGVA.framework

1230 v2 + RX560 + Macpro6,1 SMBIOS, H264/HEVC decoding worked, but after a while of watching several videos, system freeze.

Here you say "AMD GVA HEVC work, fast and stable." on 10.14.4, does this mean it won't freeze no matter how many and what kind of videos you watch or export?
 
Joined
Oct 26, 2013
Messages
946
Motherboard
MSI B250M PRO-VHD
CPU
i3-7100
Graphics
RX 570
Here you say "AMD GVA HEVC work, fast and stable." on 10.14.4, does this mean it won't freeze no matter how many and what kind of videos you watch or export?
Use 10.14.4 (18E174f) native AppleGVA.framework and use SMBIOS iMacPro1,1, or copy iMacPro1,1 GVA properties to your AppleGVA.framework info.plist SMBIOS dictionary.

Need hwe and hwe420 for AMD GVA H264 support otherwise not work.

Edit: MacPro6,1 GVA sample.
1548408361669.png
 
Last edited:
Joined
Nov 3, 2018
Messages
307
Motherboard
ASRock B360-HDV
CPU
i5-8400
Graphics
RX 470
Mobile Phone
iOS
Use 10.14.4 (18E174f) native AppleGVA.framework and use SMBIOS iMacPro1,1, or copy iMacPro1,1 GVA properties to your AppleGVA.framework info.plist SMBIOS dictionary.

Need hwe and hwe420 for AMD GVA H264 support otherwise not work.
Add these 2 boot args would be simpler do you think? Mac-7BA5B2D9E42DDD94 is the board-id of iMacPro1,1:

shikigva=32 shiki-id=Mac-7BA5B2D9E42DDD94
 
Joined
Oct 26, 2013
Messages
946
Motherboard
MSI B250M PRO-VHD
CPU
i3-7100
Graphics
RX 570
Add these 2 boot args would be simpler do you think? Mac-7BA5B2D9E42DDD94 is the board-id of iMacPro1,1:

shikigva=32 shiki-id=Mac-7BA5B2D9E42DDD94
Yes, should be same, not sure and not tested.
 
Joined
Nov 3, 2018
Messages
307
Motherboard
ASRock B360-HDV
CPU
i5-8400
Graphics
RX 470
Mobile Phone
iOS
Yes, should be same, not sure and not tested.
I used shikigva and shiki-id method, with dummy kext and 10.14.4

Encoding: no freeze on quicktime recording and exporting as hevc (high cpu load, i guess it uses software encoding, can you confirm this part?) or as h264 (very fast, low cpu load).

Decoding: Playing 4k 10bit 120Mbps hevc and h264 only 5% cpu load, hardware decoding worked great!

videoproc shows HEVC not available. (attached screenshot)

VDADecoderChecker result : Hardware acceleration is fully supported

Update: I renamed PEGP to GFX2 in clover for GPU PM purpose, now removed it, PEGP is GFX0 now, everything encoding decoding works, update videoproc screenshot.
 

Attachments

Last edited:
Joined
Oct 26, 2013
Messages
946
Motherboard
MSI B250M PRO-VHD
CPU
i3-7100
Graphics
RX 570
I used shikigva and shiki-id method, with dummy kext and 10.14.4

Encoding: no freeze on quicktime recording and exporting as hevc (high cpu load, i guess it uses software encoding, can you confirm this part?) or as h264 (very fast, low cpu load).

Decoding: Playing 4k 10bit 120Mbps hevc and h264 only 5% cpu load, hardware decoding worked great!

videoproc shows HEVC not available. (attached screenshot)

VDADecoderChecker result : Hardware acceleration is fully supported
Both AMD HEVC/H264 GVA encoder work and fast, for HEVC encoding, recently only support 8 bit.

Forget to attach result, HEVC transcoding FCPX to Compressor
 

Attachments

Last edited:
Joined
Nov 3, 2018
Messages
307
Motherboard
ASRock B360-HDV
CPU
i5-8400
Graphics
RX 470
Mobile Phone
iOS
Both AMD HEVC/H264 GVA encoder work and fast, for HEVC encoding, recently only support 8 bit.
how do i know if it is 8 bit from quicktime exporting? still don't understand why videoproc shows HEVC not available
 
Joined
Oct 26, 2013
Messages
946
Motherboard
MSI B250M PRO-VHD
CPU
i3-7100
Graphics
RX 570
how do i know if it is 8 bit from quicktime exporting? still don't understand why videoproc shows HEVC not available
I don't use QT for HEVC transcoding, VideoProc show both HEVC and H264 available for me, RX460 and RX570 both OK.
 
Joined
Nov 3, 2018
Messages
307
Motherboard
ASRock B360-HDV
CPU
i5-8400
Graphics
RX 470
Mobile Phone
iOS
I don't use QT for HEVC transcoding, VideoProc show both HEVC and H264 available for me, RX460 and RX570 both OK.
Maybe that's because you got iGPU? i don't have iGPU.
 
Joined
Oct 26, 2013
Messages
946
Motherboard
MSI B250M PRO-VHD
CPU
i3-7100
Graphics
RX 570
Maybe that's because you got iGPU? i don't have iGPU.
No, I don't enable IQSV, for HEVC transcoding RX460/RX570 are much better, no reason to enable IGPU for me.
 
Top