Contribute
Register

[Solved] Possible frame rate issues with AMD Sapphire Pulse RX 580 4GB and 10.13.5

Status
Not open for further replies.
Joined
Nov 21, 2013
Messages
21
Motherboard
Gigabyte GA Z370 AORUS Ultra Gaming - Clover
CPU
i5-6800K
Graphics
RX 580
Mac
  1. iMac
Mobile Phone
  1. iOS
I am looking for any assistance with a strange issue I am experiencing with my Sapphire Pulse RX 580 4GB and 10.13.5.

This is my second Hackintosh and I made the conscious choice to move to AMD for the graphics as I had experienced a range of issues with NVidia cards previously and could see that the native support for AMD was only increasing. Using the ‘Buyer’s Guide’, I purchased the Sapphire RX 580 card but opted for the 4GB model to save a bit of money.

I have followed a range of guides (including HackaShaq’s excellent build) and the system boots up without a problem and functions as expected. The issue arises about 1 or so hours into operation where the frame rate appears to drop to 0.2 fps. This means that that whole the mouse position refreshes smoothly the rest of the screen only refresh sporadically making the computer almost impossible to use…

My hardware is as follows:
  • Gigagbyte Z370 Ultra Gaming (Rev 1.0)
  • Intel Core i5 8600K
  • 32GB of 2400Mhz DDR 4 RAM
  • Sapphire Pulse RX580 4GB
I have tried the following fixes to see whether I can clear the issue:
  • Installing Lilu.kext and WhateverGreen.kext to EFI/EFI/CLOVER/Kexts/Other
  • Using a range of options on the ‘Graphics’ page in Clover including ‘ATI’ and ‘RadeonInit’
  • Enabling IGFX on the BIOS and using ‘Intel Graphics Fixup’ option on MultiBeast
Everything I can see on the forum at the moment tells me that I should be able to use the AMD card OOB with minimal, if any, patches in Clover. I have been experiencing this issue since 10.13.4 so I cannot help but think it is something to do with the graphics card.

My next thought is to look at entering a framebuffer for the card (as per this guide) but otherwise I am running out of ideas… I’d really appreciate any advice anyone might have!
 
Yep - I seem to have resolved this one. Not sure exactly how, but through trial and error.

I have found there are different solutions depending on what release you're on. Keep in mind that it looks like we're using quite different motherboards and GPUs...

10.13.15
  • The only fix that seemed to work require that the IGFX was properly enabled alongside the AMD GPU
  • For the BIOS settings, I used:
    • M.I.T. > Advanced Memory Settings > Extreme Memory Profile(X.M.P.) : Profile1
    • BIOS > Full Screen LOGO Show > Disable
    • BIOS > CSM Support > Disable
    • Peripherals > USB Configuration > XHCI Handoff > Enabled
    • Peripherals > Initial Display Output > PCIe 1 Slot
    • Peripherals > Peripherals > LEDs in sleep, Hibernation, and Soft Off States > Off
    • Peripherals > USB Configuration > Legacy USB Support > Auto
    • Peripherals > TrustedComputing > Security Device Support > Disable
    • Peripherals > Network Stack Configuration > Network Stack > Disabled
    • USB Configuration > XHCI Hand-off > Enable
    • Chipset > VT-d > Disabled
    • Chipset > Internal Graphics > Enable
    • Chipset > DVMT Pre-Allocated > 128M
    • Chipset > Wake on LAN Enable > Disable
    • Chipset > IOAPIC 24-119 Entries > Enabled
    • Power > ErP > Enabled
  • Once the OS installed, I used the following settings in Clover
    • Select Graphics and enter:
      • In FB Name select Orinoco
      • Select Inject Intel
      • ig-platform-id insert 0x59120003
      • Select RadeonDeInt
    • Use SMBIOS iMac14,2
    • Other fixes fro USB etc. following @HackaShaq 's amazing guide here
This seems to work without any additional kexts etc...

10.13.6
  • A lot if these issues seem to have been resolved
  • I am guessing they have updated the AMD drivers in macOS to provide better support to the GPUs
  • The update to 10.13.6 from 10.13.6 via the App Store went without a hitch (took the usual 2-3 restarts, but that's seems to be normal..)
  • I have now disabled the IGFX in the BIOS and removed all entires for the graphics panel in Clover
  • No additional kexts (e.g. Lilu or Whatevergreen...)
  • I have been running things for 4 or so days and it works like a dream: not frame rate glitches or freezes, sleep is working as expected... it's great!
Given how long it took me to get a stable build on 10.13.5, I would recommend cloning your build to another SSD, trying the above...

Hope this helps.
 
Hi Roscoep77
What about Mojave? have you try it with your GPU?
I m about to change my 970 for same Sapphire Pulse RX 580 4GB.
I have been playing with Mojave and it seems to have kicked up some of the original issue, unfortunately...
I am not Hackintosh pro so it's a lot of trial and error. Always keen on any input from anyone. The issue really seems to occur when you are using programs like iPhoto.
If you can afford it, I would recommend buying the 8GB version as, for some reason, it appears to be better supported OOTB.
 
I think I may have got to the bottom of this. I am still testing my rig, but things are looking pretty good.

The issue seems to be about graphics acceleration and ensuring that both the iGPU (Intel UHD630) and the AMD GPU are both correctly activated. The issue was most present when using Photos which would cause kernel panics titled 'IOAccelEventMachine2' that would cause test GPU to restart causing the whole desktop to freeze (although, strangely, the mouse cursor would still animate....).

I have now updated to macOS Mojave 10.14 and the following settings seem to have got everything going. More that open to any and all feedback if I have missed anything...

These settings are for the following hardware/software:
  • Gigabyte Z370 Ultra Gaming (Rev 1.0) on F10 BIOS update
  • Intel i5-8600k
  • Clover 4674
  • Mojave10.4
  1. BIOS settings
    • Press F12 to enter the settings menu and select Settings
    • Select Load Optimised Defaults
    • Input the following settings
      • M.I.T. > Advanced Memory Settings > Extreme Memory Profile(X.M.P.) : Profile1
      • BIOS > Full Screen LOGO Show > Disable
      • BIOS > CSM Support > Disable
      • Peripherals > USB Configuration > XHCI Handoff > Enabled
      • Peripherals > Initial Display Output > PCIe 1 Slot
      • Peripherals > Peripherals > LEDs in sleep, Hibernation, and Soft Off States > Off
      • Peripherals > USB Configuration > Legacy USB Support > Auto
      • Peripherals > TrustedComputing > Security Device Support > Disable
      • Peripherals > Network Stack Configuration > Network Stack > Disabled
      • USB Configuration > XHCI Hand-off > Enable
      • Chipset > VT-d > Disabled
      • Chipset > Internal Graphics > Enable
      • Chipset > DVMT Pre-Allocated > 128M
      • Chipset > Wake on LAN Enable > Disable
      • Chipset > IOAPIC 24-119 Entries > Enabled
      • Power > ErP > Enabled
    • Select Exit & Save
  2. Install Mojave
    • Use UniBeast to create bootable USB drive
    • The system will reboot several times
  3. Run MultiBeast (10.4.0 High Sierra - until updated for Mojave)
    • Misc > FakeSMC
    • Misc > FakeSMC Plugins
    • USB > Remove XHCI USB Port Limit (Enables USB3.0 on 10.14 - should use custom DDST)
    • Drivers > Misc > Core Graphics Fixup AKA WhatEverGreen (installs WhatEverGreen.kext and Lilu.kext to S/L/E to support iGPU)
    • Network > Intel > IntelMausiEthernet (pick latest version to enable Ethernet port)
  4. Configure config.plist via Clover Configurator
    • Open Clover Configurator
    • Mount the correct partition
    • Navigate to EFI/EFI/CLOVER/ and open config.plist
    • Select Acpi and enter the following under Patches
      • HECI -> IMEI Patch
        • Comment: change HECI to IMEI
        • Find* [Hex]: 48454349
        • Replace [Hex]: 494d4549
      • GFX0 -> IGPU Patch
        • Comment: change GFX0 to IGPU
        • Find* [Hex]: 47465830
        • Replace* [Hex] : 49475055
      • PEGP -> GFX0 Patch
        • Comment: change PEGP to GFX0
        • Find* [Hex]: 50454750
        • Replace [Hex]: 47465830
    • Select Devices and enter
      • IntelGFX: 0x59128086
    • Select Graphics and enter
      • Check Intel
      • Framebuffer: Orinoco
      • ig-platform-id: 0x59120003
    • Select Kernel and Kext Patches
      • Patch 1
        • Name*: AppleAHCIPort
        • Find*: 45787465 726E616C
        • Replace*: 496E7465 726E616C
        • Comment*: External Icons Patch
      • Patch 2
        • Name*: AppleGraphicsDevicePolicy
        • Find*: 626F6172 642D6964
        • Replace*: 626F6172 642D6978
        • Comment*: (c)Pike R. Alpha
      • Patch 3 (enables USB3.0 - should have been installed via MultiBeast)
        • Name*: com.apple.driver.usb.AppleUSBXHCI
        • Find*: 83FB0F0F 83030500 00
        • Replace*: 83FB0F90 90909090 90
        • Comment*: USB 10.13.4+ by PMHeart
      • Patch 2
        • Name*: com.apple.driver.AppleGraphicsDevicePolicy
        • Find*: BA050000 00
        • Replace*: BA000000 00
        • Comment*: Prevent AGDP from loading
    • Select SMBIOS and enter
      • iMac 18,2

Hope any or some of this helps. Its taken me a long time to get things to stable point and this seems to do the trick!
 
Hi Roscoep77

I'd like to use your detailed setting list on my Hackintosh upgrade.

Roscoep77 settings are for the following hardware/software:
iMac 18,2 Coffee Lake 6-Core
  • Gigabyte Z370 Ultra Gaming (Rev 1.0) on F10 BIOS update
  • Intel i5-8600k Coffee Lake
  • Clover 4674
  • Mojave10.4
Mine would be for the following hardware/software
Mac17,1 SkyLake Quad Core
  • Gigabyte Gigabyte GA-Z170X-UD5 latest BIOS update
  • Intel i5-6600k Skylake
  • Sapphire RX 580 Pulse 8G SIMILAR AS ABOVE
  • Clover 4674 SAME AS ABOVE
  • Mojave 10.4 SAME AS ABOVE

QUESTION

Do you see any obvious items I would need to change in your detailed setting list above ?

I'm upgrading my Hackintosh from Sierra to Mojave and installing a RX 580 Video Card and would like
to make use of your detailed working setting list. It's very complete!

I only see a couple items I need to change to make use of your guide list.

Did I miss anything obvious ?

1) Other that SMBIOS 17,1
2) I do have a specific EFI -> Clover -> ACPI -> Patched file for my i5-6600K
to insure the CPU is using the correct speed and power states with the SSDT.
 
Hi @Bullflag,

I am no expert on Hackintoshes by any means, but I have a feeling the thinking that I have descried is correct (i.e. activating the internal graphics) but you will need to make a few changes as the integrated graphics on your motherboard may be different.

The section I think you'll need to tweak the most is the following:
  • Select Devices and enter
    • IntelGFX: 0x59128086
  • Select Graphics and enter
    • Check Intel
    • Framebuffer: Orinoco
    • ig-platform-id: 0x59120003

You'll need to find the right IntelGFX, Framebuffer and ig-platform-id for your motherboard. The Intel FB-Patcher app is great for this type of data, and I found this page https://www.tonymacx86.com/threads/an-idiots-guide-to-lilu-and-its-plug-ins.260063/ super useful as I worked things out.

Hope that all helps. The configuration I have outlined has kept my rig running smoothly for almost a month now...
 
Hi @Roscoep77

I followed your excellent information and determined the 3 values needed for my Skylake CPU Z170X-UD5 with
integrated Intel HD 530 Graphics and RX 580 eGPU. NOW Dual monitors via mDP working just fine, with Sleep and
iMessage, Facetime all working flawlessly



ig-platform-id 0x19120000
IntelGFX 0x19168086
Framebuffer Orinoco

My Intel FB Patcher Data....


platformid.png framebuffer.png
 
Last edited:
Hi @Roscoep77

I followed your excellent information and determined the 3 values needed for my Skylake CPU Z170X-UD5 with
integrated Intel HD 530 Graphics and RX 580 eGPU. NOW Dual monitors via mDP working just fine, with Sleep and
iMessage, Facetime all working flawlessly



ig-platform-id 0x19120000
IntelGFX 0x19168086
Framebuffer Orinoco

My Intel FB Patcher Data....


View attachment 362082 View attachment 362083
i have the same motherboard, but i'm only using the onboard gpu and i can't get sleep working, could you please share your efi folder. Thanks
 
Status
Not open for further replies.
Back
Top