Contribute
Register

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

Status
Not open for further replies.
No, concepts and injection methods are different.

Well, how can I use acre.kext with my Xeon E5 2680v2 and Sapphire RX 580 Nitro+???

I want to use H264/HEVC export en encoder without freeze. Is it possible? Today I use without problems with HEVC.14.10.1 added 0x67FF1002 and bootarg schiki=32 iMacPro1.1, but don’t test VideoProc, open new apps Mojave with metal2 or Geeckbench 4 opencl/metal.
 
how can I use acre.kext with my Xeon E5 2680v2 and Sapphire RX 580 Nitro+???

Previously attached acre.kext does not work with RX580.

I want to use H264/HEVC export en encoder without freeze. Is it possible?

If you are running 10.14.1, seems to be not, HW HEVC encode should work but HW H264 encode not, system may freeze on some apps if IOGVACodec is not disabled.

Today I use without problems with HEVC.14.10.1 added 0x67FF1002 and bootarg schiki=32 iMacPro1.1

HEVC.14.10.1 is base on swap device id concept, when you apply dummy kext and add fake ID 0x67FF1002, equal to do nothing.

On 10.14.1, RX580 HW HEVC encode should work without any dummy kext and fake GPU ID, but system may unstable.
 
I follow this thread since I built my current Hackintosh, but with an RX580. Now that I switched to Vega 64, the situation is still the same.

As far as concerns using iMac18,3 as SMBIOS, I must choose:
- iGPU off: need a dummy kext, DRM contents working - HEVC export very slow (uses the CPU)
- iGPU on: DRM contents not working - HEVC exporting very fast (uses the iGPU)

Using instead iMacPro1,1 and of course iGPU off: no system freeze - HEVC exporting uses CPU and it's very slow. Didn't try DRM contents because it's on a temporary USB drive and I don't want to use with my personal Apple ID for iTunes nor I have a Netflix account or similar.
All these is tested with Lilu+WhatEvergreen enabled/disabled on macOS Mojave 10.14.1.

I saw a @shuhung post talking about how fast was macOS 10.14.2 on HEVC exporting with iMacPro1,1 as SMBIOS.
I'm updating the "iMacPro1,1" drive to macOS 10.14.2 Public beta 1 and I'll see if it improve performances :)
 
GPU was not fully utilized, CPU spun very fast when exporting as HEVC

Make sure FCPX HEVC export is in 8 bit, recently only support 8 bit HW HEVC encoding.
 
Hi, to all here. I use now the Acre.kext (HS + RX 460). I can see in IOREGExplorer that the kext works, infects. I changed IOGVACodec to IOGVACodeX as recommended.
Now i wanted to test whats changed by that injection using same video apps - and run into problem.
I have latest iMovie but not FCP. I exported some video but seems imovie always use h264 or ( some codec called Pro...) but i cant see any option to export HVEC.
As first test i exported to standard imovie h.264 and run Intel Power Gadget (below OpenGL Monitor window, IGPU is the green line) & OpenGLDriver Monitor (selected the AMD) beside the export. I (and you in the pic below) can see that both GPUs are "und fire" exporting. Waht i dont know if the AM°D GPU load comes by the encoding h264 OR some other iMovie work (while export runs) fur the gpu.

What other Video Apps than FCP can i use to check the HVEC enc now is accell by AMD RX 460?
VideoProc (use IGPU very well, but my IGPU Gen 3 doenst have HVEC) dint show AMD enc.
Thanks
PS: Handbrake doesnt support IGPU / GPU enc, rigth?

Bildschirmfoto 2018-11-10 um 08.54.05.jpg Bildschirmfoto 2018-11-10 um 08.40.06.jpg
 
Last edited:
when you flashed your video card to RX 560 BIOS, is Clover detecting the card as a RX 580? If you open your config in Clover Configurator and look in Boot.log, at the very bottom, it should show what video card it detected.

I flashed mine to RX 580 yesterday and the OS is detecting the card as the RX 580 but when I look in the log file, it shows as the original RX 480 card.
It normal.
Reason: RX480 & RX580 have the same product ID.
That is why clover cannot tell the difference...it defaults to rx480.
I have a real RX580 and clover see's it as RX480 !.

I guess clover can be modified to dig a little deeper to find out where it's 480 or 580 since macOS figures it out in the system profiler. But probably not high priority for the Devs.
 
Do you have any system freeze with imac pro smbios?
I have an E5 V3 XEON as well with rx 560 my system is freezing with imac pro smbios

Like me with Xeon E5 2680v2 and RX580.

I don´t know the solution.
 
Last edited:
For me it works with RX 580 and Mojave.
*Hardware Encoding support from the iGPU and for HEVC support you need Sky Lake or later and using High Sierra.


1 - Copy & Paste
Shiki.kext, Lilu.kext, WhateverGreen.kext, into EFI/CLOVER/kexts/Other
Download the most recent version of FAKEPCIID
Unzip
RehabMan-FakePCIID folder
Copy FakePCIID.kext and FakePCIID_Intel_HD_Graphics.kext from the Release folder of Rehabman-FAKEPCIID
Paste FakePCIID.kext and FakePCIID_Intel_HD_Graphics.kext to EFI/CLOVER/kexts/Other

2- config.plist changes:

  1. Navigate to Volumes/EFI/EFI/CLOVER/
  2. Open config.plist with Clover Configurator
  3. Select System Parameters on left-side column
  4. Verify Inject Kexts is set to Yes
  5. Select Boot on left-side column
  6. Under Custom flags add:
    1. AMD users:
      1. shikigva=4
      2. -rad4200
3- config.plist Select Acpi on left-side column of Clover Configurator:
  1. HECI -> IMEI Patch
    1. Comment: change HECI to IMEI
    2. Find* [Hex]: 48454349
    3. Replace [Hex]: 494d4549
  2. GFX0 -> IGPU Patch
    1. Comment: change GFX0 to IGPU
    2. Find* [Hex]: 47465830
    3. Replace* [Hex] : 49475055
  3. PEGP -> GFX0 Patch
    1. Comment: change PEGP to GFX0
    2. Find* [Hex]: 50454750
    3. Replace [Hex]: 47465830
  4. Save config.plist
  1. Restart Hackintosh & Enter BIOS
SY4xwrJ

Gigabyte:

  • Chipset → Integrated Graphics : Enabled
  • Chipset → DVMT Pre-Allocated :128M
  • Nvidia or AMD
    • Peripherals → Initial Display Output : PCIe 1 Slot
  • Intel iGPU
    • Peripherals → Initial Display Output : IGFX
ASUS:

  • Advanced \ System Agent(SA) Configuration → IGPU Multi-Monitor : Enabled
  • Advanced \ System Agent(SA) Configuration → DVMT pre-Allocated : 128M
  • Nvidia or AMD
    • Advanced \ System Agent(SA) Configuration → Primary Display : PCIE
  • Intel iGPU
    • Advanced \ System Agent(SA) Configuration → Primary Display : CPU Graphics
ASRock:

  • Advanced \ Chipset Configuration → IGPU Multi-Monitor : Enabled
  • Advanced \ Chipset Configuration → Share Memory : 128MB
  • Nvidia or AMD
    • Advanced \ Chipset Configuration → Primary Graphics Adapter : PCI Express
  • Intel iGPU
    1. Advanced \ Chipset Configuration → Primary Graphics Adapter : Onboard
MSI:

  • Advanced \ Integrated Graphics Configuration → IGD Multi-Monitor : [Enabled]
  • Advanced \ Integrated Graphics Configuration → DVMT Pre-Allocated : [128M]
  • Nvidia or AMD
    • Advanced \ Integrated Graphics Configuration → Initiate Graphic Adapter : [PEG]
  • iGPU?
    • Advanced \ Integrated Graphics Configuration → Initiate Graphic Adapter : [IGD]

aFVa0Ei

Coffee-Lake-DSDT-Patches-ACPI.png
Screenshot 2018-11-12 at 12.35.51.png
 
Last edited:
For me it works with RX 580 and Mojave.
*Hardware Encoding support from the iGPU and for HEVC support you need Sky Lake or later and using High Sierra.


1 - Copy & Paste
Shiki.kext, Lilu.kext, WhateverGreen.kext, into EFI/CLOVER/kexts/Other
Download the most recent version of FAKEPCIID
Unzip
RehabMan-FakePCIID folder
Copy FakePCIID.kext and FakePCIID_Intel_HD_Graphics.kext from the Release folder of Rehabman-FAKEPCIID
Paste FakePCIID.kext and FakePCIID_Intel_HD_Graphics.kext to EFI/CLOVER/kexts/Other

2- config.plist changes:

  1. Navigate to Volumes/EFI/EFI/CLOVER/
  2. Open config.plist with Clover Configurator
  3. Select System Parameters on left-side column
  4. Verify Inject Kexts is set to Yes
  5. Select Boot on left-side column
  6. Under Custom flags add:
    1. AMD users:
      1. shikigva=4
      2. -rad4200
3- config.plist Select Acpi on left-side column of Clover Configurator:
  1. HECI -> IMEI Patch
    1. Comment: change HECI to IMEI
    2. Find* [Hex]: 48454349
    3. Replace [Hex]: 494d4549
  2. GFX0 -> IGPU Patch
    1. Comment: change GFX0 to IGPU
    2. Find* [Hex]: 47465830
    3. Replace* [Hex] : 49475055
  3. PEGP -> GFX0 Patch
    1. Comment: change PEGP to GFX0
    2. Find* [Hex]: 50454750
    3. Replace [Hex]: 47465830
  4. Save config.plist
  1. Restart Hackintosh & Enter BIOS
SY4xwrJ

Gigabyte:

  • Chipset → Integrated Graphics : Enabled
  • Chipset → DVMT Pre-Allocated :128M
  • Nvidia or AMD
    • Peripherals → Initial Display Output : PCIe 1 Slot
  • Intel iGPU
    • Peripherals → Initial Display Output : IGFX
ASUS:

  • Advanced \ System Agent(SA) Configuration → IGPU Multi-Monitor : Enabled
  • Advanced \ System Agent(SA) Configuration → DVMT pre-Allocated : 128M
  • Nvidia or AMD
    • Advanced \ System Agent(SA) Configuration → Primary Display : PCIE
  • Intel iGPU
    • Advanced \ System Agent(SA) Configuration → Primary Display : CPU Graphics
ASRock:

  • Advanced \ Chipset Configuration → IGPU Multi-Monitor : Enabled
  • Advanced \ Chipset Configuration → Share Memory : 128MB
  • Nvidia or AMD
    • Advanced \ Chipset Configuration → Primary Graphics Adapter : PCI Express
  • Intel iGPU
    1. Advanced \ Chipset Configuration → Primary Graphics Adapter : Onboard
MSI:

  • Advanced \ Integrated Graphics Configuration → IGD Multi-Monitor : [Enabled]
  • Advanced \ Integrated Graphics Configuration → DVMT Pre-Allocated : [128M]
  • Nvidia or AMD
    • Advanced \ Integrated Graphics Configuration → Initiate Graphic Adapter : [PEG]
  • iGPU?
    • Advanced \ Integrated Graphics Configuration → Initiate Graphic Adapter : [IGD]

aFVa0Ei

View attachment 365050 View attachment 365051

Thanks, but all these configurations like ACPI Patches are done by the WEG kext, and you doesn't need to use Shiki.kext and the FakePCIID_Intel* anymore.
Besides this, these configuration is to use an IGPU with a Discrete GPU (RX 580), which is not the original idea on this thread but helps.
 
Last edited:
Status
Not open for further replies.
Back
Top