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

SOLVED Instant wake after sleep with black screen

Status
Not open for further replies.

crypolarbear

New member
Joined
Oct 18, 2022
Messages
19
Motherboard
MSI Z590i Unify
CPU
10700k
Graphics
Rx 6800xt
OS X/macOS
13.x
Bootloader
  1. OpenCore (UEFI)
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Hi everyone! I am new to the hackintosh community and this is my first post here. Recently, I tried to build a hackintosh with the msi z590i unify mothorboard, and one with the msi z590 ace, which is pretty similar to the z590i unify build. The one with z590 ace works pretty good with some minor issues, but the sleep/wake works fine. Although the efi config of the z590i unify one is basically edited from the z590 ace build, the sleep function seems to be broken for some reasons on it.

Here is the hardware:

Motherboard: MSI Z590i Unify
CPU: 10700k
Graphics: Rx 5300
Wifi & BT: Onboard Ax210
OS X: macOS Monterey 12.6
Bootloader: OpenCore
Mac: iMac20,2

It wakes immediately after going into sleep. And it just goes into a loop of continuously sleep and wake with black screen until I use the keyboard or mouse to wake it. I've tried to disconnect all usb devices and ethernet, and it still failed. The onboard ax210 wifi&BT module was enabled in bios, but I didn't include drivers for it and the usb port of BT wasn't mapped as well. I also tried to disabled it in the bios but the result remained the same. So I don't think it was the cause.

I looked up into the wake reason and found out the RP04 was the only reason, but there was no RP04 in my system. That's just weird.

Screenshot 2022-10-20 at 4.53.29 AM.png


Screenshot 2022-10-20 at 5.55.44 AM.png

The usb ports are all properly mapped. And the internal usb2.0 hub connector is set to intenal type as well, even though there is no device connected to it for now. I used the USBToolBox to map them. Both the UTBMap.kext with USBToolBox.kext and the USBMap.kext with Apple native management methods were tested, but the sleep still failed. I also tried using the universal ssdt files provided by the OpenCore guide and then generating my own ssdt files with SSDTTime. Make no difference in both cases.

Screenshot 2022-10-20 at 5.03.55 AM.png

The pmset seems fine as well.

Screenshot 2022-10-20 at 5.04.04 AM.png

The igpu is enabled for HW acceleration and set to display mode framebuffer 00009B3E since empty framebuffer for headless mode doesn't work at all. The z590 ace build has the same setting for igpu and the sleep function works fine, so I don't think it's cause.

I really have no idea of what affected the sleep function. Any ideas or help are much appreciated. The z590i unify is such a great option for hackintosh and I really want to make it work as perfect as I can. Spent many days on it. Hoping someone here can help me. Thank you!

Here is the PR files including EFI and ioreg.
 

Attachments

Hi everyone! I am new to the hackintosh community and this is my first post here. Recently, I tried to build a hackintosh with the msi z590i unify mothorboard, and one with the msi z590 ace, which is pretty similar to the z590i unify build. The one with z590 ace works pretty good with some minor issues, but the sleep/wake works fine. Although the efi config of the z590i unify one is basically edited from the z590 ace build, the sleep function seems to be broken for some reasons on it.

Here is the hardware:

Motherboard: MSI Z590i Unify
CPU: 10700k
Graphics: Rx 5300
Wifi & BT: Onboard Ax210
OS X: macOS Monterey 12.6
Bootloader: OpenCore
Mac: iMac20,2

It wakes immediately after going into sleep. And it just goes into a loop of continuously sleep and wake with black screen until I use the keyboard or mouse to wake it. I've tried to disconnect all usb devices and ethernet, and it still failed. The onboard ax210 wifi&BT module was enabled in bios, but I didn't include drivers for it and the usb port of BT wasn't mapped as well. I also tried to disabled it in the bios but the result remained the same. So I don't think it was the cause.

I looked up into the wake reason and found out the RP04 was the only reason, but there was no RP04 in my system. That's just weird.

View attachment 5159


View attachment 5160

The usb ports are all properly mapped. And the internal usb2.0 hub connector is set to intenal type as well, even though there is no device connected to it for now. I used the USBToolBox to map them. Both the UTBMap.kext with USBToolBox.kext and the USBMap.kext with Apple native management methods were tested, but the sleep still failed. I also tried using the universal ssdt files provided by the OpenCore guide and then generating my own ssdt files with SSDTTime. Make no difference in both cases.

View attachment 5161

The pmset seems fine as well.

View attachment 5162

The igpu is enabled for HW acceleration and set to display mode framebuffer 00009B3E since empty framebuffer for headless mode doesn't work at all. The z590 ace build has the same setting for igpu and the sleep function works fine, so I don't think it's cause.

I really have no idea of what affected the sleep function. Any ideas or help are much appreciated. The z590i unify is such a great option for hackintosh and I really want to make it work as perfect as I can. Spent many days on it. Hoping someone here can help me. Thank you!

Here is the PR files including EFI and ioreg.
Incomplete PR files attached.

- IOReg is corrupt. Use v2.1
- Hackintool>PCIe Export is missing
- Kextcache output is missing
 
Incomplete PR files attached.

- IOReg is corrupt. Use v2.1
- Hackintool>PCIe Export is missing
- Kextcache output is missing
I see, here it is. Thank you!
 

Attachments

I see, here it is. Thank you!
Provide the following:

- Bootlog. Execute the following command in Terminal.
Code:
log show --last boot | head -1500 > ~/Documents/bootlog.txt

- Tableset. Using MaciASL>File>Export Tableset.
 
Provide the following:

- Bootlog. Execute the following command in Terminal.
Code:
log show --last boot | head -1500 > ~/Documents/bootlog.txt

- Tableset. Using MaciASL>File>Export Tableset.
Ok, here it is. But I just shutdown and reboot it. Hope it is still valid.
 

Attachments

Ok, here it is. But I just shutdown and reboot it. Hope it is still valid.
Your bootlog contains one Table load failure.

Code:
2022-10-20 08:09:57.409380+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Exception: AE_NOT_FOUND,
2022-10-20 08:09:57.409382+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform) (SSDT:xh_rksu4) while loading table
2022-10-20 08:09:57.409383+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform) (SSDT:xh_rksu4) while loading table
2022-10-20 08:09:57.409384+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/tbxfload-319)
2022-10-20 08:09:57.409385+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/tbxfload-319)
2022-10-20 08:09:57.412118+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2022-10-20 08:09:57.412119+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2022-10-20 08:09:57.412120+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform) 1 table load failures, 19 successful
2022-10-20 08:09:57.412120+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform) 1 table load failures, 19 successful
2022-10-20 08:09:57.412122+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/tbxfload-342)
2022-10-20 08:09:57.412122+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/tbxfload-342)

You can simply drop the Table causing the issue. To drop the Table, create a new entry in your config.plist under ACPI>Delete section with the following data
  • TableSignature: SSDT
  • OemTableId: 78685F72 6B737534
  • Table Length: 0
  • Comment: Drop xh_rksu4
  • Enabled: True
Once you're done with the changes, simply save your config.plist and reboot the system and reset NVRAM twice. Delete the old bootlog and generate a new one.
 
Your bootlog contains one Table load failure.

Code:
2022-10-20 08:09:57.409380+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Exception: AE_NOT_FOUND,
2022-10-20 08:09:57.409382+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform) (SSDT:xh_rksu4) while loading table
2022-10-20 08:09:57.409383+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform) (SSDT:xh_rksu4) while loading table
2022-10-20 08:09:57.409384+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/tbxfload-319)
2022-10-20 08:09:57.409385+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/tbxfload-319)
2022-10-20 08:09:57.412118+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2022-10-20 08:09:57.412119+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2022-10-20 08:09:57.412120+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform) 1 table load failures, 19 successful
2022-10-20 08:09:57.412120+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform) 1 table load failures, 19 successful
2022-10-20 08:09:57.412122+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/tbxfload-342)
2022-10-20 08:09:57.412122+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/tbxfload-342)

You can simply drop the Table causing the issue.
  • TableSignature: SSDT
  • OemTableId: 78685F72 6B737534
  • Table Length: 0
  • Comment: Drop xh_rksu4
  • Enabled: True
Once you're done with the changes, simply save your config.plist and reboot the system and reset NVRAM twice. Delete the old bootlog and generate a new one.
I'm sorry, but I don't know how to drop this table. I couldn't find it in my config.plist. Is there any other tool that I need to locate it? Or can you give me detailed instruction of how? Please forgive my silly question, I'm still new to hackintosh.
 
I'm sorry, but I don't know how to drop this table. I couldn't find it in my config.plist. Is there any other tool that I need to locate it? Or can you give me detailed instruction of how? Please forgive my silly question, I'm still new to hackintosh.
To drop the Table, create a new entry in your config.plist under ACPI>Delete section. Read Post #6
 
Oh, how fool I am! Thank you for explanation! Here is the new bootlog.
 

Attachments

Oh, how fool I am!
Happens 😁😁

The error seems to be fixed.

Code:
2022-10-20 09:11:45.410118+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI:
2022-10-20 09:11:45.410118+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI:
2022-10-20 09:11:45.410120+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform) 19 ACPI AML tables successfully acquired and loaded
2022-10-20 09:11:45.410120+0800 0x75       Default     0x0                  0      0    kernel: (AppleACPIPlatform) 19 ACPI AML tables successfully acquired and loaded

Try to put the system into sleep mode. If it wakes up, execute the following command and post the output.
Code:
pmset -g log | grep -e "Sleep.*due to" -e "Wake.*due to"
 
Status
Not open for further replies.

Latest posts

Forum statistics

Threads
1,839
Messages
17,128
Members
26,348
Latest member
muhil