Contribute
Register

[Unsolvable] Black screen when waking from sleep on Mojave 10.14.3, Lenovo G50-80, Broadwell HD 5500

Status
Not open for further replies.
Joined
Mar 22, 2017
Messages
106
Motherboard
Lenovo G50-80 + Clover
CPU
i5-5200U
Graphics
HD 5500 & R5 M230
Mobile Phone
  1. Android
Hi, I have a problem with my Hackintosh on Lenovo G50-80:

When I move the mouse or press the key of the laptop to wake it up from sleep, it will just show a black screen with light. What's wrong with my laptop?

At present, both battery status and brightness are working. This is what I did to patch the DSDT, and my clover configuration is attached as per FAQ.

Also, I have tried @rafigh89 's solution at https://www.tonymacx86.com/threads/solved-black-screen-after-upgrade-to-high-sierra.237050/ to fix the EDID value, but I just got a black screen with light when the boot finished.

Please help me, thanks!

Update
This is an unsolvable problem since 10.12.4, see [README] Common (some unsolved) Problems in 10.12 Sierra.
As a workaround, I completely disabled sleep on my Broadwell Hackintosh using the following command:
Code:
sudo pmset -a sleep 0; sudo pmset -a hibernatemode 0; sudo pmset -a disablesleep 1;
You can undo it by:
Code:
sudo pmset -a sleep 1; sudo pmset -a hibernatemode 25; sudo pmset -a disablesleep 0;
See here.
This will grey out Sleep:
387626


Also go to System Preference -> Energy saver, and set Turn display off after to Never:
388130
 

Attachments

  • Problem reporting.zip
    2.7 MB · Views: 173
Last edited:
Joined
Mar 22, 2017
Messages
106
Motherboard
Lenovo G50-80 + Clover
CPU
i5-5200U
Graphics
HD 5500 & R5 M230
Mobile Phone
  1. Android
Joined
Mar 22, 2017
Messages
106
Motherboard
Lenovo G50-80 + Clover
CPU
i5-5200U
Graphics
HD 5500 & R5 M230
Mobile Phone
  1. Android
Do I need to revert the following DSDT patch (It is for brightness control too, and it works well for me now, i.e. Brightness Slider in System Preferences & Brightness Keys in Keyboard) :

Code:
[igpu] Brightness fix (Haswell/Broadwell)
 
Last edited:
Joined
Mar 22, 2017
Messages
106
Motherboard
Lenovo G50-80 + Clover
CPU
i5-5200U
Graphics
HD 5500 & R5 M230
Mobile Phone
  1. Android
The brightness guide says:

Note: If you already have patched your DSDT (or SSDT) with a "Brightness" patch (PNLF), you must remove it!

But I don't know what PNLF means. Finally, I see them at https://github.com/RehabMan/Laptop-DSDT-Patch/blob/master/.maciasl#L24-L27 :

Code:
[igpu] Brightness fix    graphics/graphics_PNLF.txt
[igpu] Brightness fix (HD3000/HD4000)    graphics/graphics_PNLF_ivy_sandy.txt
[igpu] Brightness fix (Haswell/Broadwell)    graphics/graphics_PNLF_haswell.txt
[igpu] Brightness fix (ACPI 100)    graphics/graphics_PNLF-ACPI100.txt

So I think RehabMan meant that we need to remove [igpu] Brightness fix (Haswell/Broadwell) , don't we?
 
Joined
Mar 22, 2017
Messages
106
Motherboard
Lenovo G50-80 + Clover
CPU
i5-5200U
Graphics
HD 5500 & R5 M230
Mobile Phone
  1. Android
After the 10.12.4 update IntelBacklight.kext and ACPIBacklight.kext don't work perfectly, only mapping key work...
On Mojave use AppleBacklightFixup.kext with patch SSDT-PNLF.aml for the brightness, and to fix black screen after sleep
Currently I used none of IntelBacklight.kext , ACPIBacklight.kext or AppleBacklightFixup.kext , just the DSDT patch [igpu] Brightness fix (Haswell/Broadwell) .

Now I'm going to remove the DSDT patch and try with AppleBacklightFixup.kext + SSDT-PNLF.aml .
 
Joined
Mar 22, 2017
Messages
106
Motherboard
Lenovo G50-80 + Clover
CPU
i5-5200U
Graphics
HD 5500 & R5 M230
Mobile Phone
  1. Android
Unluckily, after I applied AppleBacklightFixup.kext + SSDT-PNLF.aml , still got a black screen when waking from sleep, and the brightness control works as before. Anything I can do to fix this?

By the way, from this post https://www.tonymacx86.com/threads/...40-70-g50-70-g40-70-using-clover-uefi.261787/ and this post https://www.tonymacx86.com/threads/guide-native-power-management-for-laptops.175801/, I saw:

Also, be aware that hibernation (suspend to disk or S4 sleep) is not supported on hackintosh.

You should disable it:

Does this mean I should not click Apple logo -> sleep? And what is the difference between hibernation and sleep? Update: I saw their difference at https://apple.stackexchange.com/questions/260578/difference-between-sleep-hibernate-etc, so I think Apple logo -> sleep should work but not now, still need a way to fix. I will be appreciated if you have any clues to fix this!
 
Last edited:
Joined
Mar 22, 2017
Messages
106
Motherboard
Lenovo G50-80 + Clover
CPU
i5-5200U
Graphics
HD 5500 & R5 M230
Mobile Phone
  1. Android
I plugin HDMI with another screen (mirror the display with my laptop's screen) to test and find it's interesting:

  1. When waking from sleep, the second screen will wake but my laptop's screen doesn't (still a black screen with light).
  2. At waking from sleep, everything works well with the external screen. However, after about 1 minute, the screen freeze (the battery percentage icon no change when I plugin charger) and the mouse and trackpad not working on the screen anymore, but the CapsLk still works.
Again, I have attached the modified version of my Clover folder (using AppleBacklightFixup.kext + SSDT-PNLF.aml ).
 

Attachments

  • CLOVER.zip
    2 MB · Views: 88
Joined
Mar 22, 2017
Messages
106
Motherboard
Lenovo G50-80 + Clover
CPU
i5-5200U
Graphics
HD 5500 & R5 M230
Mobile Phone
  1. Android
darkwake=0 : External screen does not freeze anymore. I can move the mouse on it, but I cannot click any item, nor does plug/unplug changer change the battery percentage icon (It's really strange). Laptop's screen is still the same (a black screen with light).
 
Last edited:
Joined
Mar 22, 2017
Messages
106
Motherboard
Lenovo G50-80 + Clover
CPU
i5-5200U
Graphics
HD 5500 & R5 M230
Mobile Phone
  1. Android
Thanks.

I have done some random test, darkwake=1 & darkwake=8 are the same with darkwake=0
 
Joined
Mar 22, 2017
Messages
106
Motherboard
Lenovo G50-80 + Clover
CPU
i5-5200U
Graphics
HD 5500 & R5 M230
Mobile Phone
  1. Android
Status
Not open for further replies.
Top