Contribute
Register

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

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,123
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
So this is further more a Whatevergreen issue still and not so much an SSDT-PNLF issue?
My understanding is that WhateverGreen is attempting to fix everything regarding PWM initialization.

SSDT-PNLFCFL.aml does no manipulation of the backlight PWM registers, so the problem cannot be there.
 
Joined
Dec 8, 2011
Messages
439
Motherboard
Razer Blade 15 - Clover
CPU
i7-8750H
Graphics
UHD 630/GTX 1060 - 1920x1080
Mac
MacBook Pro
Mobile Phone
Android
My understanding is that WhateverGreen is attempting to fix everything regarding PWM initialization.

SSDT-PNLFCFL.aml does no manipulation of the backlight PWM registers, so the problem cannot be there.
Will continue testing on my end, but it looks like with both the Lilu and WhateverGreen updates from earlier today the issue is solved on my end. Using your SSDT-PNLFCFL
So far 14/14 reboots with no black screen upon boot up. Will update with any changes.

Edit I spoke too soon. A few minutes after leaving this comment I rebooted and got the black screen.
 
Last edited:
Joined
Jan 26, 2018
Messages
154
Motherboard
MSI GV62 8RE (HM370)
CPU
i7-8750H
Graphics
UHD630 & GTX1060(non MAXQ) 1920x1080
Mac
MacBook Pro
Will continue testing on my end, but it looks like with both the Lilu and WhateverGreen updates from earlier today the issue is solved on my end. Using your SSDT-PNLFCFL
So far 14/14 reboots with no black screen upon boot up. Will update with any changes.

Edit I spoke too soon. A few minutes after leaving this comment I rebooted and got the black screen.
For me, the black screen issue is gone for good after using Fraxul's SSDT-PNLF and latest WEG, but the system just reboots sometimes while playing youtube videos or using xCode, there's literally no verbose log, just reboots....like that.
Im sure this is because of WEG, because without it, it never happens.

So I was wondering can I know the reason for these kernel panics/reboots like from a kmsg type of log?
@RehabMan
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,123
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
For me, the black screen issue is gone for good after using Fraxul's SSDT-PNLF and latest WEG, but the system just reboots sometimes while playing youtube videos or using xCode, there's literally no verbose log, just reboots....like that.
Im sure this is because of WEG, because without it, it never happens.

So I was wondering can I know the reason for these kernel panics/reboots like from a kmsg type of log?
@RehabMan
No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.
 
Joined
Jan 26, 2018
Messages
154
Motherboard
MSI GV62 8RE (HM370)
CPU
i7-8750H
Graphics
UHD630 & GTX1060(non MAXQ) 1920x1080
Mac
MacBook Pro
No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.
Sorry, I was waiting for an actual panic to happen to capture the logs.
So I put the hack to sleep and it rebooted just like that.
Logs are attached.
Also, this doesn't happen without WEG.
 

Attachments

Joined
Jan 26, 2018
Messages
154
Motherboard
MSI GV62 8RE (HM370)
CPU
i7-8750H
Graphics
UHD630 & GTX1060(non MAXQ) 1920x1080
Mac
MacBook Pro
Glad the issue is finally solved. It is fully working for me. No black screen issue. Backlight control working. Also, backlight level is being restored properly across reboots.

Don't have enough words to thank the awesome people who worked on it and fixed it.
Could you upload your CLOVER folder?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,123
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Sorry, I was waiting for an actual panic to happen to capture the logs.
So I put the hack to sleep and it rebooted just like that.
Logs are attached.
Also, this doesn't happen without WEG.
You have mismatched SystemMemory addresses... super obvious if you diff ACPI/patched from ACPI/origin:
Code:
u430:origin Admin$ diff ../origin/ ../patched/ |grep -y SystemMemory
<     OperationRegion (GNVS, SystemMemory, 0x798F4000, 0x0866)
>     OperationRegion (GNVS, SystemMemory, 0x79924000, 0x0866)
 
Joined
Jan 26, 2018
Messages
154
Motherboard
MSI GV62 8RE (HM370)
CPU
i7-8750H
Graphics
UHD630 & GTX1060(non MAXQ) 1920x1080
Mac
MacBook Pro
You have mismatched SystemMemory addresses... super obvious if you diff ACPI/patched from ACPI/origin:
Code:
u430:origin Admin$ diff ../origin/ ../patched/ |grep -y SystemMemory
<     OperationRegion (GNVS, SystemMemory, 0x798F4000, 0x0866)
>     OperationRegion (GNVS, SystemMemory, 0x79924000, 0x0866)
Yeah, deleted the DSDT.aml as I don't really need it, it's only patched for brightness keys and they are bugged, so don't need it.
PR files attached after a restart.
 

Attachments

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,123
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Yeah, deleted the DSDT.aml as I don't really need it, it's only patched for brightness keys and they are bugged, so don't need it.
PR files attached after a restart.
With any change, you must retest...
Note that now you have no accommodation for _OSI("Darwin").
 
Joined
Jan 26, 2018
Messages
154
Motherboard
MSI GV62 8RE (HM370)
CPU
i7-8750H
Graphics
UHD630 & GTX1060(non MAXQ) 1920x1080
Mac
MacBook Pro
With the latest version of WEG, this is what happens when I run
Code:
sudo kextcache -i /
Code:
kxld[as.vit9696.WhateverGreen]: The following symbols are unresolved for this kext:
kxld[as.vit9696.WhateverGreen]:     KernelPatcher::eraseCoverageInstPrefix(unsigned long long, unsigned long)
Link failed (error code 5).
Prelink failed for as.vit9696.WhateverGreen; omitting from prelinked kernel.
Couldn't find Issues page for WEG project on vit's github so posting here.

EDIT: Sorry, was using an older version of Lilu, fixed by updating it.
 
Last edited:
Top