Second Monitor on HDMI blank screen with Nvidia & Ubuntu 20.04? (ASUS Laptop)

Bug #1871721 reported by Noctis Bennington on 2020-04-08
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
kernel-package (Ubuntu)
Undecided
Unassigned
mesa (Ubuntu)
Undecided
Unassigned
mesa-utils (Ubuntu)
Undecided
Unassigned
nouveau-firmware (Ubuntu)
Undecided
Unassigned
nvidia-graphics-drivers-440 (Ubuntu)
Undecided
Unassigned
xserver-xorg-video-intel (Ubuntu)
Undecided
Unassigned

Bug Description

I installed Ubuntu 20.04 on my ASUS laptop with Intel+Nvidia with propietary drivers of Nvidia (I have 440.64 rn) and I connected a second monitor to use it, but I saw that I cannot use it, I just see a blank screen. I tried with a TV of my room and same. The funny part is when I start the laptop to work, I can see the logo of my BIOS and the ASUS logo in the second monitor, even the grub, but after that I can't see nothing.
When I reduce the resolution of the second monitor (800x600) then works, but even with that sometimes blinks to black again.
On W10 for example it works perfectly, so I deduce it's not 'cause my HDMI.

I tried with noveau drivers and I have the same results btw.

Laptop Asus with:
Graphic card ---- Nvidia GTX960M
Processor -------- Intel i5 6300

I tried with Nvidia Prime to Nvidia, Intel and On-demand. None of them works. All of them with Xorg.

I have this with xrandr:

Screen 0: minimum 8 x 8, current 2720 x 1080, maximum 16384 x 16384
eDP-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080 60.00*+ 59.97 59.96 59.93
   1680x1050 59.95 59.88
   1600x1024 60.17
   1400x1050 59.98
   1600x900 59.99 59.94 59.95 59.82
   1280x1024 60.02
   1440x900 59.89
   1400x900 59.96 59.88
   1280x960 60.00
   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 60.00
   1280x720 60.00 59.99 59.86 59.74
   1024x768 60.04 60.00
   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 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
   720x405 59.51 58.99
   684x384 59.88 59.85
   680x384 59.80 59.96
   640x400 59.88 59.98
   576x432 60.06
   640x360 59.86 59.83 59.84 59.32
   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-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-2 connected 800x600+1920+0 (normal left inverted right x axis y axis) 1600mm x 900mm
   1920x1080 60.00 + 50.00 59.94 30.00 25.00 24.00 29.97 23.98
   1920x1080i 60.00 50.00 59.94
   1280x1024 60.02
   1360x768 60.02
   1152x864 59.97
   1280x720 59.81 60.00 50.00 59.94
   1024x768 60.00
   800x600 60.32*
   720x576 50.00
   720x576i 50.00
   720x480 60.00 59.94
   640x480 60.00 59.94
   720x400 70.08
DP-1-2 disconnected (normal left inverted right x axis y axis)
HDMI-1-3 disconnected (normal left inverted right x axis y axis)

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1871721/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → nvidia-graphics-drivers-440 (Ubuntu)
no longer affects: focal (Ubuntu)
Noctis Bennington (noctis13) wrote :

I changed to nouveau drivers and the second monitor still doesn't work. I don't think it's because propietary drivers of Nvidia.

Noctis Bennington (noctis13) wrote :

I can confirm that with nomodeset the second monitor works.

Sindile XJ Bidla (sindilexjb) wrote :

I am also unable to get my second monitor to work with the upgrade from 18.04 to 20.04

I did try to include nomodeset in grub but the graphics become very sluggish

Any ideas on how I could address this?

Noctis Bennington (noctis13) wrote :

#4 I don't know some workaround to make work this. If anyone knows, please write here.

PD: Click on "this bugs affects me too".

Sindile XJ Bidla (sindilexjb) wrote :

I am also unable to get my second monitor to work with the upgrade from 18.04 to 20.04

It used to work with 18.04 using the nouveau drivers

I did try to include nomodeset in grub but the graphics became very sluggish

Any ideas on how I could address this?

I am using Acer Aspire V 17 Nitro
Graphic card ---- Nvidia GTX960M & Intel HD Graphics 530

What is not clear as well is it recommended to use nouveau drivers or proprietary drivers?

Noctis Bennington (noctis13) wrote :

Is recommended use propietary drivers, but it doesn't work neither, it was since 19.10 (maybe the kernel?)

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kernel-package (Ubuntu):
status: New → Confirmed
Changed in nouveau-firmware (Ubuntu):
status: New → Confirmed
Changed in nvidia-graphics-drivers-440 (Ubuntu):
status: New → Confirmed

I managed to solve it on my laptop by:

1- in this file */usr/share/X11/xorg.conf.d/10-nvidia.conf*, I added this line:
`Option "PrimaryGPU" "Yes"`

2- in this file */usr/share/X11/xorg.conf.d/10-amdgpu.conf*, I changed this line
`Driver "amdgpu"`
to
`Driver "modesetting"`

I found this solution here:
https://forums.linuxmint.com/viewtopic.php?p=1804429#p1804429

Noctis Bennington (noctis13) wrote :

I tried it. At the moment, it still without working.

summary: - Second Monitor doesn't work as it should do with Nvidia & Ubuntu 20.04?
+ Second Monitor on HDMI doesn't work as it should do with Nvidia & Ubuntu
+ 20.04?
description: updated
summary: - Second Monitor on HDMI doesn't work as it should do with Nvidia & Ubuntu
- 20.04?
+ Second Monitor on HDMI blank screen with Nvidia & Ubuntu 20.04? (ASUS
+ Laptop)
Noctis Bennington (noctis13) wrote :

Talked about this topic on https://forums.developer.nvidia.com/t/ubuntu-20-04-second-monitor-doesnt-work-ubuntu-and-nvidia-settings-detects-it/124380/13

generix said maybe's a problem with the Intel GPU Firmware.

Noctis Bennington (noctis13) wrote :

Update: If I adjust the minimum resolution, sometimes appears the second desktop, but instantly disappear then.

Kai-Heng Feng (kaihengfeng) wrote :

Let's suppose it doesn't use reverse prime, please test latest drm-tip kernel:
https://kernel.ubuntu.com/~kernel-ppa/mainline/drm-tip/current/

Kai-Heng Feng (kaihengfeng) wrote :

Oh and it can be a bug in X, please give Wayland a try.

Noctis Bennington (noctis13) wrote :

Hi there, IT's not a bug in X apparently, because I tried with Intel GPU on the laptop with Wayland and nothing works. Don't know if it's because it's working with XWayland (maybe? and how can I try with Wayland native?)

I tried with the last kernel (4.16), but nothing works. I'll try with 4.17.

Nhlaluko (ngjmasingi) wrote :

I've been struggling with this all day. My solution (on Ubuntu 20.04) is to downgrade to nvidia driver 435.
Change gdm3 to lightdm.

In that exact order

apt install nvidia-driver-435
apt install --reinstall lightdm ubuntu-desktop

The bug is in driver 440. Also confirmed this in Arch Linux as well.
gdm still doesn't allow HDMI output even in 435.

Noctis Bennington (noctis13) wrote :

Update: Nope, it's still without working. :(

Nhlaluko (ngjmasingi) wrote :

In my case I had to sacrifice battery life.

Is your NVIDIA card the default, not ondemand. It must be the default one.

My HDMI is wired through the nvidia gpu, so if it's off or low powered it doesn't show on second display.

If your nvidia is the default and is up and running, then i'm out. and No I'm not using wayland.

Noctis Bennington (noctis13) wrote :

Tried with Lightdm and 435 driver. Tried with Nvidia only and setting as "maximum performance".

Nothing.

Also I tried with only Intel and Wayland and it doesn't work neither. Seems a problem with Intel, I'm not sure. Nvidia detects the second monitor, it's just in blank screen.

I reinstalled from zero Ubuntu 20.04 and the second monitor is blank screen, tried with 3 monitors. Same result.

I'll back to 18.04 atm, over that version's working perfectly (except on-demand, because there's no option for that 'cause the version of Xorg on 18.04).

I hope find a workaround or at least a fix to this.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers