Contribute
Register

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

Status
Not open for further replies.
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
Hi,Rajkhand
Sorry for posted a connector patch and I lost a key
That have four keys per connector,like con1-busid/con1-enable/con1-pipe/con1-type

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



I don't understand why the clover configurator is missing this KEY when I pasted and saved.
Please use Xcode or PlistEdit Pro to add it and confirm its existence again, The reference values are as below

<key>framebuffer-con0-type</key>
<data>AAgAAA==</data>

This KEY defines the value of the connector as HDMI. No restart occurred in my test.

If you use 10.15.2 you need hevcenabler.kext,That will enable HEVC of videoproc
If the restart happens again,May be your display port are different with my GA Z390 M
Please fix connector ports with hackintool yourself, like attach file
 

Attachments

  • 螢幕快照 2019-12-18 12.17.23.png
    螢幕快照 2019-12-18 12.17.23.png
    1.5 MB · Views: 114
  • HEVCEnabler.kext.zip
    2.4 KB · Views: 127
Hi,Rajkhand
Sorry for posted a connector patch and I lost a key
That have four keys per connector,like con1-busid/con1-enable/con1-pipe/con1-type

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



I don't understand why the clover configurator is missing this KEY when I pasted and saved.
Please use Xcode or PlistEdit Pro to add it and confirm its existence again, The reference values are as below

<key>framebuffer-con0-type</key>
<data>AAgAAA==</data>

This KEY defines the value of the connector as HDMI. No restart occurred in my test.

If you use 10.15.2 you need hevcenabler.kext,That will enable HEVC of videoproc
If the restart happens again,May be your display port are different with my GA Z390 M
Please fix connector ports with hackintool yourself, like attach file
Will try thanks
 
in my case imacpro1,1 shikivga=16 works without any values in device/properties
H264 not working H256 works
You can use my CONFIG.PLIST / CLOVER UEFI / CLOVER Kext first, like I posted early, I have used rx570, the settings are not different with rx580

remove whatever green 1.3.6 use hevcenabler.kext and patch DSDT/ACPI for h.265 HEVC
 

Attachments

  • 螢幕快照 2019-12-18 16.38.13.png
    螢幕快照 2019-12-18 16.38.13.png
    94.6 KB · Views: 163
  • 螢幕快照 2019-12-18 16.43.27.png
    螢幕快照 2019-12-18 16.43.27.png
    201.2 KB · Views: 155
You can use my CONFIG.PLIST / CLOVER UEFI / CLOVER Kext first, like I posted early, I have used rx570, the settings are not different with rx580

remove whatever green 1.3.6 use hevcenabler.kext and patch DSDT/ACPI for h.265 HEVC
when you say remove whatevergreen 1.3.6 you mean completely remove? or use 1.3.5 and not 1.3.6? what about Lilu?
 
when you say remove whatevergreen 1.3.6 you mean completely remove? or use 1.3.5 and not 1.3.6? what about Lilu?

I post the 10.15.2 H.264 HEVC Performance Test Result (#1336) uses the following settings ,I used wehatevergreen 1.3.5 and Lilu 1.4 now.

Clover bootloader V5100

UEFI

ApfsDriverLoader.efi
DataHubDxe.efi
EmuVariableUefi.efi
FSInject.efi
HFSPlus.efi
NvmExpressDxe.efi
OsxAptioFix2Drv-free2000.efi
PartitionDxe.efi

KEXT
HEVCEnabler.kext (v.1.0)
XHCI-unsupported.kext (v.0.9.2)
WhateverGreen.kext (v.1.3.5)
USBPorts.kext (v.1.0) ----Customized USB 2/3 BY Hackintool v2.8.7 and recognize
Lilu.kext (v.1.4.0)
IntelMausiEthernet.kext (v.2.4.1d1)
FakeSMC.kext (v.1800)
FakeSMC_SMMSensors.kext (v.1800)
FakeSMC_LPCSensors.kext (v.1800)
FakeSMC_GPUSensors.kext (v.1800)
FakeSMC_CPUSensors.kext (v.1800)
FakeSMC_ACPISensors.kext (v.1800)
AppleALC.kext (v.1.4.4)
 
Try CPUFriend for CPU PM, should work with IVY + iMacPro1,1.
Thanks. That CPUFriend kext helped.
I ran :
Code:
./ResourceConverter.sh -k Mac-FC02E91DDD3FA6A4.plist

where is the file Mac-FC02E91DDD3FA6A4.plist was copied from
/System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/Resources

The script generated the CPUFriendDataProvider.kext which was copied to /E/C/K/Other (together with CPUFriend.kext)
Now, average CPU power consumption is much lower as the minimum 1.6Ghz is reached more often (during idle):

iMacPro1,1-with CPU Friend-with SSDT-x-PI-Yes.png


This works in conjunction with my SSDT-0.aml (CPU power management SSDT) generated by PikerAlpha's ssdtPRGen.sh script for my i7-3770K (OC'ed to 4.8Ghz).
 
Thanks. That CPUFriend kext helped.
I ran :
Code:
./ResourceConverter.sh -k Mac-FC02E91DDD3FA6A4.plist

where is the file Mac-FC02E91DDD3FA6A4.plist was copied from
/System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/Resources

The script generated the CPUFriendDataProvider.kext which was copied to /E/C/K/Other (together with CPUFriend.kext)
Now, average CPU power consumption is much lower as the minimum 1.6Ghz is reached more often (during idle):

View attachment 441248

This works in conjunction with my SSDT-0.aml (CPU power management SSDT) generated by PikerAlpha's ssdtPRGen.sh script for my i7-3770K (OC'ed to 4.8Ghz).

Can you explain little more about this situation. So in your case U have Ivy CPU, witch is X86PlatformPlugin and trying to get work on AppleACPIPlatform platform right ?
So please tell me more about this case. for CPU 2th gen and 3th gen. SO I can send you EFI one of my Z77 machine with i5-2500K witch work on SmBios iMacPro1,1 and AppleACPIPlatform and I thing it's work very well. even OC I clocked to 5.4 but now I 5.0GHz - 24/7. This machine is one of my favorite one. and What can I do in this case. to do it better ?
 
Last edited:
Can you explain little more about this situation. So in your case U have Ivy CPU, witch is X86PlatformPlugin and trying to get work on AppleACPIPlatform platform right ?
So please tell me more about this case. for CPU 2th gen and 3th gen. SO I can send you EFI one of my Z77 machine with i5-2500K witch work on SmBios iMacPro1,1 and AppleACPIPlatform and I thing it's work very well. even OC I clocked to 5.4 but now I 5.0GHz - 24/7. This machine is one of my favorite one. and What can I do in this case. to do it better ?
Ideally, for my i7-3770K (Ivy bridge), I'd like to use iMac13,2 ModelID but this model assumes and iGPU & Nvidia Discrete GPU thus that config does not work well for using an AMD RX 5xx GPU for H.264 or HEVC encoding.
So I disable the IGPU and set the model ID to iMacPro1,1 as that model does not have an IGPU but does have an AMD GPU. This allows H.264 and HEVC encoding (well it did but 10.15.2 broke it again for FCPX - that's another story).
The problem with using iMacPro1,1 model ID on an Ivy Bridge is CPU power management is not optimal as it assumes an Intel Xeon W-21xx. Even though I have a SSDT for the CPU power management, it does not work very well.

So, what CPUFriend kext does is to inject the correct CPU frequency vectors, and power configurations for iMac13,2 (as defined by Mac-FC02E91DDD3FA6A4.plist) for iMacPro1,1. That is, you can set Model ID to iMacPro1,1 but still have the CPU power configuration of iMac13,2.

For your i5-2500K (Sandy Bridge) you could potentially do the same. It depends on what Model ID you are using currently, what SSDT you have for overclocking to 5.4Ghz (which is very surprising :crazy:) and which AMD GPU you want to use for HEVC encoding.
 
"I was doing that pressing reload button and once it turned green did the encode, it created a log file in the library/application support/videoproc where it said something like could not initialize videotoolbox"

Yep, i had the same problem - iGPU headless - using SMBIOS imac13,2. Headless config was 100% OK but problems using HW Enc.
Did lot of sksivga tests ... until i switched to SMBIOS iMacPro and disabled iGPU in BIOS and removed all Clover Options für iGPU (headless ID, Injekt Intel..).
I then restarted and HW Enc works - WEG used as before. I have IVY cpu but even with iMacPro SMBIOS all is OK - cpu speedstep works as before. I only disabled generate p/c states and aktivate Plugin and Plugintype = 1. Now and before never used an ssdt.aml for CPU Pstates. Clover did all well - before by generate p/cstates , now by using Plugintype and Plugintype=1.
View attachment 440851
I'm surprised that you believe your Ivy Bridge CPU power management is working with any help except for PlugInType=1 for iMacPro1,1 model ID. Have you checked that the SpeedStep P-States switch actually step across the whole range using Hackintool ? Also have you checked the CPU power consumption and average speed during idle which ?
 
Status
Not open for further replies.
Back
Top