Please integrate ubuntu-drivers --gpgpu into Ubuntu Server

Bug #1872124 reported by dann frazier
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Incomplete
Undecided
Unassigned
cloud-init
Expired
Undecided
Unassigned
subiquity
Fix Released
High
Unassigned
ubuntu-drivers-common (Ubuntu)
New
Undecided
Unassigned
ubuntu-meta (Ubuntu)
New
Undecided
Unassigned

Bug Description

Could subiquity provide an option in the UI to install and execute ubuntu-drivers-common on the target? The use case I'm interested in is an "on-rails" installation of Nvidia drivers for servers being installed for deep learning workloads.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

We should do this, but after 20.04 GA.

Changed in subiquity:
status: New → Triaged
importance: Undecided → High
Revision history for this message
dann frazier (dannf) wrote :

I've found that ubiquity does this by calling ubuntu-drivers install (used to be autoinstall, but that changed). However, in server believe we'll want to add the --gpgpu option. This should cause u-d to prefer Nvidia drivers versions that are recommended for GPGPU purposes, as well as cause it to select the pre-built/signed driver versions vs. the DKMS ones.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

I don't think that implementing just subiquity is enough. Ubiquity was the last piece of ubuntu-drivers integration on the Desktop, as update-manager continiously was already checking for any new drivers that are available for the systems' hardware, and continiously providing notifications to install / switch between new alternatives / dismiss installing drivers, on continuous basis post-install / post-upgrade. Doing this during install, simply moved that step from post-install to pre-install.

Ubuntu Server currently does not have ubuntu-drivers integration with motd, unattanded upgrades, and apt output to notify users of the newly available driver implementations, and how to opt into them.

Command line tooling exists, but currently only used non-interactively by cloud-init on some compatible public clouds.

summary: - ubuntu-drivers-common integration
+ Please integrate ubuntu-drivers --gpgpu into Ubuntu Server
Revision history for this message
Lee Trager (ltrager) wrote :

MAAS contains a way to automatically install drivers. Every region has a file, /etc/maas/drivers.yaml, which specifies drivers which should be automatically installed. I don't have access to any test hardware but I *think* this should work. One thing I noticed is there isn't a meta package for the nVidia driver which points to the latest version for each Ubuntu release. We would need that before adding this to MAAS.

diff --git a/drivers-orig.yaml b/drivers.yaml
index 2d3724c..97a4eb2 100644
--- a/drivers-orig.yaml
+++ b/drivers.yaml
@@ -82,3 +82,10 @@ drivers:
   repository: http://downloads.linux.hpe.com/SDR/repo/ubuntu-hpdsa
   series:
     - trusty
+- blacklist: nouveau
+ comment: nVidia driver
+ modaliases:
+ - 'pci:v000010DEd*sv*sd*bc03sc02i00*'
+ - 'pci:v000010DEd*sv*sd*bc03sc00i00*'
+ - module: nvidia
+ - package: nvidia-headless-440

Changed in maas:
status: New → Triaged
Revision history for this message
Dan Watkins (oddbloke) wrote :

cloud-init has support for ubuntu-drivers, it's not clear from this bug what work we would need to do so I've marked our task Incomplete.

Changed in cloud-init:
status: New → Incomplete
Revision history for this message
Jerzy Husakowski (jhusakowski) wrote :

Unclear what needs to happen in MAAS, and if there's an issue with the current behavior.

Changed in maas:
status: Triaged → Incomplete
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

The version of subiquity in 22.04.1 supports this now.

Changed in subiquity:
status: Triaged → Fix Released
Alberto Donato (ack)
Changed in maas:
status: Incomplete → New
status: New → Incomplete
Revision history for this message
James Falcon (falcojr) wrote :
Changed in cloud-init:
status: Incomplete → Expired
Changed in maas:
status: Incomplete → New
status: New → Incomplete
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.