Contribute
Register

[solved] Black Screen after upgrade to High Sierra

Joined
May 6, 2016
Messages
58
Mac
MacBook Pro
after upgrade to high Sierra (clean install or update from Sierra), every time that display goes off (sleep or standby), it can't turn on again (only black screen with backlit). here is some system information and error reporting files.
Bios:
camera, card reader and bluetooth disabled in bios
DVTM set to 128M in bios


Solved: thanks to @xworm for find solution
and @RehabMan for his great helps and guides
read post #45 for more details.
 

Attachments

Last edited:

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
after upgrade to high Sierra (clean install or update from Sierra), every time that display goes off (sleep or standby), it can't turn on again (only black screen with backlit). here is some system information and error reporting files.
Bios:
camera, card reader and bluetooth disabled in bios
DVTM set to 128M in bios
FixRegions_10000000 is a mistake. Remove.
SystemMemory addresses are mismatched:
Code:
NUC6i7KYK:patched rehabman$ diff ../origin/ ../patched/ |grep SystemMemory
<                 OperationRegion (CPSB, SystemMemory, 0x6DCBCF18, 0x10)
>                 OperationRegion (CPSB, SystemMemory, 0x75CBFF18, 0x10)
Re-extract ACPI, re-patch.
 
Joined
May 6, 2016
Messages
58
Mac
MacBook Pro
FixRegions_10000000 is a mistake. Remove.
SystemMemory addresses are mismatched:
Code:
NUC6i7KYK:patched rehabman$ diff ../origin/ ../patched/ |grep SystemMemory
<                 OperationRegion (CPSB, SystemMemory, 0x6DCBCF18, 0x10)
>                 OperationRegion (CPSB, SystemMemory, 0x75CBFF18, 0x10)
Re-extract ACPI, re-patch.
ok. FixRegions_10000000 disabled, new DSDT extracted and patched
but LCD still can't wake after sleep or standby.
new problem reporting files attached.
 

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
Joined
May 6, 2016
Messages
58
Mac
MacBook Pro
Your backlight control is not implemented correctly (for some reason, you have two PNLF in ioreg).
Read guide for correct method:
https://www.tonymacx86.com/threads/guide-laptop-backlight-control-using-applebacklightinjector-kext.218222/
sorry for late answer.
I followed your guide. repatched all DSDT/SSDTs and removed PNLF from DSDT. But black screen still exist. new problem report file attached.
another question. I have this _INI code in SSDT5:
Code:
}

        Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            Store (Zero, \_SB.PCI0.RP01.PEGP._ADR)
        }

        Method (HGON, 0, Serialized)
        {
and _OFF in SSDT6:
Code:
}

        Method (_OFF, 0, Serialized)  // _OFF: Power Off
        {
            If (LEqual (CTXT, Zero))
            {
                If (LNotEqual (GPRF, One))
                {
                    Store (VGAR, VGAB)
                }

                Store (One, CTXT)
            }

            HGOF ()
        }
and _REG in DSDT:
Code:
            }

            Method (_REG, 2, NotSerialized)  // _REG: Region Availability
            {
                If (LEqual (Arg0, 0x03))
                {
                    Store (Arg1, ECFL)
                }
            }
and I used this patch for SSDT5:
Code:
into method label _INI parent_label \_SB.PCI0.RP01.PEGP insert
begin
//added to turn nvidia/radeon off\n
External(\_SB.PCI0.RP01.PEGP._OFF, MethodObj)\n
_OFF()\n
end;
is it enough for disable discrete graphic card?
 

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
sorry for late answer.
I followed your guide. repatched all DSDT/SSDTs and removed PNLF from DSDT. But black screen still exist. new problem report file attached.
another question. I have this _INI code in SSDT5:
Code:
}

        Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            Store (Zero, \_SB.PCI0.RP01.PEGP._ADR)
        }

        Method (HGON, 0, Serialized)
        {
and _OFF in SSDT6:
Code:
}

        Method (_OFF, 0, Serialized)  // _OFF: Power Off
        {
            If (LEqual (CTXT, Zero))
            {
                If (LNotEqual (GPRF, One))
                {
                    Store (VGAR, VGAB)
                }

                Store (One, CTXT)
            }

            HGOF ()
        }
and _REG in DSDT:
Code:
            }

            Method (_REG, 2, NotSerialized)  // _REG: Region Availability
            {
                If (LEqual (Arg0, 0x03))
                {
                    Store (Arg1, ECFL)
                }
            }
and I used this patch for SSDT5:
Code:
into method label _INI parent_label \_SB.PCI0.RP01.PEGP insert
begin
//added to turn nvidia/radeon off\n
External(\_SB.PCI0.RP01.PEGP._OFF, MethodObj)\n
_OFF()\n
end;
is it enough for disable discrete graphic card?
Your hibernatemode is wrong.
Read CPU PM guide linked from the FAQ:
http://www.tonymacx86.com/el-capitan-laptop-support/164990-faq-read-first-laptop-frequent-questions.html

Lilu based plugins installed to the system volume may require custom LiluFriend.kext.

ACPI/patched content should reflect the names you find in ACPI/origin.
To disable Nvidia, you only need the patch you mention to SSDT-5-SgPch.aml.
With DropOem=false, AutoMerge=true, you can patch by only including SSDT-5-SgPch.aml in ACPI/patched. Other SSDTs can be patched as needed with config.plist hotpatch.
See ACPI patching guide for details.

Brightness controls look ok, although you should try fake productId and fake ALS device.
 
Joined
May 6, 2016
Messages
58
Mac
MacBook Pro
Your hibernatemode is wrong.
Read CPU PM guide linked from the FAQ:
http://www.tonymacx86.com/el-capitan-laptop-support/164990-faq-read-first-laptop-frequent-questions.html

Lilu based plugins installed to the system volume may require custom LiluFriend.kext.

.....
.
for testing that a kext or bios may cause the black screen,i did the following precdure:
reset bios to default, disable webcam, card reader and bluetooth in bios, set DVTM to 128M in bios and reinstalled OS but black screen after display off still exist. then extract ACPI and repach DSDT/SSDTs black screen after display off still exis). install fakeSMC to system/library/extension and other kexts(ACPIBatterManager, AppleALC, AsusNBFnKeys, IntelGraphicFixup, Lilu, RealtekRTL8111, Sata-100-series, USBinjectAll, voodooPS2Controller) to library/extension, rebuild cach and restart (black screen after display off still exist).
install EmuVariableUefi-64.efi and some issues related to display(brightness and resolution reset after restart) solved but black screen not solved yet. also tried fake ALS device but no change. problem report file attached.
 

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
.
for testing that a kext or bios may cause the black screen,i did the following precdure:
reset bios to default, disable webcam, card reader and bluetooth in bios, set DVTM to 128M in bios and reinstalled OS but black screen after display off still exist. then extract ACPI and repach DSDT/SSDTs black screen after display off still exis). install fakeSMC to system/library/extension and other kexts(ACPIBatterManager, AppleALC, AsusNBFnKeys, IntelGraphicFixup, Lilu, RealtekRTL8111, Sata-100-series, USBinjectAll, voodooPS2Controller) to library/extension, rebuild cach and restart (black screen after display off still exist).
install EmuVariableUefi-64.efi and some issues related to display(brightness and resolution reset after restart) solved but black screen not solved yet. also tried fake ALS device but no change. problem report file attached.
EDID may play a role. Use display override to fix.
Read recent posts in this thread:
https://www.tonymacx86.com/threads/black-screen-after-screen-automatically-off-or-lock.235736/
 
Joined
May 6, 2016
Messages
58
Mac
MacBook Pro
EDID may play a role. Use display override to fix.
Read recent posts in this thread:
https://www.tonymacx86.com/threads/black-screen-after-screen-automatically-off-or-lock.235736/
after putting modified EDID(for another LCD) to S/L/Display/Content/Resource/Override and reboot display completely goes black on log in screen. I tried to delete it via Linux but I cant because this file/folder is read only. is it possible to delete it via clover bash? if yes how?
 

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
after putting modified EDID(for another LCD) to S/L/Display/Content/Resource/Override and reboot display completely goes black on log in screen. I tried to delete it via Linux but I cant because this file/folder is read only. is it possible to delete it via clover bash? if yes how?
Use Terminal from within the macOS installer. Or from Terminal within Recovery, provided you configured your system correctly for recovery boot.

Then double check your work regarding the display override (only that single byte in EDID should be changed).
 
Top