Regression: Nvidia 340 Xorg driver is installed but not loaded after OS upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
New
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-340 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I tried both nouveau and nvidia-340 drivers. It used to work at least by the latter one in Xubuntu 18.04, even with HWE kernel
When using the nvidia-340 driver:
$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1200, current 1920 x 1200, maximum 1920 x 1200
default connected 1920x1200+0+0 0mm x 0mm
1920x1200 77.00*
A device is connected in HDMI and xrand does not even list the connector. When using nouveau, HDMI is listed but it shows as disconnected.
WORKAROUND when using nvidia driver:
Log out of session. Then lightdm screen shows on both monitors. And if I then log in to a session, the extrernal monitor works there, too.
If I use Budgie Desktop instead of Xfce as desktop environment, it will automatically log out to the LightDM login screen, if I first try to start that Budgie session and then the HDMI output is used as well.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSign
Uname: Linux 5.4.0-88-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 340.108 Wed Dec 11 11:06:58 PST 2019
GCC version: gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1
.proc.driver.
Your system is not currently configured to drive a VGA console
on the primary VGA device. The NVIDIA Linux graphics driver
requires the use of a text-mode VGA console. Use of other console
drivers including, but not limited to, vesafb, may result in
corruption and stability problems, and is not supported.
ApportVersion: 2.20.11-
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckR
CompositorRunning: None
CurrentDesktop: XFCE
Date: Wed Oct 13 16:27:00 2021
DistUpgraded: 2021-10-13 15:24:05,135 DEBUG Running PostInstallScript: '/usr/lib/
DistroCodename: focal
DistroVariant: ubuntu
DkmsStatus: nvidia-340, 340.108, 5.4.0-88-generic, x86_64: installed
ExtraDebuggingI
GraphicsCard:
NVIDIA Corporation G84GLM [Quadro FX 570M] [10de:040c] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company G84GLM [Quadro FX 570M] [103c:30c5]
InstallationDate: Installed on 2019-05-08 (888 days ago)
InstallationMedia: Xubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
UpgradeStatus: Upgraded to focal on 2021-10-13 (0 days ago)
dmi.bios.date: 12/01/2011
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68MVD Ver. F.20
dmi.board.name: 30C5
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 71.36
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-
dmi.product.family: 103C_5336AN
dmi.product.
dmi.sys.vendor: Hewlett-Packard
nvidia-settings:
ERROR: Unable to load info from any available system
ERROR: Unable to load info from any available system
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.105-3~20.04.2
version.
version.
version.
version.
version.
version.
version.
version.
description: | updated |
description: | updated |
summary: |
- Nvidia 340 Xorg driver is installed but not loaded + Nvidia 340 Xorg driver is installed but not loaded after OS upgrade |
description: | updated |
summary: |
- Nvidia 340 Xorg driver is installed but not loaded after OS upgrade + Regression: Nvidia 340 Xorg driver is installed but not loaded after OS + upgrade |
It appears the Nvidia driver is somehow not installed properly. Xorg is using software rendering instead of the Nvidia driver on this machine. That's also why it doesn't support the HDMI connector.
Try uninstalling and reinstalling the Nvidia driver. Also check to see if you have any custom Xorg config files that might cause the Nvidia driver to not get loaded.