[nvidia] Hotplugging HDMI monitor is ignored, needs to be manually re-enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mutter (Ubuntu) |
New
|
Low
|
Unassigned | ||
nvidia-graphics-drivers-440 (Ubuntu) |
New
|
Low
|
Unassigned | ||
xorg-server (Ubuntu) |
New
|
Low
|
Unassigned |
Bug Description
Steps to reproduce:
1. Successfully connect AOC u2879vf external display by attaching HDMI cable
2. Remove the cable, output switches to the built-in display and external display goes black
3. Reconnect the HDMI cable again
What is expected:
The external screen should display the image (as in step 1)
What happened instead:
The system thinks the display is connected (see the xrandr output), but the external display is still black (no signal). The clumsy workaround is to use Super+P to switch to "built-in display only" and then back to "joint". After that, the external monitor comes back.
xrandr outputs:
Step 1
Screen 0: minimum 8 x 8, current 3840 x 3240, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 621mm x 341mm
3840x2160 60.00*+ 59.94 50.00 29.98 29.97 25.00 23.98
1920x2160 59.99
1920x1080 60.00 59.94 50.00
1680x1050 59.95
1440x900 59.89
1280x1024 75.02 60.02
1280x960 60.00
1280x720 60.00 59.94 50.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 72.81 59.94 59.93
DP-1 connected 1920x1080+909+2160 (normal left inverted right x axis y axis) 344mm x 193mm
1920x1080 60.03*+ 40.02
DP-2 disconnected (normal left inverted right x axis y axis)
Step 2
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
1920x1080 60.03*+ 40.02
DP-2 disconnected (normal left inverted right x axis y axis)
Step 3
Screen 0: minimum 8 x 8, current 3840 x 3240, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 621mm x 341mm
3840x2160 60.00*+ 59.94 50.00 29.98 29.97 25.00 23.98
1920x2160 59.99
1920x1080 60.00 59.94 50.00
1680x1050 59.95
1440x900 59.89
1280x1024 75.02 60.02
1280x960 60.00
1280x720 60.00 59.94 50.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 72.81 59.94 59.93
DP-1 connected 1920x1080+1097+2160 (normal left inverted right x axis y axis) 344mm x 193mm
1920x1080 60.03*+ 40.02
DP-2 disconnected (normal left inverted right x axis y axis)
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSign
Uname: Linux 5.4.0-29-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 440.64 Fri Feb 21 01:17:26 UTC 2020
GCC version:
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckR
CompizPlugins: No value set for `/apps/
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Fri May 15 17:43:16 2020
DistUpgraded: Fresh install
DistroCodename: focal
DistroVariant: ubuntu
ExtraDebuggingI
GraphicsCard:
NVIDIA Corporation TU117GLM [Quadro T2000 Mobile / Max-Q] [10de:1fb8] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company TU117GLM [Quadro T2000 Mobile / Max-Q] [103c:8611]
InstallationDate: Installed on 2020-05-11 (3 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
MachineType: HP HP ZBook 15 G6
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/25/2019
dmi.bios.vendor: HP
dmi.bios.version: R92 Ver. 01.02.01
dmi.board.name: 860F
dmi.board.vendor: HP
dmi.board.version: KBC Version 65.23.00
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.modalias: dmi:bvnHP:
dmi.product.family: 103C_5336AN HP ZBook 15
dmi.product.name: HP ZBook 15 G6
dmi.product.sku: 6CJ09AV
dmi.sys.vendor: HP
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.101-2
version.
version.
version.
version.
version.
version.
version.
version.
summary: |
- External monitor won't reconnect after reattaching HDMI cable + [nvidia] Hotplugging HDMI monitor is ignored, needs to be manually re- + enabled |
affects: | xorg (Ubuntu) → xorg-server (Ubuntu) |
tags: | added: multimonitor nvidia |
Changed in mutter (Ubuntu): | |
importance: | Undecided → Low |
Changed in nvidia-graphics-drivers-440 (Ubuntu): | |
importance: | Undecided → Low |
Changed in xorg-server (Ubuntu): | |
importance: | Undecided → Low |
Workaround for me was to use external USB-C to HDMI adapter and plug the USB-C to the computer.