Contribute
Register

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

Status
Not open for further replies.
Maybe the SMBIOS isn’t the right one ?
I tried with SMBIOS iMac15,1 with headless HD4600 (which is recommended by hackintool for my haswell configuration) and get no HEVC ;(.

I will probably go back to iMacPro1,1, even if this guide states that my system could be unstable....
 
AMD HEVC encoder work fine with FCPX 10.4.6 + Compressor 4.4.4 not FCPX 10.4.7 + Compressor 4.4.5 and up, issue seems to be caused by Compressor 4.4.5, tested on Mojave and Cataline, get same result.

Standalone Compressor 4.4.4 transcodes h.264 to HEVC using the AMD GPU for encoding with no load on the CPU.
But it does not work with FCPX 10.4.8. That is FCPX 10.4.8 + Compressor 4.4.4 = CPU encode.

Here's the screenshot of standalone Compressor (using @mitch_de's tool to show encoding by AMD):
Screenshot 2019-12-14 at 15.24.27.png


This was with Model set to iMacPro1,1. Note the CPU frequency is always high with this model ID as CPU power management does not work well with Ivy Bridge i7-3700K + iMacPro1,1 model ID.
 
Just as I suspected - It's not really using the AMD GPU.
I never found VideoProc to be reliable tool for validating which GPU would be used.
I used the (very nice) Mitch tool while encoding and it says that VideoProc is using the encoding of my RX580.
Capture d’écran 2019-12-14 à 17.07.52.png
 
here you go
Thanks a lot ! I got an error when compiling via hackintool and juste installed xcode got enough time to go further. Now I can try it!
 
But it does not work with FCPX 10.4.8. That is FCPX 10.4.8 + Compressor 4.4.4 = CPU encode.

I have not test FCPX 10.4.8 + Compressor 4.4.4, not sure it will work or not.

This was with Model set to iMacPro1,1. Note the CPU frequency is always high with this model ID as CPU power management does not work well with Ivy Bridge i7-3700K + iMacPro1,1 model ID.

Try CPUFriend for CPU PM, should work with IVY + iMacPro1,1.
 
depouy,

I use a script to download and compile the latest Lilu, WEG, AppleALC, etc. I'm afraid I don't remember
who to attribute it to.

First you install Xcode from the Apple store, which takes a while. I then use the shell script below here.
Make a directory for it, such as by using the terminal command
mkdir ~/mykexts

Put the script in a text file there, in a file named build_lilu.sh
You may have to change permissions to execute it:
chmod +x build_lilu.sh

Invoke it:
~/mykexts/build_kext.sh

It makes both the Debug and Release versions, which end up in their own subdirectories.
If you're not debugging, use the Release versions. Here's the script:

#!/bin/sh
git clone https://github.com/acidanthera/Lilu
git clone https://github.com/acidanthera/WhateverGreen
git clone https://github.com/acidanthera/AppleALC
git clone https://github.com/acidanthera/VirtualSMC

mkdir Debug
mkdir Release

xcodebuild -project ./Lilu/Lilu.xcodeproj -configuration Debug clean build ARCHS=x86_64 ONLY_ACTIVE_ARCH=YES CONFIGURATION_BUILD_DIR=../Debug

cp -r ./Debug/Lilu.kext ./WhateverGreen
cp -r ./Debug/Lilu.kext ./AppleALC
cp -r ./Debug/Lilu.kext ./VirtualSMC

xcodebuild -project ./WhateverGreen/WhateverGreen.xcodeproj -configuration Debug clean build ARCHS=x86_64 ONLY_ACTIVE_ARCH=YES CONFIGURATION_BUILD_DIR=../Debug
xcodebuild -project ./AppleALC/AppleALC.xcodeproj -configuration Debug clean build ARCHS=x86_64 ONLY_ACTIVE_ARCH=YES CONFIGURATION_BUILD_DIR=../Debug
xcodebuild -project ./VirtualSMC/VirtualSMC.xcodeproj -configuration Debug clean build ARCHS=x86_64 ONLY_ACTIVE_ARCH=YES CONFIGURATION_BUILD_DIR=../Debug

xcodebuild -project ./Lilu/Lilu.xcodeproj -configuration Release clean build ARCHS=x86_64 ONLY_ACTIVE_ARCH=YES CONFIGURATION_BUILD_DIR=../Release
xcodebuild -project ./WhateverGreen/WhateverGreen.xcodeproj -configuration Release clean build ARCHS=x86_64 ONLY_ACTIVE_ARCH=YES CONFIGURATION_BUILD_DIR=../Release
xcodebuild -project ./AppleALC/AppleALC.xcodeproj -configuration Release clean build ARCHS=x86_64 ONLY_ACTIVE_ARCH=YES CONFIGURATION_BUILD_DIR=../Release
xcodebuild -project ./VirtualSMC/VirtualSMC.xcodeproj -configuration Release clean build ARCHS=x86_64 ONLY_ACTIVE_ARCH=YES CONFIGURATION_BUILD_DIR=../Release
Thanks a lot Lisa
I just finished downloading Xcode from AppStore when I received your feedback... That will help me a lot for further steps !
 
Here's the screenshot of standalone Compressor (using @mitch_de's tool to show encoding by AMD):

This was with Model set to iMacPro1,1. Note the CPU frequency is always high with this model ID as CPU power management does not work well with Ivy Bridge i7-3700K + iMacPro1,1 model ID.

Hi macnb,

I have the same CPU and a similar motherboard as you. I tried to set my SMBIOS to iMacPro1,1 and disabled IGPU in BIOS. I also had the dummy152.kext but I still couldn't get my HEVC encoding working. Do you have any suggestions?

Thanks,
Joseph
 
Last edited:
I used the (very nice) Mitch tool while encoding and it says that VideoProc is using the encoding of my RX580.

What ig-platform-id are you using for hd4600&iMacPro1,1?

II have tried using no ig-platform-id, the regular for iGPU and the headless one. iMacPro1,1 with RX580 but no hevc.

Regarding you netflix-problem, I read at github that drm-playback did not work yet.
 
Last edited:
I used the (very nice) Mitch tool while encoding and it says that VideoProc is using the encoding of my RX580.
View attachment 440437

Updated AMD GPU Menue (RX 4xx/4xx only!) to V0.8
- now shows also GPU HW Decoding aktiv = YES oder NO
- Max Temp / Max Clk Values (Shown if you click on AMD Menue = are resetable - simple click in this max Values line

PS: Davinci Resolve ( i use Mojave) shows both (Dec=YES on playing, Dec+Enc=YES on export) - FCP didnt shows Dec on play - FCP handles the GPU litte different case of HW dec - not used - but uses the gpu also.
Bildschirmfoto 2019-12-15 um 12.11.10.jpg

I am sure you will see changes in the Redering Speeds xxx FPS encoding h265 if HW Enc is not used / not working . At least if you have not an ultra high speed 12 Cores+ CPU ;)


PS2: You can change refresh rate of the values by setting lower refresh time as default 2 sec. Use the slide to measure faster /less refresh time) after you click on the AMD menue line.
 

Attachments

  • AMD GPU Menue V0.8.app.zip
    7 MB · Views: 216
Last edited:
What ig-platform-id are you using for hd4600&iMacPro1,1?

II have tried using no ig-platform-id, the regular for iGPU and the headless one. iMacPro1,1 with RX580 but no hevc.

Regarding you netflix-problem, I read at github that drm-playback did not work yet.

I don't use any ig-platform-id in my config.plist.
However here is what's detected by hackintool.
Capture d’écran 2019-12-15 à 16.54.25.png


I use WhateverGreen 1.3.5 and Lilu 1.4.0 with no shiki boot args.

If I don't disable iGPU, videoproc reports that HEVC is enabled but DaVinci does not hardware encode. To get Hardware encoding in DaVinci I need to disable iGPU in the bios.

I can read DRM protected content in apple TV and Itunes. I can hardware encode in HEVC with DaVinci. The only problem is netflix in Safari (which is not really a problem since I have chrome).
 

Attachments

  • Capture d’écran 2019-12-15 à 16.19.19.png
    Capture d’écran 2019-12-15 à 16.19.19.png
    21.3 KB · Views: 77
Status
Not open for further replies.
Back
Top