I recently upgraded my system from Ubuntu 15.10 to 16.04LTS. But after the upgrade, my extended display is not being detected. I am connecting the second display through an HDMI port. I even tried System settings > Displays >detect display.

Does anyone know how to fix this?

up vote 24 down vote accepted

The issue was with the nvidia graphics driver. This can be fixed by following the steps below:

  1. Run

    sudo apt-get purge ^nvidia
    
  2. Run

    sudo add-apt-repository ppa:graphics-drivers/ppa
    
  3. Run

    sudo apt-get update
    
  4. Run

    sudo apt-get install nvidia-387
    

    For this, check what the latest version is... in my case as of January 2018 it's nvidia-387.

The graphics versions are here on Launchpad.

Reboot and your graphics issue should be fixed.

  • 1
    Could you post the lspci output? I solved the problem by upgrading the kernel to 4.5.2. but I use a dual graphics system with AMDGPU. Second display on HDMI. – Mookey May 3 '16 at 6:39
  • @Mookey 00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b) 00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b) 00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b) 00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04) 00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04) 00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4) – denny john May 3 '16 at 6:41
  • 2
    Cool. Hacking this into my 16.04 on a dell e6420 destroyed my lightdm resolution and I'm not able to login. – ferdy Jun 17 '16 at 19:29
  • 2
    E: Unable to locate package nvidia-364 – mjp Jan 27 '17 at 20:02
  • 1
    Instead of nvidia using Nouveau display driver from xserver-video-nouveau solved problem for me – Yogesh Aug 8 '17 at 16:19

protected by Community Jun 6 '16 at 10:11

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.