Contribute
Register

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

Joined
May 27, 2013
Messages
168
Motherboard
GA-Z390 AORUS PRO WIFI
CPU
i9-9900K
Graphics
RX 5700 XT
Mac
  1. MacBook
  2. MacBook Pro
Mobile Phone
  1. iOS
i changed the smbios to iMac14,2 but macos still freeze while rendering with h264 in davinci resolve : ( ,any fix ?
also can you please tell me how can i attach DGPU to GFX0 in clover ?
and one more question !, are vega GPU's natively support encoding and decoding or will it require any tweaking just like this RX card to make it work.
thanks !
Which version of Mojave are you using? The stability was reached in the beta 1 of Mojave 10.14.4.
On High Sierra there is not hardware (discrete gpu) support for H264, afaik.
 
Joined
Oct 26, 2013
Messages
1,054
Motherboard
MSI B250M PRO-VHD
CPU
i3-7100
Graphics
RX 570
i changed the smbios to iMac14,2 but macos still freeze while rendering with h264 in davinci resolve : ( ,any fix ?

RX4XX/5XX H264 GVA encoder will not work on 10.13.x to 10.14.3. No fix yet.

can you please tell me how can i attach DGPU to GFX0 in clover ?

Select “change PEGP to GFX0” from “List Of Patches” on Clover Configurator Acpi Patches section.

are vega GPU's natively support encoding and decoding

Yes, H264 / HEVC GVA encoder are native supported by Vega GPU, no dummy kext is required, AMD H264 GVA encoder need hwe420 which supported by SMBIOS iMacPro1,1, HEVC GVA encoder/decoder need DGPU attached to device GFX0.
 
Joined
May 27, 2013
Messages
168
Motherboard
GA-Z390 AORUS PRO WIFI
CPU
i9-9900K
Graphics
RX 5700 XT
Mac
  1. MacBook
  2. MacBook Pro
Mobile Phone
  1. iOS
Mojave 10.14.4 beta 2 (18E184e) looks better.
For my system, if I use SMBIOS iMacPro1,1 or with the bootarg shiki-id, or copying/replacing the params from this to iMac15,1 the system freezes randomly using FCPX. Export works but with issues/glitches.

Injecting the param 'hwe420' directly into /System/Library/PrivateFrameworks/AppleGVA.framework/Versions/A/Resources/Info.plist, for my board-id (iMac15,1), the system become more stable and the export from FCPX have no glitches.

Stable configuration:
  • No iGPU enabled.
  • Only discrete GPU enabled, Radeon RX580.
  • CPU i7 4970K.
  • Netflix on Safari: OK
  • iTunes DRM Streaming: OK
  • FCPX: Stable
  • VideoProc: Stable
  • AppleGVA/Info.plist config:
Code:
<key>Mac-42FD25EABCABB274</key>
<dict>
    <key>burstSize</key>
    <integer>4</integer>
    <key>facetimeDecode</key>
    <true/>
    <key>forceOfflineRenderer</key>
    <true/>
    <key>hwe</key>
    <true/>
    <key>hweBGRA</key>
    <true/>
    <key>hwe420<key>
    <true/>
    <key>ke1</key>
    <true/>
    <key>pp</key>
    <integer>1</integer>
</dict>
 
Joined
Feb 10, 2012
Messages
79
Motherboard
Gigabyte GA-Z370-HD3P
CPU
i5-9600K
Graphics
RX 6800 XT
Mac
  1. MacBook Pro
Classic Mac
  1. 512K
Mobile Phone
  1. iOS
@familygw Thanks for installing already and reporting back. Sorry but I'm unclear... For your stable configuration what are your SMBIOS settings and boot flags? Also do you mind pasting what you get if you run the following in a terminal?

defaults read com.apple.AppleGVA
defaults read com.apple.coremedia
 
Joined
Jul 28, 2012
Messages
11
Motherboard
ASUS H170 PRO GAMING
CPU
Intel Core i5-6500
Graphics
ASUS GeForce GTX 1060 6GB
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Mojave 10.14.4 beta 2 (18E184e) looks better.
For my system, if I use SMBIOS iMacPro1,1 or with the bootarg shiki-id, or copying/replacing the params from this to iMac15,1 the system freezes randomly using FCPX. Export works but with issues/glitches.

Injecting the param 'hwe420' directly into /System/Library/PrivateFrameworks/AppleGVA.framework/Versions/A/Resources/Info.plist, for my board-id (iMac15,1), the system become more stable and the export from FCPX have no glitches.

Stable configuration:
  • No iGPU enabled.
  • Only discrete GPU enabled, Radeon RX580.
  • CPU i7 4970K.
  • Netflix on Safari: OK
  • iTunes DRM Streaming: OK
  • FCPX: Stable
  • VideoProc: Stable
  • AppleGVA/Info.plist config:
Code:
<key>Mac-42FD25EABCABB274</key>
<dict>
    <key>burstSize</key>
    <integer>4</integer>
    <key>facetimeDecode</key>
    <true/>
    <key>forceOfflineRenderer</key>
    <true/>
    <key>hwe</key>
    <true/>
    <key>hweBGRA</key>
    <true/>
    <key>hwe420<key>
    <true/>
    <key>ke1</key>
    <true/>
    <key>pp</key>
    <integer>1</integer>
</dict>
Did you use WhateverGreen.kext?
 
Joined
May 27, 2013
Messages
168
Motherboard
GA-Z390 AORUS PRO WIFI
CPU
i9-9900K
Graphics
RX 5700 XT
Mac
  1. MacBook
  2. MacBook Pro
Mobile Phone
  1. iOS
Hi @aforty
The SMBIOS that I'm using right now is for a iMac15,1 (Mac-42FD25EABCABB274) because it fits better with my hardware, and in the GVA properties I've injected only the parameter 'hwe420' as true.

Here is the results of the suggested commands:
Code:
familygw:~$ defaults read com.apple.AppleGVA
2019-02-06 14:48:15.466 defaults[832:38333] 
Domain com.apple.AppleGVA does not exist
familygw:~$ defaults read com.apple.coremedia
2019-02-06 14:48:16.482 defaults[833:38348] 
Domain com.apple.coremedia does not exist
familygw:~$

Hi @iamsteven the kexts that I'm using are:
  • Whatevergreen
  • Lilu
  • AppleALC
  • NoVPAJpeg
  • dummy141.kext

Regards.
 
Joined
May 27, 2013
Messages
168
Motherboard
GA-Z390 AORUS PRO WIFI
CPU
i9-9900K
Graphics
RX 5700 XT
Mac
  1. MacBook
  2. MacBook Pro
Mobile Phone
  1. iOS
Joined
Oct 26, 2013
Messages
1,054
Motherboard
MSI B250M PRO-VHD
CPU
i3-7100
Graphics
RX 570
For my system, if I use SMBIOS iMacPro1,1 or with the bootarg shiki-id, or copying/replacing the params from this to iMac15,1 the system freezes randomly using FCPX. Export works but with issues/glitches.

Tested SMBIOS iMac15,1 with above conditions, have no randomly free issue on FCPX, export H264 have some glitches issue probably due to bug in colour space conversion, add hweBGRA to AppleGVA info.plist may fix this issue.

Tested with Haswell G1840 + RX460, SKL G4500 + RX570, KBL i3-7100 + RX570, SMBIOS iMac15,1/MacPro6,1/iMacPro1,1, on Mojave 10.14.4 (18E174f) all OK.

EDIT: Add hweBGRA to AppleGVA info.plist does not fix H264 video output green artefacts issue.
 
Last edited:
Joined
Jun 18, 2015
Messages
99
Motherboard
Gigabyte Z390 Aorus Master
CPU
i9-9900K
Graphics
RX 6900 XT
Mojave 10.14.4 beta 2 (18E184e) looks better.
For my system, if I use SMBIOS iMacPro1,1 or with the bootarg shiki-id, or copying/replacing the params from this to iMac15,1 the system freezes randomly using FCPX. Export works but with issues/glitches.

Injecting the param 'hwe420' directly into /System/Library/PrivateFrameworks/AppleGVA.framework/Versions/A/Resources/Info.plist, for my board-id (iMac15,1), the system become more stable and the export from FCPX have no glitches.

Stable configuration:
  • No iGPU enabled.
  • Only discrete GPU enabled, Radeon RX580.
  • CPU i7 4970K.
  • Netflix on Safari: OK
  • iTunes DRM Streaming: OK
  • FCPX: Stable
  • VideoProc: Stable
  • AppleGVA/Info.plist config:
Code:
<key>Mac-42FD25EABCABB274</key>
<dict>
    <key>burstSize</key>
    <integer>4</integer>
    <key>facetimeDecode</key>
    <true/>
    <key>forceOfflineRenderer</key>
    <true/>
    <key>hwe</key>
    <true/>
    <key>hweBGRA</key>
    <true/>
    <key>hwe420<key>
    <true/>
    <key>ke1</key>
    <true/>
    <key>pp</key>
    <integer>1</integer>
</dict>
Hello, i still have green artefacts when exporting from FCPX to h264... but only when i use h264 media as source.
 
Top