• Become a Premium Member for $25/year with no ads to improve your community experience.

Random freezes, reboots and sleep not working after adding Graphic card

gipsy

Member
Joined
Feb 5, 2022
Messages
69
Motherboard
ASRock Z490 Phantom Gaming ITX/TB3
CPU
Intel I9-10850K
Graphics
Sapphire RX 5500 XT 8GB
OS X/macOS
13.x
Bootloader
  1. OpenCore (UEFI)
Mobile Phone
  1. iOS
HI there,

First post but I frequently browse this forum,

I've built my current hack last summer and everything was working well (using UHD630) until I finally found a graphic card at a decent price and added it.
Since then my system randomly freezes and when it happens, I need to hard reboot it to be able to use it again, after the hard reboot no panic report is generated. Sometimes, it will reboot on its own and in this case when it reboots, I will first see the message that this Mac restarted due to a problem and can send the panic report to Apple (copy is attached).
I have also issues with sleep (turned off for the moment) where the system goes to sleep but when it wakes, the monitor does not turn on and the system reboots also generating a panic report.

I've been trying to find a solution for this but so far nothing I've tried worked and I have no issue with the card with Windows.

Attached are my EFI folder, a copy of IOReg and a copy of the last panic report I got after a reboot.

Hope someone can help :)

Thanks!
 

Attachments

HI there,

First post but I frequently browse this forum,

I've built my current hack last summer and everything was working well (using UHD630) until I finally found a graphic card at a decent price and added it.
Since then my system randomly freezes and when it happens, I need to hard reboot it to be able to use it again, after the hard reboot no panic report is generated. Sometimes, it will reboot on its own and in this case when it reboots, I will first see the message that this Mac restarted due to a problem and can send the panic report to Apple (copy is attached).
I have also issues with sleep (turned off for the moment) where the system goes to sleep but when it wakes, the monitor does not turn on and the system reboots also generating a panic report.

I've been trying to find a solution for this but so far nothing I've tried worked and I have no issue with the card with Windows.

Attached are my EFI folder, a copy of IOReg and a copy of the last panic report I got after a reboot.

Hope someone can help :)

Thanks!
The panic is due to AMD Graphics. Although, RX 5500XT works OOTB. You should turn off IGPU and delete the related device properties. I also see "PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)" which i cannot locate due to unavailability of Hackintool PCIe report.

In addition, the kexts are not in order. When using OC, it's mandatory to load the kexts in sorted order. Also, a few quirks are missing.

For sleep/wake to work, it should work without the need for any additional configuration when using AMD RX 5500XT.

Also, in what slot you have installed the GPU?
 
Thanks for your answer! I am using iMac20,2 SMBIOS which has an iGPU and a dGPU, not iMac Pro, should I turn off IGPU? My understanding is that iGPU should only be turned off if using iMac Pro or another SMBIOS with a dGPU only. Thanks for confirming.

Here is "PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)" with device id 40730000 according to Hackintool (GPU Device ID: 0x73401002); I have removed this from DeviceProperties now.

Screenshot 2022-02-06 at 10.02.58.png

I am not sure I am following you here. When I put my kexts in the kext folder, I can arrange them but once I click OC CleanSnapshot in ProperTree, they get rearranged although Lilu always stays first; current order:

0: Lilu
1: LucyRTL8125Ethernet
2: NVMeFix
3: USBPorts
4: VirtualSMC
5: WhateverGreen
6: AppleALC

Is there a way to set a specific order and for that order to remain in place?
Could you let me know which quirks are missing? I followed the OC guide for Comet Lake.

I'll have another look at sleep when the hack is stable :)
the ASRock Z490 Phantom Gaming ITX/TB# only has one GPU slot

Thanks a lot!
 
Thanks for your answer! I am using iMac20,2 SMBIOS which has an iGPU and a dGPU, not iMac Pro, should I turn off IGPU? My understanding is that iGPU should only be turned off if using iMac Pro or another SMBIOS with a dGPU only. Thanks for confirming.
That's a bit correct. My advice is to turn off IGPU, if you have a powerful GPU as compared to IGPU which can also provide encode and decode function.

Here is "PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)" with device id 40730000 according to Hackintool (GPU Device ID: 0x73401002); I have removed this from DeviceProperties now.
Sounds good!
0: Lilu
1: LucyRTL8125Ethernet
2: NVMeFix
3: USBPorts
4: VirtualSMC
5: WhateverGreen
6: AppleALC
The typical sorted order is already mentioned in the guide, but for you, it would be the following.
- Lilu
-VirtualSMC
-WEG
-AppleALC
- NVMeFix
- USBPorts
- LucyRTL8125Ethernet

Although it's advised to use NVMeFix, as per my check, on professional builds, when having multiple NVMe drives installed, there are tons of issues. I don't recommend using it.
Is there a way to set a specific order and for that order to remain in place?
I use Xcode and it works fine.
Could you let me know which quirks are missing? I followed the OC guide for Comet Lake.
After making the above changes, attach your new PR files to check further!
I'll have another look at sleep when the hack is stable :)
the ASRock Z490 Phantom Gaming ITX/TB# only has one GPU slot
After all, it's an ITX build ;)
 
Thanks a lot for your answer, appreciate!

Following your advice I turned of the iGPU in Bios (iGPU Multi-monitor: disabled on ASRock MB) and Primary Graphic Adapter is set to PCIE. After rebooting, MacOS loaded but system froze but after a hard reboot it loaded ok.

While I don't use Xcode, rearranging the kexts manually in the plist after hitting OC clan snapshot seem to work I think.

I have also removed NVMeFix kext as you suggested and PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0) and I have added SSDT-SBUS-MCHC.aml built from the .dsl in OC folder but I don't know if I need it.

Here are my updated files. Besides SSDT-SBUS-MCHC.aml, all other SSDT are taken from my DSDT and I'm using the SSDT-EC-USBX.aml generated by Hackintool when making the USBPorts.kext

Really hope you can help me sorting this out as it driving me :mad:.

Thanks a million!
 

Attachments

Thanks a lot for your answer, appreciate!

Following your advice I turned of the iGPU in Bios (iGPU Multi-monitor: disabled on ASRock MB) and Primary Graphic Adapter is set to PCIE. After rebooting, MacOS loaded but system froze but after a hard reboot it loaded ok.

While I don't use Xcode, rearranging the kexts manually in the plist after hitting OC clan snapshot seem to work I think.

I have also removed NVMeFix kext as you suggested and PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0) and I have added SSDT-SBUS-MCHC.aml built from the .dsl in OC folder but I don't know if I need it.

Here are my updated files. Besides SSDT-SBUS-MCHC.aml, all other SSDT are taken from my DSDT and I'm using the SSDT-EC-USBX.aml generated by Hackintool when making the USBPorts.kext

Really hope you can help me sorting this out as it driving me :mad:.

Thanks a million!

Delete all the Device Properties.

Enable the following quirks in Kernel section.

- AppleXcpmCfgLock
- DisableIoMapper

Your IOReg is corrupt. Use v2.1
 
Delete all the Device Properties.

Enable the following quirks in Kernel section.

- AppleXcpmCfgLock
- DisableIoMapper

Your IOReg is corrupt. Use v2.1
Ok, I will try this.

Concerning the quirks, I have AppleXcpmCfgLock and DisabledIoMapper disabled as I have disabled CFG-Lock and VT-D in BIOS.

Here is a new IOReg, hope this one works.

Thanks!
 

Attachments

Ok, I will try this.

Concerning the quirks, I have AppleXcpmCfgLock and DisabledIoMapper disabled as I have disabled CFG-Lock and VT-D in BIOS.

Here is a new IOReg, hope this one works.

Thanks!
Seems alright now. Does it still crash now? If so, is it with some specific App or scenario? Or is random?
 
I will try disabling the quirks in a minute and seee if it works, just wanted to confirm if I need to enable CFG-Lock and VT-D in BIOS as I'm modifying the plist or leave them disabled?

Let's see how this goes first ;)
 
PS: the other entry in DeviceProperties is linked to the sound, if I remove it I need to add the proper alcid boot argument to keep the sound right?
 

Trending content

Latest posts

Forum statistics

Threads
1,761
Messages
16,583
Members
25,419
Latest member
moishiteru2