Contribute
Register

[BUG] Black screen 3 minutes after booting, CoffeeLake UHD 630

Joined
Jan 26, 2018
Messages
153
Motherboard
MSI GV62 8RE (HM370)
CPU
i7-8750H
Graphics
UHD630 & GTX1060(non MAXQ) 1920x1080
Mac
  1. MacBook Pro
GFX0 vs. IGPU will not affect the ability to enter sleep.

You probably just had some sleep assertions that needed to clear (best to check for them to be clear prior to attempting Apple->Sleep).
Tried again, this time too it didn't go to sleep. Stuck on a black screen with keyboard light on(same as before, no backlight).
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,968
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Tried again, this time too it didn't go to sleep. Stuck on a black screen with keyboard light on(same as before, no backlight).

Did you check your assertions?
Code:
pmset -g assertions

Also, check that you implemented fixes for instant wake.

Also, best to test just display sleep/wake (without full computer sleep) first.
 
Joined
Dec 7, 2011
Messages
545
Motherboard
Razer Blade 15 - Clover
CPU
i7-8750H
Graphics
UHD 630/GTX 1060 - 1920x1080
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
Just wanted to chime in with my testing.

Using Whatevergreen 1.2.4b1 with RehabMans debug version of PNLF. I wasn't able to boot with igfxcflbklt=freq but I was with igfxcflbklt=none and igfxcflbklt=wrap.

igfxcflbklt=none was always a black screen at boot.
igfxcflbklt=wrap works most of the time. Right now 5 out of 8 boots have booted with brightness and everything else working as it should. The other 3 boots have been to the black screen.

Problem reporting files attached, incase it might help with figuring out the issue.

Razer Blade 15 2018. High Sierra Build 17G2307

What everyone is doing here is way beyond my abilities and I very much appreciate you all working on this issue!
 

Attachments

  • debug_1365.zip
    1.8 MB · Views: 77
Last edited:
Joined
Aug 7, 2018
Messages
114
Motherboard
Asus TUF FX504GE (Clover)
CPU
i7-8750H/HM370
Graphics
UHD 630, Nvidia 1050ti, 1920x1080
Mobile Phone
  1. Android
Same thing with me. It would boot most of the times.
 
Joined
Jun 20, 2014
Messages
1,015
Motherboard
Gigabyte Aero 15X v8-BK4K4P
CPU
i7-8750H
Graphics
UHD 630 / GTX 1070
Right now 5 out of 8 boots have booted with brightness and everything else working as it should. The other 3 boots have been to the black screen.

Can you download the latest WhateverGreen.

I've added wrappers for AppleIntelFramebufferController::hwSetPanelPower, AppleIntelFramebufferController::LightUpEDP and CamelliaTcon2::doRecoverFromTconResetTimer.

Also it now overwrites 0x56CE and 0x4571 with 0x1D4C0.

Please try igfxcflbklt=wrap boot flag again.
 
Last edited:
Joined
Dec 7, 2011
Messages
545
Motherboard
Razer Blade 15 - Clover
CPU
i7-8750H
Graphics
UHD 630/GTX 1060 - 1920x1080
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
Can you download the latest WhateverGreen.

I've added wrappers for AppleIntelFramebufferController::hwSetPanelPower, AppleIntelFramebufferController::LightUpEDP and CamelliaTcon2::doRecoverFromTconResetTimer.

Also it now overwrites 0x56CE and 0x4571 with 0x1D4C0.

Please try igfxcflbklt=wrap boot flag again.


Did as you asked, igfxcflbklt=wrap resulted in a Kernel Panic at boot. Image of the panic is attached as well as Problem Reporting Files.

I had to use igfxcflbklt=opcode in order to boot with the new WhateverGreen. Successful boots with backlight seem to be the same. 4 out of 6 reboots have been with backlight working, the other 2 went to black screen. But using opcode seemed to have fixed my wake from sleep issue or maybe it's the new WhateverGreen. But with the old WhateverGreen and the using the Wrap flag the laptop would sometimes wake up to a black screen. I haven't gotten that yet with this new combination.

I actually had to reboot 4 times to get a picture of the KP with the igfxclfbklt=wrap. The first time I booted with that flag and the new WhateverGreen I wasn't in Verbose mode, but backlight was working. The next 3 boots with that flag backlight shut off, the 4th time it started to boot with the backlight on and then threw a kernel panic.
 

Attachments

  • IMG_20181024_224737.jpg
    IMG_20181024_224737.jpg
    5.7 MB · Views: 85
  • debug_25426.zip
    1.9 MB · Views: 53
Joined
Jan 26, 2018
Messages
153
Motherboard
MSI GV62 8RE (HM370)
CPU
i7-8750H
Graphics
UHD630 & GTX1060(non MAXQ) 1920x1080
Mac
  1. MacBook Pro
Did as you asked, igfxcflbklt=wrap resulted in a Kernel Panic at boot. Image of the panic is attached as well as Problem Reporting Files.

I had to use igfxcflbklt=opcode in order to boot with the new WhateverGreen. Successful boots with backlight seem to be the same. 4 out of 6 reboots have been with backlight working, the other 2 went to black screen. But using opcode seemed to have fixed my wake from sleep issue or maybe it's the new WhateverGreen. But with the old WhateverGreen and the using the Wrap flag the laptop would sometimes wake up to a black screen. I haven't gotten that yet with this new combination.

I actually had to reboot 4 times to get a picture of the KP with the igfxclfbklt=wrap. The first time I booted with that flag and the new WhateverGreen I wasn't in Verbose mode, but backlight was working. The next 3 boots with that flag backlight shut off, the 4th time it started to boot with the backlight on and then threw a kernel panic.

Just did a commit. Can you please try it.

Same thing with the latest commits for me. Wrap fixes the 3 min delay issue but then my laptop wont wake up from sleep(screen stays black, no backlight), same as vettz500's.
Freq and opcode are unable to fix the 3 minute delay but with them I can wake up from sleep without any issue.
PR files attached.
 

Attachments

  • debug_450.zip
    2.8 MB · Views: 56
Joined
Aug 7, 2018
Messages
114
Motherboard
Asus TUF FX504GE (Clover)
CPU
i7-8750H/HM370
Graphics
UHD 630, Nvidia 1050ti, 1920x1080
Mobile Phone
  1. Android
Same thing with the latest commits for me. Wrap fixes the 3 min delay issue but then my laptop wont wake up from sleep(screen stays black, no backlight), same as vettz500's.
Freq and opcode are unable to fix the 3 minute delay but with them I can wake up from sleep without any issue.
PR files attached.
Send the built WEG please.
 
Top