Ubuntu doesn't detect my second HDMI display

Hi
I have the same issue. I’ve read tons of posts and tried tons of suggested fixed and nothing works. I’m running Ubuntu 20.10 and it recognizes my second monitor, it just won’t use it. I would really appreciate any help.

Hi, i have an issue with HDMI, when I install Ubuntu 18.04. it does not detect HDMI, after I update additional driver. I select 460.
currently, i only display HDMI and not detect the default laptop monitor
nvidia-bug-report.log.gz (1.1 MB)

If nothing is working for you just go to the BIOS settings and disable secure boot I can’t believe it that it work I have tried all the above method install nvidia graphics and all that stuff. But none of them worked just disable the secure boot and it will work fine.

I had the same issue (2nd monitor not detected after updates) on my linux (Ububtu 20.04) machine with nvidia installed and tried almost every suggestions listed above.
After a few waste of hours, I found a solution to my case.

First, run the command below.
sudo ubuntu-drivers autoinstall

If you see any message saying that “the following packages have unmet requirements… E: Unable to correct problems, you have held broken packages.”

Then, run the command below

sudo apt install libnvidia-common-470

Then, run the command below again.

sudo ubuntu-drivers autoinstall

If you don’t see any part of above message, then reboot your computer.
It will detect your second monitor.

It worked for me.

1 Like

I’ve also been having similar issues of not being able to connect to multiple monitors. And, because I have the AMD/Nvidia hybrid combo, I thought I’d take your advice and
$ sudo prime-select nvidia and reboot

Instead I’m getting a possible missing firmware:
/rtl_nic/rtl8125a-3.fw and
/rtl_nic/rtl8168fp-3.fw

I’ve tried extracting it from this git repository, but it keeps failing: rtl_nic - kernel/git/firmware/linux-firmware.git - Repository of firmware blobs for use with the Linux kernel

What should I do? I’m really stumped… Any help would be much appreciated.

Nvidia bug report as of today:
nvidia-bug-report.log.gz (111.9 KB)

Hello all,
I have opposite problem. My external monitor works, but laptop’s one does not. My log is attached. Will appreciate any help, folks! nvidia-bug-report.log (304.6 KB)

It worked for me. Tks a lot, @jinseok.academic !

I have a weird problem. When using noveau driver the only provider shown is from the motherboard:

When using the 470 nvidia driver the list of provider shows only one too but from my graphic card ports:

When using this driver the only monitor that works is the one connected to graphic card’s hdmi port. The other monitor shows a blank screen

With nouveau, nowadays the modesetting driver is used in Xorg, so you’re seeing the same gpu in both cases.
I suspect the kernel you’re using is too old to support the AMD/Intel igpu so it doesn’t show up.
Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.

It isn’t working for me as well. Already tried various solutions but nothing worked so far. Here is my log
nvidia-bug-report.log.gz (251.5 KB)

Ubuntu 21.10. Frustrated!
nvidia-bug-report.log.gz (93.6 KB)

@KHTeh

[ 0.015550] secureboot: Secure boot enabled

Tried without secure boot?

1 Like

Hello @user155237 and welcome to the NVIDIA developer forums.

Looking at your bug report I can see that you have a Notebook with an RTX 2060. Does Ubuntu come pre-installed with the Laptop? If not please check with the vendor if it supports Ubuntu and multiple display configurations.

Because from the log itself everything looks ok, the driver registers the different (virtual) DP and HDMI outputs correctly, but it seems only the internal (eDP) connection to the Laptop screen is used.

Can you connect an external display and have it display something at all, even if it is then the only output? Which connector does the Laptop have and which ones are you trying to use?

Check first if you can switch to using the NVIDIA GPU exclusively, for example in the NVIDIA X Server Settings by choosing Performance mode under PRIME profiles.

Hi @KHTeh!
In the log you see that nvidia-smi cannot connect to the driver. This is a good indicator that your driver installation is broken. Finding log entries like this
dbus.String('nvidia-compute-utils-495'), dbus.String('nvidia-dkms-495'), dbus.String('nvidia-driver-495'), dbus.String('nvidia-kernel-common-495'), dbus.String('nvidia-kernel-source-495'), dbus.String('nvidia-utils-495'), dbus.String('rfkill'), dbus.String('util-linux'), dbus.String('uuid-runtime'), dbus.String('xserver-xorg-video-nvidia-495')

when all other driver version information points to v510.47.03 is also a good sign for driver mismatch.

I recommend purging all NVIDIA drivers and start from scratch. Ideally with the latest certified driver that comes with 21.10 in “Software & Updates” under “Additional Drivers”.

And, as always, blacklist the nouveau driver as well, for example like this:

$ sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
$ sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
$ sudo update-initramfs -u
$ sudo reboot

Would you mind sharing what kind of laptop that is? Is that a Creator workstation since I see an RTX A2000 Mobile in there?

1 Like

You can see in the log, that the driver compiled fine. Also nouveau isn’t loading either.

That works. Thank you!

1 Like

Good evening,

i have the same problem with my laptop. I have installed ubuntu 20.04 the first time and it’s so frustrating. I can’t get the external monitor running. I tried to connect the second monitor via hdmi(direct on laptop), hdmi(docking station), dp(docking station), mini-dp(direct on laptop). Everywhere the same reaction. No Signal on.
Under Windows 10 it works.
I also tried every available driver.

my system:
Lenovo P71
Nvidia Quadro M620

I hope someone could help me.

nvidia-bug-report.log.gz (415.2 KB)