Contribute
Register

ASUS N580VD - Black Built-in Display (If external displays are not hot-plugged)

Status
Not open for further replies.
Joined
Apr 27, 2019
Messages
72
Motherboard
ASUS X580GD
CPU
I5-8300H
Graphics
UHD630 / GTX1050
Mobile Phone
  1. Android
Hot-plug Problem:

When HDMI is plugged in on boot the built-in display goes black and can't be turned on until the machine is rebooted with the HDMI cables unplugged.

So in other words, the external screens need to be hot-plugged when the machine is booted else the internal display will not work. (Only show backlight but no video output).

Video of the problem:


Other problems:
  • Before I had problems with Kernel panics when connecting HDMI to USB-C, that problem is solved: Solution

Laptop specs:

Model: ASUS VivoBook 15 N580VD

Motherboard: X580VD
CPU: i7-7700HQ (Kaby Lake FCBGA-1440)
GPU: Intel HD630 / GTX1050 (2GB)
RAM: 32GB (Samsung M47A1K43CB1-CRC DDR4 2x8GB PC4 2400T SA1-11)
SSD: 256GB Micron 1100 M.2 (MTFDDAV256TBM)
SSHD: 2TB FireCuda (ST2000LX001)
Ethernet: Realtek RTL8168
WIFI: DW1820A (CN-0VW3T3)
Audio: Conexant Audio CX8150
Built-in Display: B156HAN06.1 (1080p non touch)
Touchpad: ELAN1200


BIOS SETTINGS:
BIOS VER: 317
Secureboot: Disabled
Fastboot: Disabled
Legacy USB Support: Disabled
Sata mode: AHCI
Wake on lid open: Enabled
Intel Virtual Technology: Enabled
VT-d: Enabled
CSM support: Enabled
Network Stack: Disabled
Legacy USB support: Disabled
USB Mass Storage Driver Support: Enabled
DVMT Pre-Allocated: 64M


UPDATE: This problem is partially solved!

Current situation:

Booting with HDMI connected:

Doesn't make the built-in display go black anymore!!! (More info below)

Rebooting with HDMI connected:
Black built-in display with output on external monitor.

Booting with USB-C to HDMI connected:
Black built-in display output on external monitor.

Booting with HDMI and USB-C to HDMI connected:
Black built-in display and output on the 2 external monitors, or sometimes no output on any monitor.

If you compare the video's you'll see that IF the external screen goes on BEFORE Clover bootloader, the built-in display will go black in the middle of the loading screen and won't turn back on.

When it is working the external display will only output AFTER the second half of the loading screen.

 

Attachments

  • EFI (14-07 - r4988).zip
    32.1 MB · Views: 465
  • debug_11651.zip
    2.4 MB · Views: 296
Last edited:
I wonder if the problem is due in part to use of video adapters such as DisplayPort to HDMI. Sorry if I've asked some of these questions before. It helps to have all relevant information in one place:
  • The laptop has an HDMI connector.
  • The laptop has USB-C connector with DisplayPort support.
  • What connector are you using on the Ilyama monitor?
    • HDMI?
    • DisplayPort?
    • USB-C?
  • Have you tried a straight HDMI-to-HDMI connection without any adapters?
  • Have you tried a USB-C to DisplayPort connection using a cable like this one?
  • What is the model number of the Ilyama monitor? Does it support HDMI 1.4+ and DP 1.2+?
  • Are you running Mojave 10.14.5?
  • Because the Nvidia GTX1050 cannot be used with Mojave, it would be better to make it invisible to macOS.
    • It is currently attached to PEG0.GFX0 and uses a default VESA driver (IONDRVFramebuffer).
    • If you copy the attached SSDT to your CLOVER/ACPI/Patched folder, the GTX1050 will become invisible to macOS.
  • Your drivers64UEFI folder is a mess! :)
    • Try paring it down to just these items:
      Screen Shot 2019-06-21 at 10.18.26 AM.png
  • In config.plist your SMBIOS section is not fully filled out. Have you used the pop-up menu in the bottom right side? If you do, it will create a Serial Number for you. But use the "Check Serial" function to make sure it is not in use. If you get an "Invalid Serial Number" message from the website, then you are GOOD to go. If not, click the Generate button under Serial Number to create a new one, and check it before use.
    Screen Shot 2019-06-21 at 10.21.56 AM.png
 

Attachments

  • EFI-denisuu.zip
    3.1 MB · Views: 224
  • SSDT-DISABLE-PEG0-GFX0.aml
    171 bytes · Views: 196
I made some changes to my system, none of which solved the problem:
  • Replaced my EFI with the one provided by CaseySJ
  • I updated the BIOS FW from 315 to 317 and replaced the original M.2 Wifi module with a DW1820A.
  • Dumped my ACPI and re-patched my DSDT. See list of applied patches below.
  • Installed VoodooTSCSync.kext to /L/E (System won't boot without or freeze when booted).
  • Switched back to the AppleALC.kext (1.3.2) provided by /u/overnightmare any other version breaks audio output.
I updated the first post:
  • Added ports
  • Changed BIOS version and Wifi adapter.
DSDT Patches:
Code:
#Rehabman Repo:
[bat] ASUS N55SL/VivoBook
[gfx0] Disable from _REG (DSDT)
[gfx0] disable/enable on _WAK/_PTS
[igpu] Rename GFX0 to IGPU
[sys] AC Adapter fIX
[sys] Rename _DSM methods to XDSM
[sys] Add IMEI
[sys] Fix _WAK Arg0 v2
[sys] Fix Mutex with non-zero SyncLevel
[sys] HPET Fix
[sys] IRQ Fix
[sys] OS Check Fix (Windows 10)
[sys] RTC Fix
[sys] SMBUS Fix
[sys] 7-series/8-series USB
[sys] USB3 _PWR 0x6D Skylake (instant wake)

#VoodooI2c Repo:
[GPIO] GPIO Controller Enable [SKL+]

#AsusSMC Repo:
[als] Fake ALS
[kbl] Kaby Lake/Kaby Lake-R

#Custom:
FnBrightnessKeys


To answer your questions:
  • I use HDMI to HDMI from my monitor to my laptop, no dongle.
  • I have tried HDMI to HDMI without any adapters.
  • Normally I don't use the USB-C to HDMI port this was just for testing purposes.
  • I have not tried USB-C to Display-port, I could try this at work.
  • The Ilyama monitor is model: E2473HS. It's quite old I don't think it supports HDMI 1.4+ it does not have a DP.
  • Yes I'm running Mojave 10.14.5
  • I thought my GTX1050 was already disabled in DSDT and SSDT hot patches?
  • Thanks for cleaning up my EFI and drivers!
  • SMBIOS should now be correct, I don't even know why this is necessary?
Extra info:
  • The TV model is: LG 42LB5610
  • I tried DELL P2219H monitors at work, the result is always the same.
HDMI connected on boot = No output on internal-display.
 
Last edited:
Today I reverted to a clean install with Clonezilla and made the Dell DW1820A work (Without Kernel panics).

/S/L/E is clean now and all unnecessary kext should be removed from /L/E/ and all unnecessary SSDT hot-patches are removed from /Clover/ACPI/Patched.

New debug attached to first post.
 
Please try this to see if it makes any difference with the video output:
  • BIOS --> CSM Support --> Enable
  • Reboot
 
Please try this to see if it makes any difference with the video output:
  • BIOS --> CSM Support --> Enable
  • Reboot

CSM enabled or disabled doesn't make any difference.

Built-in screen works as it should for Windows 10, Ubuntu and Debian though.
 
i have the same issue here on mine, not much of a problem as i rarely use HDMI out but when I do, I hot plug after macOS has loaded up

It drives me nuts since I always have HDMI connected, I mostly use my laptop as a desktop with external screens, keyboard and mouse.

I've gotten a config.plist from /u/overnightmare and it fixed seemed to have fixed my screen problem. I'll test a bit more and post back here.
 
New EFI attached to first post:
  • Updated WhateverGreen to 1.3
  • Updated Lilu to 1.3.7
  • Updated Clover to r4988 (moved driver64efi into driver/uefi)
Because of sleep problems I asked /u/overnightmare to share his ACPI and Config.plist. Ever since I replaced my wifi module with a DW1820A I had to use a shutdownfix patch in my DSDT. Now that I use his config.plist, I don't need the shutdown fix anymore... Sleep and shutdown works perfectly now!

When I tested his config.plist I noticed the HDMI on boot issue was solved. Strangely it doesn't work on his laptop... (4k model). I don't even understand why it is working now...

Rebooting doesn't work, the system needs to be shut down or the external screen will go green and no output on Built-in display.

I've also added a new video and a debug to the first post. I will try to fix USB-C on boot too!

Edit: Every once in while the screen goes green when booting but then both screens go on.
 

Attachments

  • IMG_20190714_152540.jpg
    IMG_20190714_152540.jpg
    157.3 KB · Views: 246
Last edited:
Status
Not open for further replies.
Back
Top