First Hackintosh - Catalina 10.15.4 - Ryzen 3700x + RX 5700XT OC 0.5.7 - still have questions too

SUCCESS

Success screenshot

This is my long awaited attempt to make a Hackintosh, and I didn’t plan my build around doing this either, so I guess I got lucky with my parts being compatible. It has been a smooth going adventure for the most part, with the exception of resolving the sleep issue present on AMD Ryzen systems.

I primarily learned how to do this with the Vanilla Guide, which OC was 0.5.6 at the time, which was a good experience overall. I did need to reference a couple of YouTube videos when I was having trouble understanding the exact steps to take.

I initially started with everything matching the Vanilla guide, using the SSDTs provided, and since I ran into sleep issues I started to dive a little deeper to see if I could resolve the issue with any information I could find surrounding the topic.

To start I dumped my SSDT using SSDTTime, and I didn’t have anything showing up for EC0, according to SSDTTime, so I used my dumped SSDT-EC to then merge in the USBX properties, which is why you will see the SSDT-EC-USBX-X570, instead of SSDT-EC-USBX-AMD, which lead to me having better information from IORegistryExplorer when attempting to map my USB ports.

After that was done, I used SSDTTime to patch out IRQ conflicts to create SSDT-HPET.

I found a guide by aplus.rs, which after reading the guide and reviewing the SSDTs, provided me with SSDT-GP13-XHC0-to-XHC2 and SSDT-XHC1-to-XHCI. These SSDTs were used to make sure that each USB controller had a unique name, and so that I would be within the 15 port limit for each controller. SSDT-SBUS-MCHC-X570 is used to add a SMbus device and fix DeviceProperties injection.

I could take a step further, and fully map each port that I am using, but it even when I had my USB ports mapped there was no noticeable difference with getting sleep to work, other than receiving another type of KP, having to do with my NIC, which I listed near the bottom of this post, under Extra Info.

Most of the Kexts that I am using are required for the system, according to the OC Vanilla Guide. When looking into sleep issues I found out about AGPMInjector, and so I added AGPMInjector.kext in order to align GPU Power Management settings according to the SMBIOS iMacPro1,1 that I am using.

I will note that, I did try using SMBIOS MacPro7,1 however I don’t have ECC RAM, so I received “memory modules misconfigured” so I stopped using it.

I am using the GUI boot picker for OpenCore, so the Resources folder is populated, but not shown in the post as there are A LOT of files in there.

  • Hardware:

  • CPU: Ryzen 7 3700x

  • GPU: RX 5700XT Red Devil

  • RAM: Corsair Vengeance LPX 16 GB (2 x 8 GB) DDR4-3000 Memory (non-ECC)

  • Motherboard/Laptop model: X570 MSI MPG Gaming Plus

  • Audio Codec: Realtek ALC1220 Codec (set to alcid=1 on config.plist)

  • Ethernet Card: Realtek 8111H Gigabit LAN Controller

  • Wifi/BT Card: No WiFi. Using a ZEXMTE Bluetooth USB adapter.

    • It is not listed as being supported but it works.
  • What guide/tool followed:

  • What part I got an issue with:

    • Not a big deal at this time, but my USB Type-C port doesn’t appear to function, and I am currently waiting on new USB Type-C hub to test the port as I have never had to use it, and I my current USB Type-C adapter doesn't seem to be detected.
  • What files/config I am using:

      .
      ├── APPLE
      │  └── EXTENSIONS
      │      └── Firmware.scap 
      ├── BOOT
      │  └── BOOTx64.efi
      └── OC
          ├── ACPI
          │  ├── SSDT-EC-USBX-X570.aml
          │  ├── SSDT-GP13.XHC0-to-XHC2.aml
          │  ├── SSDT-HPET.aml
          │  ├── SSDT-SBUS-MCHC-X570.aml
          │  └── SSDT-XHC1-to-XHCI.aml
          ├── Drivers
          │  ├── ApfsDriverLoader.efi
          │  ├── AudioDxe.efi
          │  ├── HfsPlus.efi
          │  ├── OpenCanopy.efi
          │  └── OpenRuntime.efi
          ├── Kexts
          │  ├── AGPMInjector.kext
          │  ├── AMDRyzenCPUPowerManagement.kext
          │  ├── AppleALC.kext
          │  ├── AppleMCEReporterDisabler.kext
          │  ├── Lilu.kext
          │  ├── NVMeFix.kext
          │  ├── RealtekRTL8111.kext
          │  ├── SMCAMDProcessor.kext
          │  ├── VirtualSMC.kext
          │  └── WhateverGreen.kext
          ├── OpenCore.efi
          ├── Resources
          │  ├── Audio
          │  ├── Font
          │  ├── Image
          │  └── Label
          ├── Tools
          │  └── OpenShell.efi
          └── config.plist
    
  • Extra Info:

    • Apple folder in my EFI automatically populated, I haven’t touched it since it populated itself.
    • Sleep does appear to be somewhat broken, as the system won’t fully sleep, because the motherboard along with all system fans stay on. Once the Display turns off completely, I can’t get the system to turn back on with the USB keyboard or mouse. However, with HibernateMode set to either 3 or 25, using pmset, I am able to return to my session just by turning the PC tower off, and then turning the system back on without receiving a Kernel Panic.
      • I will note that using HibernateMode with setting 3 is faster to restore what applications I was already running when the system fell asleep, when compared to HibernateMode being set to 25. So, I just have to remember to do the extra step of pressing the power button on my system.
        • The reason for needing to press the power button on the tower, is that if I leave the system powered on when it is in its sleep state, I will get a kernel panic, and reboot, which will state that Sleep transitioned timed out after 180 seconds. This does happen even after I mapped my USB ports. The other type of Kernel Panic, which appears if I map my USB ports, shows the following Kernel Extensions in backtrace, making me think that my NIC is also keeping the system from sleeping as well:
          • com.insanelymac.RealtekRTL8111(2.2.2)
            • dependency: com.apple.iokit.IONetworkingFamily(3.4)
            • dependency: com.apple.iokit.IOPCIFamily(2.9)
    • Another thing that I have noticed, which is not a very big deal, is that my Windows NVMe Drive appears as an “Untitled” external HDD, unlike my other SATA internal HDD which is used for storage when using Windows.
    • Anything paired using Bluetooth in MacOS breaks the Bluetooth pairing when booting Windows, and vice versa.
    • Currently I can’t get rid of the notification bubble on the System Preferences icon, but I. Have re
  • Question that remains for me with regard to OpenCore Troubleshooting, which also may help me resolve the sleep issue:

    • You can double check which controller is XHC0 via IOReg and checking the Vendor ID(1022 for AMD chipset). The fix for this sleep issue is either: (All three of my controllers have Vendor ID 1022)
      • Avoid the chipset USB all together(ideally set _STA = 0x0 to disable the controller outright with an SSDT)
        • My question is: Where am I supposed to be looking for this specific _STA to set to 0x0? Am I supposed to see that in my System DSDT, if so I have not idea which one I am supposed to be looking?
          • I will state that I have not yet gone to the Discord to ask where to look for the above USB Controller information yet, but I do intend to.

Posted Apr 22, 2020, 5:30 PM UTC

72
Loading comments…