Distribution upgrade to 18.04: used nvidia display driver is commented out
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-390 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
Cosmic |
Won't Fix
|
Undecided
|
Unassigned | ||
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Cosmic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Impact
------
Users who have manually configured an xorg.conf file with nvidia enabled as a driver will be surprised to have disabled on upgrade to a new release of Ubuntu and won't have a graphical display.
Test Case
---------
If you don't have a system with nvidia hardware to upgrade this is a bit convoluted but still works.
1) Run do-release-upgrade (use -d if upgrading to disco)
2) Cancel the upgrade
3) Create an /etc/X11/xorg.conf file with a Device section listed in the original description using the nvidia driver.
4) cd to /tmp/ubuntu-
5) run ./$target-
6) Observe the Driver line is commented out of xorg.conf
When testing the release-upgrader from -proposed you'll need to use the -p switch to get the right tarball. Additionally, you'll want to add a step 4.5 where you modify xorg_fix_
Regression Potential
-------
This just changes how xorg_fix_
Original Description
-------
I upgraded my system from 17.10 to 18.04 Bionic Beaver via do-release-upgrade.
After the installation had finished, Xorg wouldn't start. I later found out that this was because the installation routine had commented out the nvidia display driver I used in the xorg.conf:
Section "Device"
Identifier "nvidia"
# Driver "nvidia"
BusID "PCI:10@0:0:0"
Option "ConstrainCursor" "off"
EndSection
As the installtion routine backuped my xorg.conf I could verify that the line hadn't been commented out before upgrading. Removing the "#" solved the problem.
ProblemType: BugDistroRelease: Ubuntu 18.04
Package: xorg 1:7.7+19ubuntu7
ProcVersionSign
Uname: Linux 4.15.0-22-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 390.48 Thu Mar 22 00:42:57 PDT 2018
GCC version: gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CompizPlugins: No value set for `/apps/
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Sun May 27 11:43:16 2018
DistUpgraded: 2018-05-21 10:52:35,978 DEBUG Running PostInstallScript: './xorg_
DistroCodename: bionic
DistroVariant: ubuntu
DkmsStatus:
bcmwl, 6.30.223.271+bdcom, 4.15.0-20-generic, x86_64: installed
bcmwl, 6.30.223.271+bdcom, 4.15.0-22-generic, x86_64: installed
nvidia, 390.48, 4.15.0-20-generic, x86_64: installed
nvidia, 390.48, 4.15.0-22-generic, x86_64: installed
EcryptfsInUse: Yes
ExtraDebuggingI
GraphicsCard:
Intel Corporation HD Graphics 5500 [8086:1616] (rev 09) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company HD Graphics 5500 [103c:229d]
Subsystem: Hewlett-Packard Company GM108M [GeForce 840M] [103c:229d]
InstallationDate: Installed on 2017-11-02 (205 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
MachineType: Hewlett-Packard HP ENVY 17 Notebook PC
ProcKernelCmdLine: BOOT_IMAGE=
UpgradeStatus: Upgraded to bionic on 2018-05-21 (6 days ago)
dmi.bios.date: 11/28/2014
dmi.bios.vendor: Insyde
dmi.bios.version: F.33
dmi.board.
dmi.board.name: 229D
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 78.15
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.
dmi.modalias: dmi:bvnInsyde:
dmi.product.family: 103C_5335KV G=N L=CON B=HP S=ENV X=Null
dmi.product.name: HP ENVY 17 Notebook PC
dmi.product.
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.91-2
version.
version.
version.
version.
version.
version.
version.
version.
Related branches
affects: | xorg (Ubuntu) → nvidia-graphics-drivers-390 (Ubuntu) |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | New → Confirmed |
tags: | added: id-5c12a0777dd3062c173d4d7e |
Changed in nvidia-graphics-drivers-390 (Ubuntu Cosmic): | |
status: | New → Won't Fix |
description: | updated |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.