Comment 0 for bug 1882402

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

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).