Contribute
Register

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

Status
Not open for further replies.
@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.
 
Ok, so just installing last version of mojave eveything works?
 
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

  • BAA6EA9E-E432-4905-A643-6BBB74FCC2CF.jpeg
    BAA6EA9E-E432-4905-A643-6BBB74FCC2CF.jpeg
    458.4 KB · Views: 88
Last edited:
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

  • ssdt-3300.aml
    15.2 KB · Views: 68
  • ssdt-3500.aml
    15.2 KB · Views: 76
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

  • Screen Shot 2019-04-07 at 10.43.31 AM.png
    Screen Shot 2019-04-07 at 10.43.31 AM.png
    88.6 KB · Views: 103
  • IMG_3130.JPG
    IMG_3130.JPG
    3.7 MB · Views: 106
@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:
Just remove dummy kext and enable iGPU in bios and H264/ hevc will work.

NOT correct advice.
WITHOUT the dummy kext, the RX4XX/RX5XX will not be utilised and you will only get Intel Quicksync/Software encode/decode which is fine and will work. BUT, that's the not the purpose of this thread here (which is to try and use the AMD GPU for encode/decode).
 
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)

I have absolutely same problem. Right now I'm testing i5-2500K with RX560 - 4GB. There is no IGPU .
HEVC are perfect but on H264 are green glitches/artefacts in the output after about one second of play. after that on all film there is no problem. I use SMBIOS 14.2, also I test SMBIOS Imac 15.1. So I should use boot flag shikigva=32
and shiki-id=Mac-7BA5B2D9E42DDD94 to get export H264. with green glitches/artefacts. If I not use this boot flag H264 give me error on export.

Is some one with 10.14.5 to test this situation ? ( To disable IGPU and export H264 )
 
10.14.5 beta 2 (18F108f) update

RX4XX/5XX IOGVA natively supported and all GVA acceleration back on this version, no dummy kext is required, H264 green artifacts issue seems to be gone (export as H264 fine, so far no green artifacts found), everything perfect, is time to say goodbye IQSV.
 
Status
Not open for further replies.
Back
Top