Contribute
Register

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

Joined
May 11, 2011
Messages
696
Motherboard
Asrock B365M Phantom Gaming
CPU
i5-9600KF
Graphics
RX 580
Mobile Phone
iOS
Testing the new iMac 19,1 SMBIOS with 10.14.4 special build still no GVA support, have to use the dummy kext....
The IGPU is enabled but doesn't show in system info, only in IORegistry.
For the people who wants to test the new iMac SMBIOS 19,1 and 19,2 boot with -no_compat_check in recovery partition and reinstall Mac OS 10.14.4 from Apple server, it will install a special build 18E2034.
 

Attachments

Last edited:
Joined
Sep 15, 2015
Messages
152
Motherboard
Gigabyte GA-Z97X-GAMING 3
CPU
i7-4790K
Graphics
Sapphire Nitro RX 480 OC
Mac
MacBook Pro
Can someone test if using defaults write com.apple.AppleGVA forceATI -bool YES actually forces encoders to use an AMD GPU (that supports encoding) over the iGPU? I'm like 90% sure this wasn't the case in 10.14.3, but it seems to now be the case in 10.14.4.

I accidentally had it set, and an app I write that uses the GVA encoder started connecting to the AMD plugin after I upgraded
 
Joined
May 11, 2011
Messages
696
Motherboard
Asrock B365M Phantom Gaming
CPU
i5-9600KF
Graphics
RX 580
Mobile Phone
iOS
Can someone test if using defaults write com.apple.AppleGVA forceATI -bool YES actually forces encoders to use an AMD GPU (that supports encoding) over the iGPU? I'm like 90% sure this wasn't the case in 10.14.3, but it seems to now be the case in 10.14.4.

I accidentally had it set, and an app I write that uses the GVA encoder started connecting to the AMD plugin after I upgraded
Working, dummy kext and force ATI.

Update: I can't export H264 with FCPX.
 

Attachments

Last edited:
Joined
Jul 26, 2016
Messages
24
Motherboard
GA-Z77X-UP5 TH
CPU
i7-3770K
Graphics
RX 580
Mac
iMac, MacBook, MacBook Air, MacBook Pro, Mac Pro
Classic Mac
Classic, iMac
Mobile Phone
iOS
@macnb which settings are you using nowadays?
Being able to encode/decode h264 / hevc in Mojave?
Very interested, as I have the same mobo...
 
Joined
May 11, 2011
Messages
696
Motherboard
Asrock B365M Phantom Gaming
CPU
i5-9600KF
Graphics
RX 580
Mobile Phone
iOS
@macnb which settings are you using nowadays?
Being able to encode/decode h264 / hevc in Mojave?
Very interested, as I have the same mobo...
Just remove dummy kext and enable iGPU in bios and H264/ hevc will work.
 
Joined
Jul 26, 2016
Messages
24
Motherboard
GA-Z77X-UP5 TH
CPU
i7-3770K
Graphics
RX 580
Mac
iMac, MacBook, MacBook Air, MacBook Pro, Mac Pro
Classic Mac
Classic, iMac
Mobile Phone
iOS
Ok, so just installing last version of mojave eveything works?
 
Joined
May 11, 2011
Messages
696
Motherboard
Asrock B365M Phantom Gaming
CPU
i5-9600KF
Graphics
RX 580
Mobile Phone
iOS
I played with a real iMac 5k 2017 Mojave 10.14.4 and I saw in ioreg under AMDRadeonX4000_AMDRadeonHWServicesPolaris that is loading AMDRadeonX4200_AMDRadeonHWLibs, my hack is loading x4000.

How can I load AMDRadeonX4200_AMDRadeonHWLibs ???
 

Attachments

Last edited:
Joined
Oct 26, 2013
Messages
952
Motherboard
MSI B250M PRO-VHD
CPU
i3-7100
Graphics
RX 570
Does SMBIOS iMacPro have a negative impact on native CPU Power Management?
Sorry for late reply, just travelling back from Macau.

Result basically same as iMac14,x/15,x, tested with HSW G1840 + RX460.

No matter SMBIOS iMac14,x/15,x or iMacPro1,1, all without built-in frequency vector table in X86PlatformPlugin info.plist, just common XCPM control.

If want better CPU PM or PM not limited by SMBIOSs, try inject frequency vector table to X86PlatformPlugin info.plist, download CPUFriend from below link and place it to CLOVER/kexts/Other, copy attached frequency data sample to CLOVER/ACPI/patched.

See below link for detail, need lilu.kext


ssdt-3300.aml offset at 3.3 GHz, suitable for HSW/SKL/KBL CPU frequency from 2.9 GHz to 3.7 GHz.

ssdt-3500.aml offset at 3.5 GHz, suitable for HSW/SKL/KBL CPU frequency from 3.1 GHz to 3.9 GHz.
 

Attachments

Joined
Feb 24, 2016
Messages
5
Motherboard
Asus Prime X299-Deluxe II
CPU
i9-9900X
Graphics
WX5100
Mac
MacBook Pro
Mobile Phone
iOS
Hey guys, jumping in to this with you! Took me 2 days to go through this thread and I'm still having trouble with similar issues as discussed here.

First, my build!

Core i9 9900X
Asus Prime X299-Deluxe II
64GB DDR4 RAM
AMD Radeon Pro WX5100

Im on the newest version of Mojave, 10.14.5 (beta)

Im having freezing issues all over the place. Pretty much any time the video card gets medium amount of use in an application, the computer hangs. For example, Final Cut Pro, Logic Pro, Cubase, even Safari hanged once. I don't even have to do anything in the apps, just loading a session and waiting is usually enough for it to freeze after a minute or 2.

I thought going with the WX5100 would be less headache because its supported by Apple...but oh boy was I wrong.

Attached is an example of a freeze and also what VideoProc shows.

Other than this freezing issue, everything else works great! Shutdown/Restart/Sleep work (for the most part..lol), USB ports all work fine, iCloud and iMessage work, system is nice and snappy, etc.

If anyone has any ideas for me to try, I'm all ears!
 

Attachments

Joined
Oct 23, 2010
Messages
850
Motherboard
GA-Z77X-UP5-TH
CPU
i7-3770K
Graphics
RX 580
Mac
iMac, MacBook Pro
Mobile Phone
Android, iOS,
@macnb which settings are you using nowadays?
Being able to encode/decode h264 / hevc in Mojave?
Very interested, as I have the same mobo...
I am on MacOS 10.14.4.
I enabled the IGPU connector-less (needed enable H.264 encode/decode WITHOUT green artefacts)
I installed Dummy141.kext in EFI/Others (needed to enable HEVC encode/decode in RX580)
I use SMBIOS iMac13,2
I have DSDT.aml and SSDT.aml (for CPU power management)

For H.264 encode, IGPU is used and it's pretty good output (up to to 59.94fps). If I disable the IGPU, the H.264 is done by RX580 and it's very quick too BUT there are green glitches/artefacts in the output after about one second of play.

For HEVC 8-bit 29.97fps encode, the RX580 is utilised. Attempting to encode at 59.94fps HANGS the system.
For HEVC 10-bit encode, the CPU ONLY is used (i.e. software only encode). Output is pretty good BUT takes a LONG time.

For HEVC 8-bit decode (playback) at 29.97fps, the RX580 is utilised.
For HEVC 10-bit decode (playback) at 59.94fps, the CPU is utilised instead and frames are dropped (stutters since the i7 3770K is not powerful enough).

WITHOUT Dummy kext, it's NOT possible to utilise the RX580 for HEVC (or H.264) encode/decode.

Above steps done with FCPX.

I tried iMacPro1,1 + dummy141.kext + IGPU disabled.
Same results as above, except CPU power management is erratic (e.g. does not idle down to 1.6GHz)
 
Last edited:
Top