Catalina Haswell sleep/wake kernel panics

CPU: Intel i7-4770K

GPU: Sapphire Radeon RX 580 8 GB with Intel HD Graphics 4600 enabled

RAM: 32 GB (4 x 8 GB)

Motherboard/Laptop model: Gigabyte GA-Z87X-OC Force

Audio Codec: Realtek ALC898, currently layout 1

Ethernet Card: 2x Intel (motherboard)

Wifi/BT Card: fenvi 802.11AC Desktop WiFi Card 802.11 A/B/G/N/AC Bluetooth 4.0

What guide/tool followed:

I followed the earlier version of OpenCore Desktop Guide for OpenCore 0.5.5 in order to convert from a generally working Clover setup with Mojave. I basically started over by reformatting my second SATA SSD to get a fresh EFI partition and a new Catalina installation. I have updated to OC 0.5.6 and 0.5.7 following the upgrade information in the Dortania guides. I always try to check my config.plist with the OpenCore sanity checker.

I started by creating my own SSDTs with ssdtPrgen. I think I've also generated them in Linux now with SSDTTime. I am using iMac14,2 for the system definition.

I left the i7-4770K's iGPU (Intel HD Graphics 4600) enabled. I have tried different modes for the iGPU (starting with headless), using references like the WhateverGreen Intel® HD Graphics FAQ.

As of OC 0.5.7, I have created my first-ever USBMap using corpnewt/USBMap. I used this guide and the on-screen instruction from the Python script. I slightly preferred this over Hackintool. This process was very frustrating on my system and I'm not sure I got it right, but I believe all ports in use are working.

I have also followed the Optimizing Power Management steps to see if that would help with sleep. I did not find a min hex freq, TDP-down Frequency, Minimum Multiplier, or FSB for my Intel i7-4770K. I did not see a change in the problems below when I guessed and used the CPUFriendDataProvider.kext that was created.

I have compared my settings and config.plist against another OC Force example I came across. I think I changed some BIOS settings based on that build, and it helped a bit with something, but I forget what.

What part I got an issue with:

  1. System infrequently wakes successfully from sleep. I get a kernel panic notice after I start the computer back up. (Biggest problem.)
  2. Stuttering/pauses with USB devices (keyboard, mouse, USB headset when playing music) after creating USBMap. (Minor problem in comparison, but getting more annoying.)

I am primarily trying to resolve the sleep/wake problems / kernel panics. My symptoms correspond to issues discussed at the following links.

What files/config I am using:

Extra Info:

I have tried various things related to HDMI/HDEF (because I could see IOGraphicsFamily and coreaudiod in the kernel panics, and lots of the threads seemed to involve GPUs in some way). This went along with other attempts at just seeing if power management / USB might be part of the issue.

  1. Disable iGPU in the BIOS and in the config.plist. Didn't help.
  2. Change iGPU layouts.
  3. Disable HDEF on HDMI with DeviceProperties (below).

Two different DeviceProperties "no-hda-gfx" patches I've tried:

 <key>PciRoot(0x0)/Pci(0x1b,0x0)</key> <dict> <key>No-hda-gfx</key> <data>AAAAAAAAAAA=</data> <key>PciRoot(0x0)/Pci(0x1b,0x0)</key> <dict> <key>No-hda-gfx</key> <data>b25ib2FyZC0xAA==</data> 
  • up to 3 DVI monitors on the Radeon RX 580, two smaller ones with DVI-to-HDMI adapters, one larger one needs to use the card's dual-link DVI port
  • Highpoint RocketRAID 2720gsl card
  • fenvi 802.11AC Desktop WiFi Card
  • Iocrest Firewire card (new after changing to OpenCore)
  • No-name USB 3 card (ports show up as PXSX), which I may just remove (new after changing to OpenCore)

What is currently working:

  1. Normal operation.
  2. Ethernet and Wifi.
  3. Bluetooth.
  4. Apple Watch unlock offered, often works, except for screen saver unlocking.
  5. Mac OS updates.
  6. Messages.
  7. FaceTime.
  8. DRM for Apple TV+ free videos.
submitted by /u/samovar_ocforce
[link] [comments]
Whatsapp