Jump to content

Laptop built-in display black screen when HDMI plugged-in


30 posts in this topic

Recommended Posts

Hi,

 

I am having a problem with the display of my laptop when it is connected in HDMI to an external monitor.

Basically at boot after the apple logo the laptop display turns black and does not show any content.

I must say that the external monitor works perfectly both audio and video.

I've tried all of them and I've been searching on the internet for more than a week but to no avail.

 

Could someone help me?

 

Thanks in advance.

Edited by Francesco Guagnano
Link to comment
Share on other sites

Glad to know that it worked, and your problem was solved 😉

1 hour ago, Francesco Guagnano said:

I add that by removing the boot flag -wegnoegpu

According to WEG FAQ this flag do this: -wegnoegpu to disable all external GPUs (or add disable-gpu property to each GFX0).

Link to comment
Share on other sites

Yup, you'll have to post your zipped bootloader EFI folder + an extracted IOREg if you want further support so that we can assess your setup.

 

Meantime, when you boot your laptop with HDMI connector and get black screen, try to disconnect then reconnect HDMI.

Link to comment
Share on other sites

Posted (edited)

You can find my EFI folder clicking the following link: https://github.com/ciccio-90/Lenovo_V110-15ISK_Hackintosh_OpenCore_macOS_Big_Sur/tree/main/EFI

I updated the ioreg file and "SendMe..." removig the EFI folder and ioreg file because the zip exceded the 10 MB.

Francesco’s MacBook Pro.ioreg

Anyway I tried to boot the laptop with HDMI connector and an then to disconnect then reconnect HDMI but the situation is the same.

Send me Francescos-MBP.home-life.hub.zip

Edited by Francesco Guagnano
Link to comment
Share on other sites

Test this patch my Acer https://github.com/Baio1977/Acer-Aspire-E5-574G

 

Spoiler

            <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
            <dict>
                <key>AAPL,GfxYTile</key>
                <data>AQAAAA==</data>
                <key>AAPL,ig-platform-id</key>
                <data>AAAWGQ==</data>
                <key>AAPL,slot-name</key>
                <string>Internal@0,2,0</string>
                <key>complete-modeset</key>
                <data>AQAAAA==</data>
                <key>device-id</key>
                <data>FhkAAA==</data>
                <key>device_type</key>
                <string>VGA compatible controller</string>
                <key>disable-agdc</key>
                <data>AQAAAA==</data>
                <key>enable-hdmi-dividers-fix</key>
                <data>AQAAAA==</data>
                <key>force-online</key>
                <data>AQAAAA==</data>
                <key>framebuffer-con0-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-con1-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-con1-type</key>
                <data>AAgAAA==</data>
                <key>framebuffer-con2-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-fbmem</key>
                <data>AACQAA==</data>
                <key>framebuffer-patch-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-stolenmem</key>
                <data>AAAwAQ==</data>
                <key>hda-gfx</key>
                <string>onboard-1</string>
                <key>model</key>
                <string>Intel HD Graphics 520</string>
            </dict>

 

Edited by Baio77
Link to comment
Share on other sites

@Francesco Guagnano None of the above iGPU properties will change anything, yours are fine as they are.

 

I initially experienced a kinda of similar behaviour on my Skylake/HD520 Dell Latitude E7270 laptop.

 

I suggest that:

  1. you change your selected SMBIOS to MacBookPro13,1; that's the recommended profile for classic dual-core Skylake/HD520 laptop such as yours. MacBookPro13,3 are quad-core models with HD530 graphics + AMD dGPU.
  2. you add WEG boot arg igfxonln=1 to your config. This is likely to help you recover loss of built-in LCD in situations where you plug/unplug an HDMI display or after waking the laptop from sleep. It certainly did on my E7270.
Link to comment
Share on other sites

Then maybe you need to inject your screen EDID's data into macOS. You can try and grab it from Windows or Linux and then inject it in macOS through your config file as an injected property. See the WhateverGreen User Manual for details.

 

Is this a high resolution screen, like 4K?

Link to comment
Share on other sites

2 hours ago, Francesco Guagnano said:

No, it is a 2K.

I should inject the built-in display EDID or the external monitor one?

In theory you should inject built-in display EDID to your videocard connector which correspond to the built-in display.

Link to comment
Share on other sites

7 minutes ago, Francesco Guagnano said:

Can you help me also with the internal Realtek SD Card Reader?

It is not recognized.

I tried various kexts but nothing.

I also tried to modify the AppleUSBCardReader.kext plugin of AppleStorageDriver.kext under S/L/E but also in this case nothing to do.

 

Thanks in advance.

This topic you're asking help about video. If you need help about Card Reader, you can open a new topic.

Or a better idea is searching about it on the Forum, there's some good ones:

  1. Realtek PCIe Card Reader Driver for macOS

  2. Sinetek's Driver for Realtek "RTSX" SDHC Card Readers

 

  • Thanks 1
Link to comment
Share on other sites

54 minutes ago, Slice said:

In theory you should inject built-in display EDID to your videocard connector which correspond to the built-in display.

I will try!

53 minutes ago, Allan said:

This topic you're asking help about video. If you need help about Card Reader, you can open a new topic.

Or a better idea is searching about it on the Forum, there's some good ones:

  1. Realtek PCIe Card Reader Driver for macOS

  2. Sinetek's Driver for Realtek "RTSX" SDHC Card Readers

 

Sorry!

  • Like 1
Link to comment
Share on other sites

Could possibly be a simple matter of brightness being set to lowest. You'd have to try and identify out the keys sequence that increase or decrease brightness on macOS for that laptop to verify that matter. Failing that, try to set a given brightness level in your config.

Link to comment
Share on other sites

Posted (edited)

The brightness works perfectly! I have also mapped the F11 button to decrese and the F12 one to increase and also when the builtin display is in the black screen condition if I press the F11 or the F12 I see the screen becames clear or dark.

Edited by Francesco Guagnano
Link to comment
Share on other sites

Ok, I understand better and, looking again at your IOReg extract, I see that your HDMI display (i.e. connector con1) registers as the boot display instead of the built-in screen.

HDMI_boot_display.jpg

 

You would need to make the built-in LCD (i.e. connector con0) the boot display. That can be injected in your config as a property against the iGPU@2. Something like:

@0,AAPL,boot-display        1        NUMBER

 

You may also try and add boot arg darkwake=0, though it probably won't make a difference.

Link to comment
Share on other sites

7 minutes ago, Francesco Guagnano said:

<key>@0,AAPL,boot-display</key>
<integer>1</integer>

Hi man remove everything under this PciRoot(0x0)/Pci(0x2,0x0)

keep only 

Spoiler

<key>AAPL,ig-platform-id</key>

<data>AAAWGQ==</data>

<key>device-id</key>

<data>FhkAAA==</data>

<key>framebuffer-patch-enable</key>

<data>AQAAAA==</data>

<key>framebuffer-stolenmem</key>

<data>AAAwAQ==</data>

<key>framebuffer-fbmem</key>

<data>AACQAA==</data>

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...