Contribute
Register

[solved] Black Screen after upgrade to High Sierra

Status
Not open for further replies.
Joined
May 6, 2016
Messages
59
Motherboard
asus k501ux
CPU
i5-6200U
Graphics
GTX 950M
Mac
  1. 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

  • problem report.zip
    2.3 MB · Views: 473
Last edited:
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.
 
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

  • problem report2.zip
    2.4 MB · Views: 245
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/...rol-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

  • problem report3.zip
    2.5 MB · Views: 234
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-capita...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.
 
Your hibernatemode is wrong.
Read CPU PM guide linked from the FAQ:
http://www.tonymacx86.com/el-capita...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

  • Problem Report4.zip
    2.5 MB · Views: 216
.
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/
 
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?
 
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).
 
Status
Not open for further replies.
Back
Top