no way to list drivers "ubuntu-drivers list --gpgpu" will install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-drivers-common (Ubuntu) |
Fix Released
|
Medium
|
Alberto Milone |
Bug Description
I'm pretty sure that "ubuntu-drivers install --gpgpu" will install something if and only if "ubuntu-drivers list --gpgpu" has non-empty output, but the logic of which of the things list returns gets installed seems a bit non-trivial
The context for this is in the server installer, I want to say "we think you should install nvidia-
My current spike just says "there are some drivers you might want to install, shall we install them?" which just seems a bit opaque
Alberto suggested a flag so that I could run "ubuntu-drivers list --gpgpu --recommended" in the installer. I should just make very clear that I'd want "ubuntu-drivers list --recommended" (i.e. without --gpgpu) to work the same way :)
Changed in ubuntu-drivers-common (Ubuntu): | |
assignee: | nobody → Alberto Milone (albertomilone) |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in ubuntu-drivers-common (Ubuntu): | |
status: | Triaged → In Progress |
This bug was fixed in the package ubuntu- drivers- common - 1:0.9.3
--------------- drivers- common (1:0.9.3) jammy; urgency=medium
ubuntu-
* UbuntuDrivers/ detect. py, package_ list() desktop_ pre_installatio n_hook( ) desktop_ post_installati on_hook( )
ubuntu-drivers:
- Provide helper functions for NVIDIA on the desktop:
o get_desktop_
o nvidia_
o nvidia_
The new functions, which are now used by ubuntu-drivers
(only for the desktop i.e. "ubuntu-drivers install"),
allow reusing the hardware detection and the customisations
from ubuntu-drivers in other applications such as the
Software Properties UIsi (LP: #1942208).
- Add the "--recommended" option to the "list" command
(LP: #1952147).
This allows to show only the packages that will be
installed using auto-detection i.e. one specific
driver and its kernel module, instead of all the
compatible drivers.
This works with and without --gpgpu, yielding different
results.
-- Alberto Milone <email address hidden> Thu, 18 Nov 2021 18:05:53 +0100