Ubuntu-drivers allows installation of (nvidia-340) drivers, which are broken/break things (Kubuntu 20.04)

Bug #1882402 reported by Elroy Liddington
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-drivers-common (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Ubuntu-drivers allows installation of (nvidia-340) drivers, which are broken/break things.

Allowing ( :-P ) ubuntu-drivers to install nvidia-340 results in no GUI on reboot, only console available.
X does appear to be running, but only a black screen.

Kernel:
================
5.4.0-33.37-generic 5.4.34

CPU:
=================
processor : 3
vendor_id : AuthenticAMD
cpu family : 23
model : 17
model name : AMD Ryzen 3 2200G with Radeon Vega Graphics
stepping : 0

GPU:
==============================
01:00.0 VGA compatible controller: NVIDIA Corporation G96CGL [Quadro FX 580] (rev a1)
0a:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev c8)

Error:
================
"
root@XXXXX# ubuntu-drivers list
ERROR:root:No "nvidia-dkms-340" can be found.
nvidia-340
"

1) Expected action - running 'ubuntu-drivers' lists NO drivers being available, as allowing drivers to be installed that the installer seems(?) to know are broken/will break things, is illogical.

2) Improvements - I had access to terminal (Ctrl-Alt Fxxx).
Why is there not an 'uninstall' option for ubuntu-drivers?

"
root@XXX# ubuntu-drivers

Available commands:
   list: Show all driver packages which apply to the current system.
   list-oem: Show all OEM enablement packages which apply to this system
   devices: Show all devices which need drivers, and which packages apply to them.
   install: Install drivers that are appropriate for your hardware.
   debug: Print all available information and debug data about drivers.
"

Reproduction:
=======================
1) ubuntu-drivers list

2) which shows:

"
ERROR:root:No "nvidia-dkms-340" can be found.
nvidia-340

"
3) ubuntu-drivers install nvidia-340

4) Reboot ==> black screen, no login screen

Solved problem by reinstall (later research showed that " apt-get purge *nvidia* " may have rolled-back changes, however
" ubuntu-drivers uninstall nvidia-340 " would be a LOT more user-friendly).
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.2
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: KDE
DistroRelease: Ubuntu 20.04
Package: ubuntu-drivers-common 1:0.8.1.1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.4.0-37.41-generic 5.4.41
Tags: focal
Uname: Linux 5.4.0-37-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.2
Architecture: amd64
CasperMD5CheckResult: skip
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-06-12 (0 days ago)
InstallationMedia: Kubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
NonfreeKernelModules: nvidia
Package: ubuntu-drivers-common 1:0.8.1.1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.4.0-37.41-generic 5.4.41
Tags: focal
Uname: Linux 5.4.0-37-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

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/1882402/+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 → ubuntu-drivers-common (Ubuntu)
tags: added: rls-ff-incoming
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:

  apport-collect 1882402

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

tags: added: rls-ff-wontfix
removed: rls-ff-incoming
Changed in ubuntu-drivers-common (Ubuntu):
status: New → Incomplete
tags: added: rls-ff-notfixing
removed: rls-ff-wontfix
Revision history for this message
Sebastien Bacher (seb128) wrote :

setting as rls-ff-notfixing, the bug doesn't have enough information to be consider as a driver breakage, could be specific to this one system or a bug in the driver itself

Revision history for this message
Elroy Liddington (unclown.nz) wrote : Dependencies.txt

apport information

tags: added: apport-collected focal
description: updated
Revision history for this message
Elroy Liddington (unclown.nz) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Elroy Liddington (unclown.nz) wrote : ProcEnviron.txt

apport information

Revision history for this message
Elroy Liddington (unclown.nz) wrote : UbuntuDriversDebug.txt

apport information

Revision history for this message
Elroy Liddington (unclown.nz) wrote : Dependencies.txt

apport information

description: updated
Revision history for this message
Elroy Liddington (unclown.nz) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Elroy Liddington (unclown.nz) wrote : ProcEnviron.txt

apport information

Revision history for this message
Elroy Liddington (unclown.nz) wrote : UbuntuDriversDebug.txt

apport information

Revision history for this message
Elroy Liddington (unclown.nz) wrote :

Re: updated logs - I did a fresh Kubuntu 20.04 install to USB stick (NOTE: 'Download Updates' and 'Install Third Party Drivers' selected via installer), rebooted, and was greeted by black screen, as per original bug issue.

The Nvidia drivers were again installed that have issues.

So possibly buggy/incomplete nvidia drivers, but ubuntu-drivers was still 'aware' of issues:

"
root@xxxubuntu-drivers list
ERROR:root:No "nvidia-dkms-340" can be found.
nvidia-340
"

I also did "apt-get update && apt-get upgrade" which upgraded a lot of things, but reboot has no change to black screen.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubuntu-drivers-common (Ubuntu) because there has been no activity for 60 days.]

Changed in ubuntu-drivers-common (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Scott S (luvallcomputers1) wrote :
Download full text (9.0 KiB)

Error on nvidia 340 install. Computer freezes while using Google Chrome. Chromium did not work at all. Kubuntu 20.10 Beta release with all updates. When trying to install 340 is below.

Unpacking nvidia-opencl-icd-340 (340.108-0ubuntu5) ...
Selecting previously unselected package screen-resolution-extra.
Preparing to unpack .../7-screen-resolution-extra_0.18build1_all.deb ...
Unpacking screen-resolution-extra (0.18build1) ...
Selecting previously unselected package nvidia-settings.
Preparing to unpack .../8-nvidia-settings_440.82-0ubuntu1_amd64.deb ...
Unpacking nvidia-settings (440.82-0ubuntu1) ...
Setting up nvidia-opencl-icd-340 (340.108-0ubuntu5) ...
Setting up libxnvctrl0:amd64 (440.82-0ubuntu1) ...
Setting up screen-resolution-extra (0.18build1) ...
Setting up libc6-i386 (2.32-0ubuntu3) ...
Setting up nvidia-settings (440.82-0ubuntu1) ...
Setting up libcuda1-340 (340.108-0ubuntu5) ...
Setting up lib32gcc-s1 (10.2.0-13ubuntu1) ...
Setting up nvidia-340 (340.108-0ubuntu5) ...
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia-340
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
Adding system user `nvidia-persistenced' (UID 126) ...
Adding new group `nvidia-persistenced' (GID 136) ...
Adding new user `nvidia-persistenced' (UID 126) with group `nvidia-persistenced' ...

Not creating home di...

Read more...

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.