Contribute
Register

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

Status
Not open for further replies.
Hi ! Thanks for your reply
Did you try it too? Does it deliver on its commitments?
i don't have the same hardware as you :)
 
Hi! Great Job!
Do you think it would work with SMBIOS 17,1? I guess you have HTML5 streaming (Netflix) working in Safari since you use SMBIOS as an ImacPro1,1. I wonder if it would work now on 17,1.
Could you please share your WEG compiled?

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
 
here you go
 

Attachments

  • WhateverGreen-1.3.6-HEVCFIX.zip
    442.2 KB · Views: 120
I compiled the new WEG but is it working for anyone?
10.15.2 + RX 580 + iMacPro1,1 with same config I had in Mojave (where it all worked) and nada. If I even navigate to Netflix.com in Safari my computer freezes hard.
 
Last edited:
WEG does have new code (since 2 hours), belongs to HVEC enc.
Added HEVC capabilities to AMD6 decoders for all GPUs ( i think AMD6 means RX4xx/5xx GPUs)
Code changes
Many thanks for the heads up.
I just compiled the WEG 1.3.6 and it does the same function as the dummy152.kext for DECODING HEVC (AMDU6V3).
The Sony Camp video plays smoothly and not too much load on the CPU.
I tried it on my i7-3770K + RX580 as iMacPro1,1. IGPU always disabled in the BIOS.

Using iMac13,2 model with shikigva=32 and shiki-id=Mac-7BA5B2D9E42DDD94, HEVC playback is smooth and not too much load on CPU.

However HEVC encode does not work.
As iMac13,2 model, FCPX 10.4.8 fails to encode with an error.
As iMacPro1,1 model, FCPX encodes but seems to be in S/W using the CPU as the CPU frequency is Max'ed out.

So Catalina is a step backwards as far HEVC encode is concerned.
 
Hello,Rajkhand.
I had read your EFI,You say With this values iMovie,FCP and Darktable DON'T work.
Mabe you can patch connector by hackintool and change bus id to 0x04 of index 3, please follow picture as below
My M/B is Gigabyte Z390 M(Have DVI*1/DP*1/HDMI*1) and MSI rx580 armor 8G OC.

I only connect the HDMI cable to the HDMI port and use it to boot, the other two i have not tested,This method works fine with FCPX .If the bus id is incorrect, FCPX will close quickly when you open

Clover/device/Properties text mode (patch by Hackintool)
-------------------------------------------------------------------
<key>Properties</key>
<dict>
<key>PciRoot(0x0)/Pci(0x2,0x0)</key>
<dict>
<key>AAPL,ig-platform-id</key>
<data>
BwCbPg==
</data>
<key>AAPL,slot-name</key>
<string>Internal@0,2,0</string>
<key>device-id</key>
<data>
mz4AAA==
</data>
<key>device_type</key>
<string>Display controller</string>
<key>enable-hdmi20</key>
<data>
AQAAAA==
</data>
<key>framebuffer-con0-busid</key>
<data>
AQAAAA==
</data>
<key>framebuffer-con0-enable</key>
<data>
AQAAAA==
</data>
<key>framebuffer-con0-pipe</key>
<data>
EgAAAA==
</data>
<key>framebuffer-con1-busid</key>
<data>
AgAAAA==
</data>
<key>framebuffer-con1-enable</key>
<data>
AQAAAA==
</data>
<key>framebuffer-con1-pipe</key>
<data>
EgAAAA==
</data>
<key>framebuffer-con1-type</key>
<data>
AAgAAA==
</data>
<key>framebuffer-con2-busid</key>
<data>
BAAAAA==
</data>
<key>framebuffer-con2-enable</key>
<data>
AQAAAA==
</data>
<key>framebuffer-con2-pipe</key>
<data>
EgAAAA==
</data>
<key>framebuffer-con2-type</key>
<data>
AAgAAA==
</data>
<key>framebuffer-patch-enable</key>
<data>
AQAAAA==
</data>
<key>framebuffer-unifiedmem</key>
<data>
AAAAgA==
</data>
<key>hda-gfx</key>
<string>onboard-2</string>
<key>model</key>
<string>Intel UHD Graphics 630 (Mobile)</string>
</dict>
</dict>
----------------------------------------------------------------------------------

BruceX Test - 5K 10s (I5-8500/32G DDR4/RX580/ADATA SX8200PNP 512G)
I tried it and can confirm that FCP works but if I try to share for Computer device it reboots the computer. Also Hackintool says VDA Decoder Fully Supported but Videoproc cannot enable HEVC encoder
 
I tried WEG 1.3.6 with 10.15.2 + Haswell + Intel HD Graphics 4600 + Radeon RX 580 + SMBIOS iMacPro1,1 and videoProc says that HEVC is ok ;)

However if I even navigate to Netflix.com in Safari my computer freezes hard.
 
another, newer commit (source code change) on WEG:
- Added HEVC capabilities to AMD6 decoders for all GPUs (disabled by `-radnogva` or `disable-gva-support`)
Because of commit before - Added HEVC capabilities to AMD6 decoders for all GPUs- which may result in crashes (Bugs in Apple AMD drivers / GVA ?) - now WEG added code and an -radnogva parameter to disable that (before always enabled) function.

PS: Maybe Apple remove(d) sometimes AMD HVEC (or MP4) to avoid problems and add that function in later OS X updates which fixed AMD driver probs?
 
Last edited:
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
Hi! I’d l’d like to thank you for your feedback. I juste had time to install xcode yesterday. I’ll try next evening.
Have a nice day !
 
Status
Not open for further replies.
Back
Top