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 Lisa,

I tried compiling using the script you provided but each time I've got a syntax error when invoking...

p@computer mykexts % ~/mykexts/build_whatevergreen.sh

/Users/p/mykexts/build_whatevergreen.sh: line 1: {rtf1ansiansicpg1252cocoartf2511: command not found

/Users/p/mykexts/build_whatevergreen.sh: line 2: syntax error near unexpected token `}'

/Users/p/mykexts/build_whatevergreen.sh: line 2: `\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fnil\fcharset0 Verdana;}'

I don't understand, I don't know what I miss...

EDIT : Now it's ok, I just forgot to add Lilu.kext (1.4.1) in whatever green master.

Whatevergreen and Lilu are now compiled as "release" from latest GitHub masters.

I'll give it a try.

My config is SMBIOS 17,1 (H530 Headless) for now.




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
 
Last edited:
Well it works well with the last version 1.3.6 of whatevergreen

you have to compile yourself as it was not released

SMBIOS 1.1 Mac Pro with RX 580 and full HW accel (DRM, HEVC...) and iGPU disabled

Hi epalzeo !
In Catalina? 10.15.1/10.15.2 ?
 
Once I had that error in Hackintool and it was because I had the IGPU set to auto instead of enable. Try setting it to enable and then try again.
Hi tecnicasopr !
You're right.
Most of the time if iGPU is set to "auto" it means disabled when main display is set on "PCI"
 
Hi Lisa,

I tried compiling using the script you provided but each time I've got a syntax error when invoking...

p@computer mykexts % ~/mykexts/build_whatevergreen.sh

/Users/p/mykexts/build_whatevergreen.sh: line 1: {rtf1ansiansicpg1252cocoartf2511: command not found

/Users/p/mykexts/build_whatevergreen.sh: line 2: syntax error near unexpected token `}'

/Users/p/mykexts/build_whatevergreen.sh: line 2: `\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fnil\fcharset0 Verdana;}'

I don't understand, I don't know what I miss...
You copied it with all the styles. Use a plain text editor like VSCode or nano to save the script.
 
Just download the source(or git clone so you can update it easily), paste a Debug copy of Lilu.kext in the source folder and run "xcodebuild -config Release" in terminal in the source path and it will build. Its that easy really...longest part should be downloading xcode.
 
Just download the source(or git clone so you can update it easily), paste a Debug copy of Lilu.kext in the source folder and run "xcodebuild -config Release" in terminal in the source path and it will build. Its that easy really...longest part should be downloading xcode.
Thanks a lot guys!

I already fixed it and compiled correctly.
Unfortunately everything works fine with the latest version of Lilu and WEG (1.3.6) except DRM playback in Safari (shikigva=80) makes computer freeze.

I don't even want to change SMBIOS (17,1) because it fits perfectly my system and hardware encoding is smooth.(And recommended by Acidentera)
DRM on Safari is the only issue remaining and it works using other web browsers so I think I'm done with headaches for now. Let's wait and see on release day ! lol
 
If you run the following in Safari DevTools does it return true? If it returns false then doesn't it mean something is still missing?

WebKitMediaKeys.isTypeSupported("com.apple.fps.2_1", "video/mp4")

For me it returns false = $2 with shikigva=96
Freezes the system with shikigva=144

In both scenarios VideoProc shows H264 and HEVC enabled.
 
Thanks a lot guys!

I already fixed it and compiled correctly.
Unfortunately everything works fine with the latest version of Lilu and WEG (1.3.6) except DRM playback in Safari (shikigva=80) makes computer freeze.

I don't even want to change SMBIOS (17,1) because it fits perfectly my system and hardware encoding is smooth.(And recommended by Acidentera)
DRM on Safari is the only issue remaining and it works using other web browsers so I think I'm done with headaches for now. Let's wait and see on release day ! lol
in my case imacpro1,1 shikivga=16 works without any values in device/properties
H264 not working H256 works
 
Status
Not open for further replies.
Back
Top