Jump to content
macinsane

Forget Intel Quicksync! How to make your RX 580 act like a Vega!

20 posts in this topic

Recommended Posts

This is bothering me for a long time now: Why does Apple deliberately disables the the RX4xx, RX5xx capabilities to hardware encode HEVC and is using Intel Quicksync instead? Is it to make the iMacPro look better than it is? I stumbled over a thread at tony-mac where people are going a totally different road for Radeon graphics. Instead of hassling around with getting Quicksync to work, they proposed to activate the AMD hardware renderer for Polaris GPU's. I tried it out and it works...somewhat ;)

 

I used a dummy kext from that tomato thread and edited it, so that it enables the AMDU7V4 IOGVACodec like on Vega cards, switched to iMacPro1,1 SMBIOS from iMac18,3, disabled the IGPU and the results were astonishing:

My 3:34min 4k50p film was rendered by FCP with HEVC in 2:34 minutes. Nearly half the time than with Quicksync! With the iMac18 SMBIOS and the "help" of Intel Quicksync it took FCP 4:41 minutes to get it done!

 

The problem is: As soon as the "wrong" IOGVACodec is enabled H.264 encoding leads to Mojave crashing at once (be it FCP, QuickTime or Videoproc). Watching H264 material is fine, though. 

 

If anyone has any idea how to handle this, I would be very grateful. I would even accept Mojave using software encoding for H264 if I could keep this amazing speeds on HEVC!

 

BTW: Without IGPU on iMacPro1,1 SMBIOS no problem with DRM or iTunes, no need for Whatevergreen or Shiki. That is a bonus :)

Ellesmere.kext.zip

Share this post


Link to post
Share on other sites
Advertisement
5 hours ago, macinsane said:

This is bothering me for a long time now: Why does Apple deliberately disables the the RX4xx, RX5xx capabilities to hardware encode HEVC and is using Intel Quicksync instead? Is it to make the iMacPro look better than it is? I stumbled over a thread at tony-mac where people are going a totally different road for Radeon graphics. Instead of hassling around with getting Quicksync to work, they proposed to activate the AMD hardware renderer for Polaris GPU's. I tried it out and it works...somewhat ;)

 

I used a dummy kext from that tomato thread and edited it, so that it enables the AMDU7V4 IOGVACodec like on Vega cards, switched to iMacPro1,1 SMBIOS from iMac18,3, disabled the IGPU and the results were astonishing:

My 3:34min 4k50p film was rendered by FCP with HEVC in 2:34 minutes. Nearly half the time than with Quicksync! With the iMac18 SMBIOS and the "help" of Intel Quicksync it took FCP 4:41 minutes to get it done!

 

The problem is: As soon as the "wrong" IOGVACodec is enabled H.264 encoding leads to Mojave crashing at once (be it FCP, QuickTime or Videoproc). Watching H264 material is fine, though. 

 

If anyone has any idea how to handle this, I would be very grateful. I would even accept Mojave using software encoding for H264 if I could keep this amazing speeds on HEVC!

 

BTW: Without IGPU on iMacPro1,1 SMBIOS no problem with DRM or iTunes, no need for Whatevergreen or Shiki. That is a bonus :)

Ellesmere.kext.zip

i will try this out. this problem is bothering me also. i want to export fast and also watch itunes movies. now got my igpy turned on, but itunes movies do not work. hevc is slow with quicksync and it bothers me i bought a rx580 i could hardly use. it would bre great if you got h264 fixed also ;)

Edited by MarkMac

Share this post


Link to post
Share on other sites
On 10/4/2018 at 6:02 PM, macinsane said:

This is bothering me for a long time now: Why does Apple deliberately disables the the RX4xx, RX5xx capabilities ...That is a bonus :)

Ellesmere.kext.zip

 

I use iGPU + RX Vega 64 with iMacPro1,1 Mojave

I see in Resolve that the RX Vega 64 is used for rendering. HEVC / 4K / H265 content is rendered @80fps. Looks ok to me as it should. GPU usage shows 75-90% usage.

So why removing iGPU support? Removing iGPU does have impact on sleep and fans I experienced.

 

Share this post


Link to post
Share on other sites

This topic is about what do if have no Vega ;) The aim is to enable AMD rendering on Polaris GPU's (RX 4xx/5xx) the way it works for Vega cards.

Edited by macinsane

Share this post


Link to post
Share on other sites

it doesnt work on mojave .. i've got Sapphire RX580 8GB and when i remove whatevergreen and turn off completely iGPU i have black screen instead off login form. 

 

MSI Z370m Mortar / i5-8600k / Sapphire RX580 8GB

Share this post


Link to post
Share on other sites

You might have a picture on another port (DisplayPort or HDMI). If you don't you need to patch DSDT or insert RadeonDeinit / ATI inject in config.plist. The provided kext alone does not enable correct display type!

Share this post


Link to post
Share on other sites

@macinsane I've tried your kext on my 580 GPU and it freezes my Pc once I try to encode h265 video. H264 it's not working as you said.
It somehow worked on my one file in the compressor. But now I'm without luck. Tried with or without Shiki and whatever green. I also tried different versions of them and many other combos. No luck. Hardware video encoding is in status "yes".

Have you got any updates of this kext? Im running latest Mohave

Share this post


Link to post
Share on other sites

Unfortunately not, there is a thread on Hackintosh-Forum.de (kext is in post #37) where people claim to get the RX cards running as native Radeon Pro's what should give you better results but it seems to be very fragile at the moment. I tried it and noticed no difference at all performance wise.

Share this post


Link to post
Share on other sites
45 minutes ago, macinsane said:

Unfortunately not, there is a thread on Hackintosh-Forum.de (kext is in post #37) where people claim to get the RX cards running as native Radeon Pro's what should give you better results but it seems to be very fragile at the moment. I tried it and noticed no difference at all performance wise.

thanks for the info.

Share this post


Link to post
Share on other sites

I am using x299 platform with RX580 on Mojave. SMBIOS model is imac PRO.   H.264 and H.265 decoding is perfect,but if it Using H.264  or HEVC  encoding, The machine looks like free  freezing.  This is bothering me too!!! 

Share this post


Link to post
Share on other sites
On 10/8/2018 at 11:00 AM, Pluskat5000Schiffe said:

 

I use iGPU + RX Vega 64 with iMacPro1,1 Mojave

I see in Resolve that the RX Vega 64 is used for rendering. HEVC / 4K / H265 content is rendered @80fps. Looks ok to me as it should. GPU usage shows 75-90% usage.

So why removing iGPU support? Removing iGPU does have impact on sleep and fans I experienced.

 

That's nothing to do with RX580.

 

Anyway, I pretty sure you cannot encode H.264 with your Vega ...but Vega is not the topic here

Edited by MacNB

Share this post


Link to post
Share on other sites
On 10/26/2018 at 4:05 PM, macinsane said:

Unfortunately not, there is a thread on Hackintosh-Forum.de (kext is in post #37) where people claim to get the RX cards running as native Radeon Pro's what should give you better results but it seems to be very fragile at the moment. I tried it and noticed no difference at all performance wise.

That dummy kext seems to be simply naming the model as "Radeon Pro 580". 

I don't think it solves the problem of RX 5xx encoding H.264 unfortunately (well at least with my translation of German).

BTW, I attached that kext here.

AMDRadeonPro.kext.zip

Share this post


Link to post
Share on other sites

I guess you are right. From what I understand the hope was that this renaming alone would help. After weeks of testing the best results I get in terms of graphics performance is just using pikeralpha's graphics device policy patch to activate my display port and leave everything else untouched. Whatevergreen always gives the worst performance and doesn't even enable DRM playback. I'm looking forward to check out Mac Mini 2018 smbios and see if it makes a difference. It bothers me that the RX580 was just a waste of money for the purpose intended, could have stuck with cheap 560 instead. At least it has improved my gaming performance in Windows... ;) What really annoys me is that people everywhere claim that their 580's would run oob just fine and that they still recommend it (by what they only mean that they get a working screen...). With prices falling anyone who intends to do video editing should definetely go for Vega instead or just take the cheapest AMD card around.

Share this post


Link to post
Share on other sites
2 hours ago, macinsane said:

 It bothers me that the RX580 was just a waste of money for the purpose intended, could have stuck with cheap 560 instead. At least it has improved my gaming performance in Windows... ;) What really annoys me is that people everywhere claim that their 580's would run oob just fine and that they still recommend it (by what they only mean that they get a working screen...).

 

I agree with. I 'm pretty disappointed after spending a lot money on the RX580 after the so called "pundits" claiming "..working OOB" before doing thorough testing of what and why one would need such an expensive GPU...to do real GPU work...not just a working GUI. 

 

Vega are still too expensive for me with no clear promise of truly useful functionality (one that will provide H.264 encode & decode, HEVC enc/dec and DRM playback).

 

Share this post


Link to post
Share on other sites
On 11/10/2018 at 3:03 PM, MacNB said:

 

I agree with. I 'm pretty disappointed after spending a lot money on the RX580 after the so called "pundits" claiming "..working OOB" before doing thorough testing of what and why one would need such an expensive GPU...to do real GPU work...not just a working GUI. 

 

Vega are still too expensive for me with no clear promise of truly useful functionality (one that will provide H.264 encode & decode, HEVC enc/dec and DRM playback).

 

I Feel exactly the same , coming from Nvidia gtx970 who at least was doing the job....

Share this post


Link to post
Share on other sites

hi guys, i'm looking for a solution for that H264 export too...As i'm not a computer ingenior i guess that your troubles with igpu only concern motherboard with integrated graphic hardware which isn'tmy case with a X99 ud4 gigabyte motherboard.Meaning that even if you found a solution to that problem it may not work for me...i'm really considering to sell quickly that amd rx580 before i lost too much money and going back to nvidia 

Share this post


Link to post
Share on other sites
can you help me ?
 
I can't make my RX580 4gb work with Catalina.
First I had a GTX 1050 TI that was not working and after reading in some forums that the card was not compatible, after completing the installation of Catalina 10.15.2 with immenseger, Apple Store, audio, all working. After I changed the graphics, but still can not detect the card rx580.
 
I leave here the link from my EFI folder: https://drive.google.com/open?id=1MIce-0AEhMNWeihtpCb24U7U3z_P8_z2
 
My setup: Asus B250M-plus
Asus rx580 4gb
intel i5
8gb ram

Captura de ecrã 2020-01-13, às 17.44.29.jpeg

Share this post


Link to post
Share on other sites

First you must disable (or remove those renames) all GPU related renames in the ACPI /DSDT section if you use WEG. WEG does all needed - much more clever.

Complete your SMBIOS , i can only see Macmodell 18,1. 

Also setup your IGPU with an ig-platform ID which  is connectorless (means no more an display device anymore).

Even better (mire easy to handle setup)  disable IGPU in BIOS , remove inject intel and use an iMacPro1,1 MacModell.

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By cixque
      CLOVER.zipCLOVER.zipDell Venue 11 Pro 7140
      ------------
      Specification
       
       
      Intel Core M 5Y71
       
      Intel HD Graphics 5300
       
      Intel Broadwell-U motherboard
       
      8GB Ram
       
      256GB SSD
       
      Dell DW1850e WWAN + GNSS GPS
       
      Intel Wireless 7265 + Intel Bluetooth
       
      NFC
       
       
      …..
       
       
       
       
       
      Mojave 10.14.6
       
      What works
      Native Power Manager (Generate Plugin type) Full Graphics with QE/CL Brightness (Add PNLF in Config.plist or DSDT Patch) — (Brightness slide bar) Touch Screen, and Pen (DSDT Patch + Voodoo I2C, I2CHID satellite KEXT) HDMI output with hot plug (Lilu + WhateverGreen) HDMI Audio with hot plug (Lilu + AppleALC) no Layout-id needed Front and Rear Cameras MicroSD slot - O2 Micro (I use Adding Arbitrary under Devices in Config file Method) Ref, Post #6 by Jake Jo https://osxlatitude.com/forums/topic/7346-applesdxc-driverdsdt-patch-for-o2-micro-sd-card-readers/ Battery Indicator (ACPIbattery by Rehabman) ——>To utilise both battery, SSDT (by Rehabman) is needed in order to combine 2 batteries as one.
      Travel Keyboard Dell K12a001 (USBinjectall KEXT) Native Keyboard keys (Brightness, volume keys) WWAN card Dell DW1850e (OOB) Bluetooth -------------------
       
      What doesn’t work
       
       
      Sleep Wake — I have no idea how to fix it as it is required DSDT patch I guess. GPS NFC Audio ---> Realtek I2S Audio (PG0.35 for DELL)
       
      In DSDT entries is HDAUDIO\\FUNC_01&VEN_10EC&DEV_0282&SUBSYS_00000000&REV_1000\ Which indicates ALC282
       
      Audio ALC3263 (As it shown in BIOS) - Broadwell rt286 - Card1/Codec#0 (Utilised in I2S Mode) there is nowhere in BIOS to change to HDA mode). Drop OEM HDA and Fix HDA don’t do anything, still show 3 HDMI Audio outputs. If there is a DSDT patch to force HDA Audio mode, Please do enlighten me.
      As a result Internal Speaker, Internal Mic, and Headphone Jack doesn’t work.
       
      Touchpad on Travel Keyboard Dell K12a001 (Should work with DSDT Patch with pin configuration) I have no idea how. Obviously, Intel Wireless 7265 AC. For experimental purpose. https://github.com/daliansky/XiaoMi-Pro-Hackintosh/issues/330 — Knock yourself out. I managed to get it work for awhile but the real problem is kernel panic so I gave up. Ordering compatible card instead. ------------------
       
      Config.plist got it from Rehabman laptop config.
       
       
      BIOS version A20
       
      Enable:
       
      - Legacy Boot Rom
       
      Disable:
       
      - Secure Boot
       
      - TPM 2.0
       
      - Vt-d
       
      ------------
       
      SMBIOS - I use MacBook8,1. —- MacBookAir7,1-7,2 (Min Freq is at 1.2 GHz) MacBookPro12,1 Min Freq is at 800 Mhz and it is the default this cpu should be. Again, there is a way to set it right somewhere in this forum.
       
      ------------
       
      -->> DSDT Windows 8 patch
       
      System sees only one I2C Controller which control Touch Screen.
      Touch Screen registers as Magic Trackpad 2.
      Pen as Mouse
       
      -->> DSDT Windows 8.1 Patch
       
      System sees two I2C Controllers which control Touch Screen and Accelerometer.
      Touch Screen registers as Magic Trackpad 2.
      Pen as Mouse
       
      OOO>>> With Windows 8.1 patch which it should run with this one because it can see more of HID devices and controllers.
       
      Problem is Accelerometer (SHUB).
      Device can automatically rotate screen as it should be BUT it flips the screen wildly even with slightly movement. It stops only when device stays completely still. Eventually it breaks internal screen graphic. It becomes grabble. I restored internal screen graphic by connecting it to external monitor and set rotation of external screen to 0 degree. Then it is back to normal. (I guess it conflict with rotation setting) I disable SHUB in DSDT.
       
      ---------------------
       
      During Installation process Full Graphic acceleration can be activated straight away by Lilu and Whatevergreen. AppStore, iMessage and, FaceTime activate by NullEthernet and SSDT by Rehabman USBInjectAll needed for keyboard and other usb peripherals. Use other tool to keep certain ports active as Rehabman mention this KEXT is not good for a long run. Please do Correct me if I did something worng. Or any suggestions to make this thing runs better.
      CLOVER.zip
      IOReg_SysReport.zip
    • By dasca.thea
      Hi everyone,

      I have run into a frustrating problem here.

      My hardware:
      MSI x399 Meg Creation
      2990WX
      64GB ram @2933Mhz
      Radeon 7
      Sata: Samsung 130GB SSD
      M.2: Samsung 970 Pro 1TB(latest firmware)

      Using OpenCore 0.5.6
      (NVMeFix NVMeDxe installed)
      I have successful installed OSX catalina onto my 130GB. It works flawlessly.

      and then I figure I should do it on my M.2 drive. It installs flawlessly, at the last stage of installation, it naturally restart and thats it.
      I can not boot into this newly installed OS on the M.2 drive. it keeps throwing: "error loading kernel cache 0x1"

      I have tried deleting the prelinkedkernel from recovery partition. Tried rebuilding cache(I have not installed any kext into L/E).

      All this time, I can use the same boot USB to boot into catalina on my sata 130Gb SSD working just fine.
       
      attached is my EFI folder. I have tried all the suggested SMBios iMacPro1,1 MacPro6,1 MacPro7,1
       
      is this ruled out that samsung 970Pro doesnt work?
      Please help. 
       
       
      EFI.zip
    • By midi-sama
      After a long time of cooking this computer up with a lot of stuff, I'm finally releasing my guide for this P50 with OpenCore.
       
      Lenovo ThinkPad P50 macOS Install with OpenCore
       
      This thread may be used for questions/corrections/additions. Good Luck.
    • By Cwtf
      I made a clean install of High Sierra on a 1TB crucial ssd. Installed clover Clover_v2.5k_r5070 into the EFI of this ssd, but when I tried to make it my default boot drive, the clover screen wouldn't come up, and left a black screen.
      I tried using the Olarilia usb drive and clover did the same thing. 
       
      I thought maybe that it was a theme issue so I tried to blind boot by just hitting the enter key but the nothing happened.
      I restarted and selected my my old drive with clover v2.4k_4945 from the bios the bios boot menu.  Clover came up and I could select my new drive from the clover menu.     
       
      Changing the themes, didn't help. No matter what theme I chose (including embedded), clover v2.5k didn't work, and  I still got just a black screen.
       
      Do I need to install v2.4k on my new drive or is there a way I can get v2.5k working?
       
      I have a GA-x79-ud5 motherboard, AMD  rx580 graphics card and use a Sony 4k tv as my monitor.
×