Sleep function broken on Legion 5 pro 2021. Black Screen

kontaiii

New member
AMD OS X Member
Jan 4, 2026
2
0
1
CPU:
Ryzen 7 5800H
Hello everyone, can anyone suggest or let me know how can i fix this sleep issue i am having on my legion hackintosh build. Whenever i click on sleep it goes into a black screen and never recovers, the keyboard feedback is working as i hear the input sounds, but nothing else. i have been trying a lot but can't get it fixed. I was running on NootedRed v0.8.10. Then later i downloaded a more latest version(v0.9.0) from the actions tab and artifacts on github. Still nothing seems to work.

I have attached my config.plist and some screens for anybody's reference.Screenshot 2026-06-10 at 10.17.42 PM.pngScreenshot 2026-06-10 at 10.17.57 PM.pngScreenshot 2026-06-10 at 10.18.16 PM.pngScreenshot 2026-06-10 at 10.18.42 PM.pngScreenshot 2026-06-10 at 10.19.02 PM.png
 

Attachments

Last edited:
You have a couple of NootedRed boot arguments in your config, have you tried booting the system without these boot args?

You have disabled the USBMap.kext in your OC config.plist, why?
The commonest cause of sleep/wake/auto reboot issues on a Hack is a defective USB configuration or no USB kext.

Your Lenovo laptop has the following USB ports & devices:
  1. Webcam (internal)
  2. Bluetooth (internal)
  3. 3 x USB3 Type-A ports for a total of 6 x USB ports
    1. Including 3 x USB2 virtual ports.
  4. 3 x Type-C 3.2 Gen 2 ports
    1. depending on if these are Type-C with switch (9) or TYpe-C without Switch (10) will dictate how many physical and virtual ports will be available.
    2. Type-C with switch ports will provide a physical Type-C port plus a virtual USB2 port.
    3. Type-C without switch ports will provide 2 x physical Type-C ports plus 2 x virtual USB2 ports.
The way to tell the difference between the Type-C with switch and without switch is to do the following:
  • Insert a Type-C device in to one of the ports, USBMap script will highlight a specific USB port number. Make a note of this port number.
  • Remove the Type-C device, flip it 180° and reinsert it in to the same port.
    • If the same port number is highlighted, then it is a Type-C with Switch (9)
    • If a different port number is highlighted, then it is a Type-C without switch (10)
You will need to discover and enable all the USB ports and set them with the correct port connector to eliminate the USB configuration as a cause for the black screen/display won't wake issues.
 
You have a couple of NootedRed boot arguments in your config, have you tried booting the system without these boot args?

You have disabled the USBMap.kext in your OC config.plist, why?
The commonest cause of sleep/wake/auto reboot issues on a Hack is a defective USB configuration or no USB kext.

Your Lenovo laptop has the following USB ports & devices:
  1. Webcam (internal)
  2. Bluetooth (internal)
  3. 3 x USB3 Type-A ports for a total of 6 x USB ports
    1. Including 3 x USB2 virtual ports.
  4. 3 x Type-C 3.2 Gen 2 ports
    1. depending on if these are Type-C with switch (9) or TYpe-C without Switch (10) will dictate how many physical and virtual ports will be available.
    2. Type-C with switch ports will provide a physical Type-C port plus a virtual USB2 port.
    3. Type-C without switch ports will provide 2 x physical Type-C ports plus 2 x virtual USB2 ports.
The way to tell the difference between the Type-C with switch and without switch is to do the following:
  • Insert a Type-C device in to one of the ports, USBMap script will highlight a specific USB port number. Make a note of this port number.
  • Remove the Type-C device, flip it 180° and reinsert it in to the same port.
    • If the same port number is highlighted, then it is a Type-C with Switch (9)
    • If a different port number is highlighted, then it is a Type-C without switch (10)
You will need to discover and enable all the USB ports and set them with the correct port connector to eliminate the USB configuration as a cause for the black screen/display won't wake issues.
Hey!! thanks for these detailed inputs let me try to do these changes and see if the problem gets sorted out. I actually disabled those two kexts because its getting stuck on loading screen if i use the mapped usb kexts, maybe i am not able to do it properly i need to see what i am mapping and what is required. I was just using the GenericUSB to go ahead use the system as it was running, but the sleep is causing issues.

Also some suggestion would be great:
1. For this mapping do i need to disable XHCI1 controller in the bios advance AMD CBS menu:AMD CBS > FCH Common Options > USB Configuration Options > XHCI1. This build has done sleep successfully i guess, but it had a RX card: https://github.com/kalkmann/Legion-5600H-Hackintosh. and this build has 3050: https://github.com/ducviet5138/Hackintosh-Legion-5. They used a ForgedIvariant.kext. Do you know if this would work.
2. In my config file i have disabled my RTX 3070, i think its off still the power consumption is huge. Any ways to fix that?
3. Chrome with hardware acceleration is not working , i am getting red screen freezes and stutters if enabled. even with 4 GB VRAM allocation , its not working. Do you know any fix for this.

Would be very helpful thanks.
 
  1. No, do not disable the XHCI/1 USB Controller. You need all USB controllers to be enabled.
    1. ForgedInvariant.kext will work in your AMD laptop, it is ok to use that kext. Won’t necessarily make any difference to the sleep function, but it won’t hurt to use it.
  2. Using any laptop to run macOS with an Nvidia dGPU is always problematic, in that while the dGPU can be disable using a custom SSDT, the power consumption is not reduced to the extent you would expect. Because the system will continue to power the dGPU, even though it is not being used by the OS.
    1. A laptop that has a MUX Switch is a different matter, in which case you can set the laptop (usually high-end units) so the iGPU or the dGPU is only to be used.
    2. Most laptops use ‘Switchable Graphics’ where the OS decides which GPU to use for any given task, usually depending on whether there is mains power or not. MacOS has never worked with ‘Switchable Graphics’, and that is still the case today.
    3. The Dortania guide for disabling a dGPU is linked below. You may have already used this guide.
    4. https://dortania.github.io/OpenCore-Install-Guide/extras/spoof.html
  3. I recall reading about a fix for Chrome graphics artefacts when using an AMD iGPU. It wasn’t on the ChefKiss website though. It might have been on Tonymacx86’s site but I can’t remember what the fix was or in what context it was posted.
 
  AdBlock Detected
Sure, ad-blocking software does a great job at blocking ads, but it also blocks some useful and important features of our website. For the best possible site experience please take a moment to disable your AdBlocker.