I freshly installed ubuntu 20.04 on my laptop after erasing the previous version (18.04) and deleting everything.

When I tried to connect my external monitor via HDMI cable the monitor was not detecting any signal, although it was working fine with the previous Ubuntu 18.04.

I am using an HP ZBook 15 G6 laptop, with "NVIDIA Corporation TU106GLM [Quadro RTX 3000 Mobile / Max-Q]" GPU and nvidia-driver-435 installed.

xrandr is not detecting the display:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.03*+  60.01    59.97    59.96    59.93    40.02  
   1680x1050     60.00    59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98    60.00  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     59.95    60.02  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1280x960      60.00    59.99  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      59.97    60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00    59.95  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    59.96    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94    59.94  
   720x405       59.51    58.99  
   720x400       59.97  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98    59.96  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   640x350       59.84  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)

I switched to lightdm, and switched back to gdm3, yet both of them did not solve the problem.

Some answers suggested editing the /lib/modprobe.d/nvidia-kms.conf file, and comment the options nvidia-drm modeset=1, But it is not present on my computer. I can only find the nvidia-graphics-drivers.conf file under /lib/modprobe.d.

How may I solve this?

EDIT : I have noticed a strange thing. When I "SUSPEND" my computer and resume later the external monitor is being detected and works normally. But when I restart the problem is same as before.

  • Welcome to AskUbuntu! Can you install multi-monitors gnome extension tool and check if the external monitor works or not? – Tanvir Oct 17 at 15:24
  • I have a system that I've all but gave up on trying to get the second monitor recognized. BUT, though it is not recognized initially, I can turn it on with xrandr. It's not the answer to the problem, but have you tried that? if it's an identical monitor, you may be able to use the same mode, or just try auto for the mode. Again, not a fix. i'm still looking for the answer myself(as my problem is more resolution based). but it gets me both monitors until i feel like looking into it. i just have to run xrandr after every reboot. an xorg.conf file got it recognized too, now that i think about it. – WU-TANG Oct 17 at 22:52
  • Have you attempted turning it on with xrandr??? xrandr --verbose --output eDP-1 --mode auto --output HDMI-1 --right-of eDP-1 --mode auto – WU-TANG Oct 19 at 2:50
  • No, but I will try. – Rick Oct 19 at 17:11

You might need to install drivers. If you don't have a lot of data, reinstall Ubuntu, and tick the checkbox in the setup that says to install third-party software for hardware.

| improve this answer | |
  • I don't want to answer for OP, but I have taken similar steps to try and get ubuntu to recognize an external HDMI output. The drivers on my system seem to be installed. And often, in questions, that is the first thing that is recommended but it has not solved it for me. – Pascal Oct 18 at 17:16
  • It is not possible for me. I am looking for a non-destructive solution. :-) – Rick Oct 18 at 18:43
  • Well, here is an update, I just reinstalled Ubuntu and it did not fix the problem. I will likely be waiting for an update to fix this problem, there is a lot of forum-stuff out there, none of which worked for me on my previous installation. I will keep this bookmarked in case someones posts an answer! – Pascal Oct 18 at 21:21

OK so after a lot of internet scraping and unhelpful solutions, I have gotten it fixed in my case. I am running an AMD 400 series AMD graphics card. What is downloaded automatically in the drivers upon 20.04 installation is not sufficient (this includes the situation when you check the box for install third-party drivers on installation!). Below, I will outline briefly what I did, but since people have different computers with different specs, I can't get too specific without causing future viewers to install the wrong media and mess up their system.

Below is for an AMD system (If you have intel processor, you will do a similar step, but on the intel driver site)

  1. Go to https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-20-20

  2. Select the software that matches your version of ubuntu/RHEL/SLED. For me, version 20.20 for Ubuntu 20.04. (OP this looks like what you will choose, too)

  3. Also look at the download instructions. This outlines the documentation that is important to understand what you are doing!

3A. Briefly, you will download a tar.bz file called amdgpu.blahblahblahb.tar.bz

3B. You will extract it.

3C. You will navigate to it.

3D. You will run the amdgpu-install script in the terminal. I just dragged and dropped it into my terminal and hit enter. I did get a problem here where it wouldn't install at first because there was a driver already partially installed (I think this may have been the automatically installed driver that ubuntu gave us upon installation). To hop around this, I added the keyword uninstall (/.amdgpu-install --uninstall), then re-ran the script again (./amdgpu-install)

  1. Reboot and it should work. Furthermore, this will fix any Night Light problems that you were having.


| improve this answer | |
New contributor
Pascal is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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