[nvidia] Screen dies/black after changing display orientation or enabling fractional scaling
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mutter (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I upgraded to 20.04 over a month ago and it's been working fine. I have one monitor (external). I tried turning on fractional scaling in the display settings and the screen immediately turned black. I waited, expecting the "confirm changes" prompt to timeout and restore the display. It never did.
Next I hard rebooted, but as soon as I'd entered my password to login, the screen went black again. Tried this a few more times. I then booted to a root console and `apt update/upgrade` to get all updates. Rebooting, I had the same issue on logging in. I then used Ctrl+Alt+F1 to get a virtual console, then back to F2, and a few other things. At some point I was able to log back in.
Foolishly I assumed the issue was just with fractional scaling, and back in Display settings I for some reason decided to experiment further and flipped the display orientation to portrate. Immediately I got a black screen and ended back in the same reboot loop, always getting a black screen as soon as I tried to log back in. Searching online I couldn't seem to find a way to revert the display orientation. From another virtual console I was unable to run xrandr or start a wayland session to get to the settings panel. To do that I was trying to run:
dbus-run-session -- gnome-shell --display-server --wayland
But that's just something I found on the Web, I have no idea what I'm doing there. It just gave the error:
(gnome-shell:xxxx) mutter-warning: **: <ip-address-
(gnome-shell:xxxx) mutter-warning: **: <ip-address-
Eventually I found a suggestion on the Web to unplug the cable to the display, and after experimenting with that a bit and switching between virtual consoles, at some point it was logged in with a working display ... well, sort of. The colors and icons are weird like it's lost theming or something. Going into the Display settings it seems that the orientation has also been reset to landscape.
I'm filing this bug before restarting the machine so I can report the system scan it has taken. At this point I've no idea whether I'll be able to log back in again after a reboot. I'll try that now.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSign
Uname: Linux 5.4.0-40-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 435.21 Sun Aug 25 08:17:57 CDT 2019
GCC version: gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)
ApportVersion: 2.20.11-0ubuntu27.4
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckR
CompositorRunning: None
CurrentDesktop: GNOME
Date: Sat Jul 18 17:21:56 2020
DistUpgraded: 2020-04-29 16:04:33,258 DEBUG Running PostInstallScript: './xorg_
DistroCodename: focal
DistroVariant: ubuntu
DkmsStatus:
nvidia, 435.21, 5.4.0-37-generic, x86_64: installed
nvidia, 435.21, 5.4.0-40-generic, x86_64: installed
ExtraDebuggingI
GraphicsCard:
NVIDIA Corporation GP107GL [Quadro P400] [10de:1cb3] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Dell GP107GL [Quadro P400] [1028:11be]
InstallationDate: Installed on 2019-11-03 (257 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
MachineType: HP HP Z4 G4 Workstation
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
Title: Xorg crash
UpgradeStatus: Upgraded to focal on 2020-04-29 (80 days ago)
dmi.bios.date: 03/21/2019
dmi.bios.vendor: HP
dmi.bios.version: P62 v01.75
dmi.board.name: 81C5
dmi.board.vendor: HP
dmi.board.version: MVB
dmi.chassis.type: 3
dmi.chassis.vendor: HP
dmi.modalias: dmi:bvnHP:
dmi.product.family: 103C_53335X HP Workstation
dmi.product.name: HP Z4 G4 Workstation
dmi.product.sku: 5FN34US#ABA
dmi.sys.vendor: HP
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.101-2
version.
version.
version.
version.
version.
version.
version.
version.
The issue seems gone after a reboot. Theming and colors are back to normal.