Jump to content
Mieze

Tracing back the AMD GPU wakeup issue to its origin

365 posts in this topic

Recommended Posts

I found an interesting find.

I’m on ryzen 10.13.2 beta 5 and what happened is I always updated my clover and even my fakesmc.kext

I used the latest lilu and whatevergreen. When I wanted to put the computer to sleep it would turn off the monitor and reboot.

 

So I went my old hard drive (10.13.1) using this efi and was getting the same results. Reboot on sleep. Which was very odd for me because steep worked at great when I was in 10.13.1

 

I played around with a lot of files and ended up using my old efi which contained and older version of clover and fakesmc.kext.

Using this old efi and the latest lilu and whatevergreen sleep worked again!!!

 

I’m still playing around with the files I will try on 10.13.2 beta which gave me reboot when I put it to sleep.

 

I’ll report back

I have the same issue after the 10.13.2, did you  get sleep working with lastest Clover?

Share this post


Link to post
Share on other sites
Advertisement

I have the same issue after the 10.13.2, did you get sleep working with lastest Clover?

I have not tried but I don’t think it has to do with clover

Share this post


Link to post
Share on other sites

I have not tried but I don’t think it has to do with clover

Reading the latest commit from Whatevergreen, the developer says "Starting with 10.13.2 AAPL hardcodes framebuffer limit in certain kexts"

So I add:

 

"CFG,CFG_FB_LIMIT",

0x06,

 

And now it sleeps fine.

SSDT-RX-480.zip

Share this post


Link to post
Share on other sites

Reading the latest commit from Whatevergreen, the developer says "Starting with 10.13.2 AAPL hardcodes framebuffer limit in certain kexts"

So I add:

 

"CFG,CFG_FB_LIMIT",

0x06,

 

And now it sleeps fine.

good to know thanks! 

Share this post


Link to post
Share on other sites

Reading the latest commit from Whatevergreen, the developer says "Starting with 10.13.2 AAPL hardcodes framebuffer limit in certain kexts"

So I add:

 

"CFG,CFG_FB_LIMIT",

0x06,

 

And now it sleeps fine.

 

I just saw a similar fix using Clover Arbitrary injection in devices section.

Share this post


Link to post
Share on other sites

I just saw a similar fix using Clover Arbitrary injection in devices section.

hi. amd rx 580 can use fb of dayman or oricnoc to boot into system sucessfully...so which fb can i use ?

Share this post


Link to post
Share on other sites

hi. amd rx 580 can use fb of dayman or oricnoc to boot into system sucessfully...so which fb can i use ?

Mork uses Orinoco, he has 5 ports, I use Baladi it depends on which OS, Sierra or High Sierra? I think Dayman works ok for Sierra but for HS Orinoco.

Share this post


Link to post
Share on other sites

I just saw a similar fix using Clover Arbitrary injection in devices section.

How to fix it in Clover config.plist for RX-560 or AMD Radeon HD 6870 ?

Share this post


Link to post
Share on other sites

Mork uses Orinoco, he has 5 ports, I use Baladi it depends on which OS, Sierra or High Sierra? I think Dayman works ok for Sierra but for HS Orinoco.

hi,,i have 4 ports,:one hdmi and three dp...i use high sierra.

Share this post


Link to post
Share on other sites

Can someone explain, wats the use of this kext AMDRadeonX4000HWServices !

 

And Meize thanks, sleep works grt :)

Share this post


Link to post
Share on other sites

How to fix it in Clover config.plist for RX-560 or AMD Radeon HD 6870 ?

 

Here it is test it and report back please, it goes in Clover "Devices" section in Arbitrary.

 

post-1753549-0-61211100-1513723643_thumb.png

is  AMDRadeonX4000HWServices come from 10.13.2 or 10.13.1 ?

I get wake issues after sleep from 10.13.1 .

 

It is a new addition to High Sierra, there are device IDs in the info.plist.    In Sierra there were only device IDs 0x68101002 (example) in the controlerkext and AMDX000kext.     Now in HS there are 3 IDs, one in Controllerkext, one in X000kext, and now one in the AMDRadeonx4000HWkext and AMDRadeonx5000HWkext.    The vAMD3000kext seems to be like the older Sierra layout.     Maybe this is the new Metal2 kext layout.

 

Its really weird, the 4100, 4150, 4200, and 4250 kexts have device IDs in them for the same cards in many cases ie... 0x67ef, 0x67ff, 0x67df but only one kext gets assigned.

Share this post


Link to post
Share on other sites

Hi @Gigamaxx thanks for the explanation, btw how to change the "value" from CFG, CFG_LIMIT_FB

in my case HD 7790 I get wake problem too

 

ioreg -lw0 | grep CFG_FB_LIMIT

 

 

ioreg -lw0 | grep CFG_FB_LIMIT
| | | | | "CFG_FB_LIMIT" = 0
| | | | | "ATY,Exmoor" = {"aty_config"={"CFG_USE_AGDC"=Yes,"CFG_DEF_DITH"=0,"CFG_DIAG_LED"=1,"CFG_PTPL2_TBL"=<5a000000520000004c00000047000000430000003f0000003b00000037000000330000002f0000002b00000027000000230000001f0000001b00000017000000>,"CFG_NVV"=2,"CFG_FB_LIMIT"=6}}
| | | | | "aty_config" = {"CFG_PTPL2_MIN"=30,"CFG_FORCE_HDMI"=No,"CFG_NO_MST"=No,"CFG_FORCE_MAX_DPS"=No,"CFG_USE_DPT"=Yes,"CFG_NO_HDCP"=No,"CFG_CAA"=0,"CFG_APER_MODE"=1,"CFG_PULSE_INT"=Yes,"CFG_PTPL2_MAX"=150,"CFG_USE_STUTTER"=No,"CFG_FB_LIMIT"=0,"CFG_USE_FEDS"=Yes,"CFG_USE_FBC"=No,"DALUseUrgencyWaterMarkOffset"=0,"CFG_NODM"=Yes,"DALReadDelayStutterOff"=4,"CFG_USE_REGAMMA"=Yes,"CFG_USE_AGDC"=No,"CFG_GEN_FLAGS"=0,"CFG_INT_SSPC"=25,"CFG_TRANS_WSRV"=Yes,"CFG_NO_SLS"=No,"CFG_USE_TCON"=No}


 

Share this post


Link to post
Share on other sites

Hi @Gigamaxx thanks for the explanation, btw how to change the "value" from CFG, CFG_LIMIT_FB

in my case HD 7790 I get wake problem too

 

ioreg -lw0 | grep CFG_FB_LIMIT

 

 

ioreg -lw0 | grep CFG_FB_LIMIT

| | | | | "CFG_FB_LIMIT" = 0

| | | | | "ATY,Exmoor" = {"aty_config"={"CFG_USE_AGDC"=Yes,"CFG_DEF_DITH"=0,"CFG_DIAG_LED"=1,"CFG_PTPL2_TBL"=<5a000000520000004c00000047000000430000003f0000003b00000037000000330000002f0000002b00000027000000230000001f0000001b00000017000000>,"CFG_NVV"=2,"CFG_FB_LIMIT"=6}}

| | | | | "aty_config" = {"CFG_PTPL2_MIN"=30,"CFG_FORCE_HDMI"=No,"CFG_NO_MST"=No,"CFG_FORCE_MAX_DPS"=No,"CFG_USE_DPT"=Yes,"CFG_NO_HDCP"=No,"CFG_CAA"=0,"CFG_APER_MODE"=1,"CFG_PULSE_INT"=Yes,"CFG_PTPL2_MAX"=150,"CFG_USE_STUTTER"=No,"CFG_FB_LIMIT"=0,"CFG_USE_FEDS"=Yes,"CFG_USE_FBC"=No,"DALUseUrgencyWaterMarkOffset"=0,"CFG_NODM"=Yes,"DALReadDelayStutterOff"=4,"CFG_USE_REGAMMA"=Yes,"CFG_USE_AGDC"=No,"CFG_GEN_FLAGS"=0,"CFG_INT_SSPC"=25,"CFG_TRANS_WSRV"=Yes,"CFG_NO_SLS"=No,"CFG_USE_TCON"=No}

 

 

 

 

 

 

Using Clover Configurator in the Devices section, thats where the Arbitrary injection can be placed.    Try the example above in the pic to see if it works for sleep, it was reported to work on RX 580.

Share this post


Link to post
Share on other sites

Yes I know how to inject but the value = 5 why 5

 

Picos-Mac-Pro:~ pico$ /Users/pico/Downloads/lsframebuffer-master/lsframebuffer-ati
Prt Conect CtrFlg Conect Display
 0. 0x0400 0x0304 DP     NONE
 1. 0x0800 0x0204 HDMI   LCD
 2. 0x0004 0x0004 DL-DVI NONE
 3. 0x0004 0x0014 DL-DVI NONE
 4. 0x0400 0x0100 DP     NONE
 5. 0x0400 0x0100 DP     NONE

 

its mean I use 5 too or 4 cause my card only 4 (1 HDMI, 2 DVI, 1 DP)

thanks for advance

Share this post


Link to post
Share on other sites

Using Clover Configurator in the Devices section, thats where the Arbitrary injection can be placed.    Try the example above in the pic to see if it works for sleep, it was reported to work on RX 580.

hi ,, i find there is no difference between using orinoco and dayman..

Share this post


Link to post
Share on other sites

Yes I know how to inject but the value = 5 why 5

 

Picos-Mac-Pro:~ pico$ /Users/pico/Downloads/lsframebuffer-master/lsframebuffer-ati

Prt Conect CtrFlg Conect Display

 0. 0x0400 0x0304 DP     NONE

 1. 0x0800 0x0204 HDMI   LCD

 2. 0x0004 0x0004 DL-DVI NONE

 3. 0x0004 0x0014 DL-DVI NONE

 4. 0x0400 0x0100 DP     NONE

 5. 0x0400 0x0100 DP     NONE

 

its mean I use 5 too or 4 cause my card only 4 (1 HDMI, 2 DVI, 1 DP)

thanks for advance

 

 

Yes just edit it to 4 instead of 5.    this example was for a RXD 580 Saphire Nitro with 5 IO ports.

Share this post


Link to post
Share on other sites

Here it is test it and report back please, it goes in Clover "Devices" section in Arbitrary.

 

attachicon.gifupload_2017-12-11_23-12-28.png

 

It is a new addition to High Sierra, there are device IDs in the info.plist.    In Sierra there were only device IDs 0x68101002 (example) in the controlerkext and AMDX000kext.     Now in HS there are 3 IDs, one in Controllerkext, one in X000kext, and now one in the AMDRadeonx4000HWkext and AMDRadeonx5000HWkext.    The vAMD3000kext seems to be like the older Sierra layout.     Maybe this is the new Metal2 kext layout.

 

Its really weird, the 4100, 4150, 4200, and 4250 kexts have device IDs in them for the same cards in many cases ie... 0x67ef, 0x67ff, 0x67df but only one kext gets assigned.

Do you mean that I need edit the value according to GPU's port number ?

For example there are 4 ports (2 DP, 1 HDMI & 1 DVI) need edit it to 4 .

Share this post


Link to post
Share on other sites

Do you mean that I need edit the value according to GPU's port number ?

For example there are 4 ports (2 DP, 1 HDMI & 1 DVI) need edit it to 4 .

 

Yes, that is what I meant.

hi ,, i find there is no difference between using orinoco and dayman..

 

There are many others to try.    see here the AMD9250Controller with the 67DF and 67EF IDs.   There are more kexts too look at and try to find the best fit for frame buffer.   Look at the data for CARONI, ELQUI and FLORIN.     These may be for Apple specific cards and you may stumble onto a fit for your card.

 

post-1753549-0-84736000-1513742450_thumb.pngpost-1753549-0-39206800-1513742489_thumb.png

Share this post


Link to post
Share on other sites

Here it is test it and report back please, it goes in Clover "Devices" section in Arbitrary.

 

attachicon.gifupload_2017-12-11_23-12-28.png

 

It is a new addition to High Sierra, there are device IDs in the info.plist.    In Sierra there were only device IDs 0x68101002 (example) in the controlerkext and AMDX000kext.     Now in HS there are 3 IDs, one in Controllerkext, one in X000kext, and now one in the AMDRadeonx4000HWkext and AMDRadeonx5000HWkext.    The vAMD3000kext seems to be like the older Sierra layout.     Maybe this is the new Metal2 kext layout.

 

Its really weird, the 4100, 4150, 4200, and 4250 kexts have device IDs in them for the same cards in many cases ie... 0x67ef, 0x67ff, 0x67df but only one kext gets assigned.

Can we do the same thing to disable AGDC? For fixing black screen after wake. How do I fill up those boxes?

 

"CFG,CFG_USE_AGDC", Buffer () {

0x00

}

Share this post


Link to post
Share on other sites

Yes, that is what I meant.

 

Thanks for this patch which works for RX-560 at 10.13.3 DB2 (17D25b) with value=03 in Intel Z87 hackintosh.

It also works for Radeon HD 6870 at 10.13.2 (17C88) & 10.13.3 DB2 (17D25b) with value=05 in AMD FX-6300 hackintosh.

Share this post


Link to post
Share on other sites

On XFX R9 280X 10.12.6 Clover r439. Checked RadeonDeinit in Clover Configurator and deleted WhateverGreen from Kexts/Other. Graphics working but have lost Display Port audio.

Share this post


Link to post
Share on other sites

On XFX R9 280X 10.12.6 Clover r439. Checked RadeonDeinit in Clover Configurator and deleted WhateverGreen from Kexts/Other. Graphics working but have lost Display Port audio.

DP/HDMI audio requires either Lilu+Whatevergreen or customized SSDT, note with a SSDT it is also required to have ATIInject=yes in Clover config.

Share this post


Link to post
Share on other sites

Thanks, I have the SSDT-HDEF-HDAS-1.aml generated by toleda's audio_CloverHDMI, is that the SSDT you are referring to? I'm unfamiliar with ATIInject and is undocumented so bit aprehensive about trying that, will wait to hear your reply about the SSDT.

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By kushwavez
      Acer Aspire V15 V5-591G - macOS Sierra 10.12.6 - Big Sur 11
      Running Big Sur 11.0.1!
      (Sierra, High Sierra and Mojave needs "SATA-100-series-unsupported.kext" and unmodified "AirPortBrcmFixup.kext")
       
      (Note: mine is 55TU version, but the bootpack will work fine with another versions of 591G, for example: V5-591G-71K2, -764Z, -59PU, etc.)
      Specifications:
      Motherboard: USOPP_SLS (Skylake-H PCH) BIOS: Insyde Corp. v 1.15 CPU: Intel Core i5-6300HQ 2.3 GHz (Skylake) GPU: NVIDIA GeForce GTX 950M 2 GB (Optimus) & Intel HD Graphics 530 RAM: 16 GB DDR4 (2x 8 GB SAMSUNG 2133 MHz) WiFi + Bluetooth: Qualcomm Atheros QCNFA344A 5 GHz (Later -> Broadcom BRCM94352Z M.2 5 GHz WiFi + 4.0 Bluetooth) Audio: Realtek HD Audio: ALC 255  Ethernet: Realtek RTL8168/8111 Card Reader: Realtek USB 2.0 Card Reader (USB2.0-CRW) Webcam: HD Webcam HDD: TOSHIBA 500 GB HDD SSD: KINGSTON A2000 NVMe PCI-e SSD (if you want Windows dual-boot then you need M.2 SATA SSD since NVMe will not work on Windows due interfering with NVIDIA GTX 950M (bluescreen when loading drivers)) Display: 1366x768 (15.6", Matte) Battery: 6 cell 56Wh / 5040mAh Connectors:  1x SD Card Reader 2x USB 3.0 (1x USB Charging), 1x USB 2.0 1x VGA 1x HDMI 1x 3.5mm microphone/audio combined jack connector 1x Ethernet (Rj-45) Keyboard & Touchpad: Multi-Touch & Multi-gestures ELAN 501 Touchpad, Backlight Keyboard. Working:  
      Wi-Fi (with BCM94352Z) Bluetooth hand-off (With BCM94352Z) Full Graphics Acceleration Display: if default colour profile is corrupted (blue is not actual blue but purplish) Use "Rec. ITU-R BT. 709-5" Color Profile (System Pref. -> Displays -> Color) HDMI & VGA Outputs Audio  Ethernet  App Store, Messages, FaceTime, Siri, iCloud Integrated webcam 3.0 USB Touchpad and Keyboard (with working gestures and Fn+Brightness keys) Battery info Sleep Mode NVMe PCI-e x4 SSD Power Management Hardware decoding/encoding (up to HEVC) Not working:
      Original Wi-Fi (Qualcomm Atheros QCNFA344A):  Only Bluetooth is working, Wifi is unsupported, changed to Broadcom BCM94352Z NVIDIA GeForce GTX 950M: Optimus not supported. Card Reader: Unsupported For Wi-Fi:
      1st method: You can choose an external USB wifi dongle (I used TP-Link Archer T1U (5GHz support), TP-Link has official macOS drivers, you just need to install it 2nd and best method: Replace your M.2 Qualcomm Card with a compatible BCM94352Z card (you will have hand-off Bluetooth too), just install the kexts (enabled with BrcmFirmwareRepo, BrcmPatchRAM3, AirportBrcmFixup kexts they're all in my attached zip). Or buy BCM94360NG for OOB support. You could buy these cards from ebay, aliexpress, or amazon Issues:
      - Sometimes Combo Jack audio is not working after sleep
      Not tested:
      - Hibernation
      - FileVault
      BIOS Settings:
      - BIOS version 1.15 (irrelevant)
      - Secure Boot: Disabled
      - Touchpad: Advanced
      - Boot mode: UEFI
      Getting ready for Installation:
       Download the install zip (bootpack & postinstall):  Click here (v5126) -> Acer_Aspire_V5-591G_Clover_v5126.zip (Tested: Sierra 10.12.6 -> macOS Big Sur 11.0.1)
      Installation:
      - Create an installer with any method you know (- Mac: createinstallmedia, gibMacOS - Windows: Transmac, Vmware, Win32diskimager, gibMacOS)
      - Copy my Clover folder to the USB's EFI folder
      - Boot with the Installer USB
      - If you stuck in boot, reboot and in the Clover bootloader select "config_debug.plist" -> you'll have more informations about the freeze
      - To disable SIP boot with "config_debug.plist"
       
      Please open the README.pdf in my install zip for more informations about the USB Installer & Post installation!
      If you have a single RAM and getting panic at boot, then you need to edit the "config.plist" with these (SMBIOS->after "Version 1.0"):
      ->Edit "Frequency" and "Size" to match your RAM values
      <key>Version</key> <string>1.0</string> <key>Memory</key> <dict> <key>Channels</key> <integer>1</integer> <key>SlotCount</key> <integer>1</integer> <key>Modules</key> <array> <dict> <key>Slot</key> <integer>0</integer> <key>Size</key> <integer>8192</integer> <key>Frequency</key> <integer>2133</integer> <key>Type</key> <string>DDR4</string> </dict> </array> </dict> </dict> Before updating to a new version of macOS please update kexts (and clover if necessary) to newer versions to avoid kernel panics.
      Generate a serial number with Clover Configurator.app (open up your config.plist with CC then -> SMBIOS -> Serial Number -> Generate New)
      Here some pictures:

       
      Running fine on Big Sur 11.0.1 
       

      Finally a fully working touchpad.
       
      Sierra 10.12.6
       
      High Sierra 10.13.6
       
      Mojave 10.14.6
       
      Catalina 10.15.7
      macOS & Windows 10 Dual-Boot:
      Dual-boot clean install (on one drive), UEFI Only:
       
       Boot into your Mac installer, Create 2 partitions in GUID table (1 for Win (I used FAT32 but I think it doesn't matter what you choose), 1 for Mac),   Install Mac, boot with your USB, mount your EFI partition (use terminal or an EFI mounter app), create an EFI folder (if there is no folder), copy the CLOVER folder I attached to the EFI folder, restart,  Boot into your Win installer, Format the partition you created for Win, install.   Now, it's automatically booting into Windows. To use Clover open cmd in administrator, type:  bcdedit /set {bootmgr} path \EFI\CLOVER\CLOVERX64.efi  
            5.  You're done! It will booting into Clover when you start the system, and you can select Win or Mac (or another OS if installed on a 3rd partition).
       
      IF YOU GETTING ERRORS DURING WINDOWS INSTALLATION (could not be formatted, etc):
      Make sure you have GPT partitions, and GPT (UEFI) installer, also disconnect all external storage drives (except the installer USB)  
      IF YOU CAN'T MOUNT YOUR EFI PARTITION (No EFI partition found):
      It's because your EFI is not 200 MB or not an "Apple" original EFI,  but don't worry, try another EFI mounter, or mount from terminal (I used EFI Mountain Show: Getting errors, but you can mount and use without problem) You also could "mount" the EFI from Windows: 1st method: open cmd in administrator mode and type:
      diskpart list vol (Now select the "System" volume,(FAT 32) For example I select 4) sel vol 4 list part (Select System type partition, for example 2) sel part 2 assign letter=b (This will "mount" your EFI partition) Open Explorer++ in administrator mode to manage EFI
      remove letter=b (This will "unmount" your EFI) 2nd method: open cmd in administrator mode and type:
      mountvol b: /s (This will mount your EFI) Open Explorer++ in administrator mode to manage EFI
      mountvol b: /d (This will unmount your EFI) Useful Applications for Mac:
      EFI Mountain Show -> To easily mount your EFI Clover Configurator -> To easily manage your config.plist https://mackie100projects.altervista.org/download-clover-configurator/ PlistEditPro -> Advanced plist editor https://www.fatcatsoftware.com/plisteditpro/ iStat Menus -> To monitoring your devices https://bjango.com/mac/istatmenus/ Boom 3D -> To significantly increase your audio quality https://www.globaldelight.com/boom/ TextMate -> a basic code editor just like Notepad++ on Windows https://macromates.com Modified Wineskin to run basic Windows 32-bit or 64-bit (or DX9 games) applications on Catalina -> https://www.reddit.com/r/MacOS/comments/fobx5t/i_didnt_want_to_boot_windows_every_time_when_i/ CrossOver 20 -> Run DirectX 11 applications on Catalina=< https://www.codeweavers.com/crossover/ MaciASL -> View/Edit your .aml, .dsl files https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/ Hackintool -> All useful info, tools in one place https://github.com/headkaze/Hackintool IORegistryExplorer V2.1 -> To view your IO tables https://github.com/vulgo/IORegistryExplorer/releases/tag/v2.1 App Cleaner -> To delete your apps with caches https://freemacsoft.net/appcleaner/ Intel Power Gadget -> To see your frequencies https://software.intel.com/en-us/articles/intel-power-gadget Carbon Copy Cloner -> Advanced macOS drive backup utility https://bombich.com Commander One -> A Total Commander alternative for macOS https://mac.eltima.com/file-manager.html  
      Useful Applications for Windows:
      Total Commander -> To easily manage EFI https://www.ghisler.com mountvol b: /s -> To mount your system drive EFI EasyUEFI -> To manage boot orders and any bootloaders with ease https://www.easyuefi.com/index.html MiniTool Partition Wizard -> To mount your USB EFI, and manage other drives https://www.minitool.com/partition-manager/ Notepad++ -> Basic code editor for all type of files https://notepad-plus-plus.org gibMacOS -> A python script for downloading/creating macOS Internet Recovery USB from Windows (working internet is needed when installing) https://github.com/corpnewt/gibMacOS  
       
      Notes:
      For Sierra, High Sierra, Mojave you need to download and use the full AirPortBrcmFixup.kext for WiFi, and replace CtlnaAHCIPort.kext with SATA-100-series-unsupported.kext for AHCI Sata drives For Sierra only you need to replace SMCBatteryManager.kext with ACPIBatteryManager.kext for working Battery indicator  
      Changelog:
      2020.11.12: Touchpad now fully functional with gestures, Patched Fn+Brightness keys (Fn+Left, Fn+Right), repatched DSDT, changed SMBIOS to MacBookPro13,1 for better support, fixed CPU Stepping, fixed some wrong lines in config.plist, updated to Big Sur release, updated bootpack, updated guide. 2020.11.03: Tested macOS Sierra, High Sierra, Mojave, Catalina, Big Sur, updated guide 2020.11.01: Initial upload
    • By kushwavez
      A really good motherboard with macOS compatible bult-in Wifi & Bluetooth

      ASUS Z170-Deluxe (with Wifi)
      BIOS: v3801
      CPU: i7-6700K 4.0 to 4.2 GHz (w/o OC)
      RAM: 1x 16 GB Corsair DDR4 2400 MHz
      GPU: Intel HD 530 (Headless) & ASUS Radeon RX 5700 OC 8 GB
      Audio: ALC 1150
      Ethernet: I219V2, I211-AT
      WiFi & Bluetooth: Broadcom BCM94360HMB Half-Mini-PCI-E
      More Specs: https://www.asus.com/Motherboards/Z170-DELUXE/specifications/
       
      El Capitan 10.11.6 -> Big Sur 11 - Windows 10
       
      What is working:
      BCM94360HMB Wifi and Bluetooth AirDrop, Handoff, FaceTime, Messages, App Store, iCloud, etc. Intel HD 530 (QE/CI tested, but now I'm using it in headless) Sleep RX 5700 (QE/CI with 2 1080p monitors connected) Sound (all ports) USB Ports Two Ethernet ports macOS with a light OC (4.12 GHz - 4.5 Ghz, XMP, ASUS optimal) ASUS HyperKit and M.2 with a KINGSTON NVMe SSD - 250 GB Hardware decoding/encoding on both HD 530 and RX 5700 (HD 530 up to HEVC, RX 5700 at the time of writing VP9) iGPU only (with QuickSync) is used in the default config.plist To use dGPU for hw decode/encode and also use Intel QuickSync you need to start with "config_headless.plist" This will use iMac17,2 SMBIOS and shikigva=80 To use dGPU only boot with "config_amd.plist" also disable iGPU completely in BIOS. This will use iMacPro1,1 SMBIOS without iGPU System Integrity Protection is Enabled by default. If you need to boot with SIP disabled you may use "config_debug.plist" or disable it manually in Clover settings. If you want Enabled SIP but with allowing unsigned kexts you may boot with "CsrActiveConfig = 0x01"  
      What is not working:
      -  
       
      Not tested:
      Thunderbolt (no equipment)  
      Issues:
      None  
      BIOS Settings:
      Boot\CSM (Compatibility Support Module): Launch CSM: Disabled Boot\Secure Boot: OS type: Other OS Secure Boot State: Disabled Advanced\System agent (sa) Configuration: VT-d: Enabled Graphics Configuration: (This is for HD 530 in headless) Primary Display: Auto (to use dGPU only this must be PEG) iGPU Multi-monitor: Enabled (to use dGPU only this must be Disabled) RC6(Render Standby): Enabled (to use dGPU only this must be Disabled) DVMT Pre-Allocated: 128M Advanced\PCH Storage Configuration: SATA Mode Selection: AHCI HyperKit: Enable (if you have NVMe SSD with ASUS HyperKit) Advanced\CPU Configuration: Intel Virtualization Technology: Enabled CPU- Power Management Control: CPU- C-States: Enabled Intel SpeedShift: Enabled  
      Getting ready for installation:
      Download the bootpack (Clover v5126): Click here -> Z170-DELUXE_Clover_v5126.zip (Tested: El Capitan 10.11.6 -> macOS Big Sur 11.0.1)  
      Installation:
      Create an installer with any method you know (- Mac: createinstallmedia, gibMacOS - Windows: Transmac, Vmware, Win32diskimager, gibMacOS) Copy my Clover folder to the USB's EFI folder Boot with the Installer USB If you have any problem (kp or freeze) boot with config_debug.plist to see what causes the issue  
      Post Installation:
      Download Clover Configurator and generate a new Serial Number for yourself  
      Some pictures:

       
       



       
      El Capitan 10.11.6
       
      Sierra 10.12.6
       
      High Sierra 10.13.6
       
      Mojave 10.14.6
       
      Catalina 10.15.7
       
      Catalina & Windows 10 Dual-Boot (clean install, on one drive):
       Boot into your Mac installer, Create 2 partitions in GUID table (1 for Win (I used FAT32 but I think it doesn't matter what you choose), 1 for Mac)
       Install Mac, boot with your USB, mount your EFI partition (use terminal or an EFI mounter app), create an EFI folder (if there is no folder), copy the CLOVER folder I attached to the EFI folder, restart
      Boot into your Win installer, Format the partition you created for Win, install. 
      Now, it's automatically booting into Windows. To use Clover open cmd in administrator, type: 
      bcdedit /set {bootmgr} path \EFI\CLOVER\CLOVERX64.efi  
      You're done! It will booting into Clover when you start the system, and you can select Win or Mac (or another OS if installed on a 3rd partition).
       
      IF YOU GETTING ERRORS DURING WINDOWS INSTALLATION (could not be formatted, etc):
      Make sure you have GPT partitions, and GPT (UEFI) installer, also disconnect all external storage drives (except the installer USB)  
      Mounting EFI from Windows:
      Open cmd in administrator mode and type: mountvol b: /s (This will mount your EFI) Open Total Commander or Explorer++ in administrator mode to manage EFI mountvol b: /d (This will unmount your EFI)  
      Useful Applications for Mac:
      EFI Mountain Show -> To easily mount your EFI Clover Configurator -> To easily manage your config.plist https://mackie100projects.altervista.org/download-clover-configurator/ PlistEditPro -> Advanced plist editor https://www.fatcatsoftware.com/plisteditpro/ iStat Menus -> To monitoring your devices https://bjango.com/mac/istatmenus/ Boom 3D -> To significantly increase your audio quality https://www.globaldelight.com/boom/ TextMate -> a basic code editor just like Notepad++ on Windows https://macromates.com Modified Wineskin to run basic Windows 32-bit or 64-bit (or DX9 games) applications on Catalina -> https://www.reddit.com/r/MacOS/comments/fobx5t/i_didnt_want_to_boot_windows_every_time_when_i/ MaciASL -> View/Edit your .aml, .dsl files https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/ Hackintool -> All useful info, tools in one place https://github.com/headkaze/Hackintool IORegistryExplorer V2.1 -> To view your IO tables https://github.com/vulgo/IORegistryExplorer/releases/tag/v2.1 App Cleaner -> To delete your apps with caches https://freemacsoft.net/appcleaner/ Intel Power Gadget -> To see your frequencies https://software.intel.com/en-us/articles/intel-power-gadget Carbon Copy Cloner -> Advanced macOS drive backup utility https://bombich.com Commander One ->A Total Commander alternative for macOS https://mac.eltima.com/file-manager.html  
      Useful Applications for Windows:
      Total Commander -> To easily manage EFI https://www.ghisler.com gibMacOS -> A python script for downloading/creating macOS Internet Recovery USB from Windows (working internet is needed when installing) https://github.com/corpnewt/gibMacOS mountvol b: /s -> To mount your system drive EFI
      EasyUEFI -> To manage boot orders and any bootloaders with ease https://www.easyuefi.com/index.html
      MiniTool Partition Wizard -> To mount your USB EFI, and manage other drives https://www.minitool.com/partition-manager/
      Notepad++ -> Basic code editor for all type of files https://notepad-plus-plus.org
       
      Notes:
      No need to change anything inside Clover from El Capitan to Big Sur For macOS Mojave and older you might need the full AirPortBrcmFixup.kext for full WiFi support   
      Changelog:
      2020.11.12: Noticed that the CPU is always at 4200 Mhz, created an SSDT for proper CPU stepping. Updated to Big Sur release version, updated bootpack
      2020.11.03: Tested El Capitan, Sierra, High Sierra, Mojave, Catalina, Big Sur
      2020.11.01: Updated bootpack to Clover v5126, ready for macOS 11 Big Sur final release
      2020.04.23: Corrected layout-id to use all audio ports, updated bootpack
      2020.04.22: Deleted unnecessary boot-args, can boot without any custom boot-args (except agdpmod=pikera for RX 5700), updated bootpack
      2020.04.20: Deleted unnecessary lines from config.plist, updated bootpack
      2020.04.17: Replaced FakeSMC with VirtualSMC because FakeSMC is outdated (to see your frequencies use Intel Power Gadget) -> Removed unnecessary kexts, Updated all necessary kexts, updated Clover to v5112, updated bootpack, enabled SIP, deleted bootcamp theme
      2020.03.26: Updated to 10.15.4 -> Updated WhateverGreen, Lilu -> Updated Clover to v5107
      2020.03.23: Removed "EmuVariableUefi.efi" -> deleted, caused false nvram map, now it's native, updated Clover to v5106
      2020.02.11: Updated to 10.15.3 -> No problem when/after installing
      2020.01.19: Added ASUS HyperKit NVMe SSD to the "What is working" list
      2020.01.12: Tested system with OC, added more informations to BIOS settings
      2020.01.11: Added SmallTreeIntel82576.kext for 2nd Ethernet, Tested Ethernet ports
      2020.01.11: First upload
       
    • By shantur
      Hi,
       
      I am trying to passthrough FirePro D700 gpu to MacOS Catalina VM in ESXi running on MacPro6,1.
      I have tried normal MacOS VM with ESXi it didn't work. After deep inspection and research I found out that ESXi doesn't provide the VBIOS to MacOS VM and hence no way of MacOS to read information about the GPUs.
       
      After researching more I found out that with SSDT i could inject VBIOS via "ATY,bin_image" property. I extracted VBIOS with DarwinDumper and created SSDT. I installed OpenCore to add this SSDT and enabled WhateverGreen and Lilu. Now IORegistry shows that I have bios for my GPU but still there is no output on any of my ports.
       

       
      I am trying to inject more properties but no luck.
      I have attached my OpenCore folder and IOReg from the VM below.
      Has anyone ever attempted something similar? Any help or pointers how can I implement this?
       
      PS : Just to let you know I can make this work with Proxmox as it allows an option to inject GPU vbios but need ESXi for compatibility purposes.
      MacOSVM.ioreg.zip
      OC.zip
    • By kokozaurs
      Hi all,
       
      I'm using ESXI 7.0b (did use 6.7 to try but with no difference).
       
      Right now on Catalina but I can't seem to try to get GPU (RX580) working properly.
       
      I pass it through to the VM(tried with windows before with no problems) and it appeared just as pci-device with no name.
       
      After that, I've applied whatevergreen + lilu kexts and it does properly recognize it under system report however that's all there is. It's listed at GFX0. See attached images.
       
      No hardware acceleration. Monitor also not turning on using either DP/HDMI. 
       
      Since it is being passed through to the VM, it seems that the problem is not on ESXi side but on macOS side. 
       
      Has anyone has been able to pass through an AMD GPU to ESXI VM? Can anyone suggest some pointers as to where I could find some solutions to this problem?
       
      Thanks! 
       
       



×