HDMI connection to external monitor causes laptop screen blackout in 14.04, nvidia graphics

35,090

Solution 1

This worked for me:

  1. Disconnect the HDMI

  2. Install arandr:

    sudo apt-get install arandr
    
  3. Reconnect HDMI

Solution 2

I had the same problem and I solved it by changing the Nvidia driver. I put the proprietary driver, and since then everything works.

Solution 3

Does HDMI1 and LVDS1 both show when you use xrandr in terminal?

If so you may be able to temporarily workaround it by using

xrandr --output LVDS1 --auto

If there's no errors the display should turn back on.

Also if you want xrandr with a gui you can use arandr:

sudo apt-get install arandr

Solution 4

I had the same "problem" (regarding the laptop lid), the solution is simple: you have to raise the screen brightness, I don't know why but when I plug the HDMI the brightness of the laptop lid is set to 0 and it seems that the screen is turned off.

Share:
35,090

Related videos on Youtube

user270688
Author by

user270688

Updated on September 18, 2022

Comments

  • user270688
    user270688 almost 2 years

    I have had some serious issues with my external monitor and graphics display since installing Ubuntu 14.04, and no one else seems to have had the exact same problem so I figured it best to post here.

    I have a Dell Vostro 3500 dual-booting Windows 7 and Ubuntu 14.04 with Nvidia 310M hybrid graphics. Initial installed drivers with 14.04 caused persistent system program errors after booting, which was rectified by updating my drivers to nvidia-331-updates (http://packages.ubuntu.com/trusty/nvidia-331-updates).

    Connecting my Asus external monitor via VGA has given me persistent errors/crashes, so I am trying to get the HDMI connection working as it will hopefully be more stable. Unfortunately when I connect the HDMI cable there is no output on the external monitor and my laptop screen immediately turns black, and remains black even after unplugging the HDMI leaving me no option but a hard reset. The HDMI connection works fine in Windows 7 under performance mode, which is what I have set in Ubuntu but perhaps there are other settings that need adjustment?

    Guessing this is a graphics hardware/driver issue, which I know very little about so any comments/suggestions/advice in the matter would be greatly appreciated! Thanks in advance :)

    Edit: Here are images of the xserver log file (in failsafe graphics mode w/ HDMI connected): http://imgur.com/slPUqxt,72fTA0i,6HISdyp,dimKobC,qUklr89,TXppP5v,kNk1yaG,zghEn4n,4jo53dL,EBTsDJ3#0 Based on the warnings/errors (img 2, 7, 8), seems like directories/files are missing.. does this shed light on my problem?

    • Mitch
      Mitch about 10 years
      What are you using to connect HDMI to VGA?
    • user270688
      user270688 about 10 years
      Just trying to connect via HDMI (without VGA), sorry if I was unclear
    • Admin
      Admin about 10 years
      i have an asus X55A laptop with Intel Sandybridge graphics, when i plug a vga monitor or HDMI monitor my laptop's displays has some video errors and i can't tipe or click on anithing, i installed intel graphics instaler for linux, thinking maybe it fix it, but... i still have the same problem... i was thinking my intel graphics card was the problem but now i see nvidia has the same problem
  • user270688
    user270688 about 10 years
    xrandr shows I have HDMI-0, LVDS-0, HDMI-1-0 and LVDS-1-0, and LVDS-1-0 is the only one that is connected. I tried "xrandr --output LVDS-1-0 --auto" without any errors, but plugging in the HDMI still causes my main display to blackout and no change on the external monitor... Would I need to have the HDMI already plugged in for this to have any effect? I am at a loss since I have no way of seeing what happens when the HDMI is connected...
  • DWils
    DWils about 10 years
    So opening a new terminal with the HDMI connected, will the terminal render on the blanked out display? I think it may just be physical limitations of the buffer. Does the display flicker after blanking out? You could maybe try lower resolutions on one of them to see if it is limitations to the virtual buffer. How old is the video card?
  • user270688
    user270688 about 10 years
    So when I boot Ubuntu with HDMI connected the peculiar thing is that everything seems normal up to the login screen, but after logging in the laptop screen goes black (and stays black even if HDMI is unplugged). Booting Ubuntu without the connection is normal, but then plugging the HDMI in after everything has loaded causes the same blackout result... No flickering occurs. I'll try lower res to see if anything changes. I bought the laptop early 2011, but it was an outlet purchase so perhaps an older video card?
  • user270688
    user270688 about 10 years
    hmm.. lowering the resolution merely shrinks the portion of the screen occupied by the graphical display, so it seems like the resolution is somehow fixed... but no change in HDMI problem. Here are images of the xserver log file (in failsafe graphics mode w/ HDMI connected): imgur.com/… Based on the warnings/errors (img 2, 7, 8), seems like directories/files are missing.. does this shed light on my problem?
  • DWils
    DWils about 10 years
    That just means you're using defaults, indicated by the (==). Now as far as I understand the reason you can see it on login and not after is that on the login it's cloning the display, and your video card may be having issues supporting the virtual space required to spread across multiple displays (hence my suggestion to reduce resolution). I had this issue when trying to create a virtual space across 3 displays on hdmi/lvds/vga, and still haven't been able to. Have you tried it in arandr? That usually gives me a good idea if it will work before applying.
  • DWils
    DWils about 10 years
    Beyond that is about all I know about it, aside from the usual suggestions of installing the latest proprietary drivers, if there are any available, and remembering that 14.04 is still relatively new, so some issues may just be turbulence. If you can find any actual errors popping up in dmesg you may want to file a launchpad bug report, or send a email to the developers of your driver.
  • Parto
    Parto almost 10 years
    Can you improve your answer and include the process or steps in which you changed the Nvidia drivers and put the proprietary ones..
  • Ludwik
    Ludwik almost 8 years
    Worked for me as well