This bug was fixed in the package ubuntu-drivers-common - 1:0.10

---------------
ubuntu-drivers-common (1:0.10) plucky; urgency=medium

  [ Kuba Pawlak]
  * Add --include-dkms option to listing drivers (LP: #2090924)
  * fix searching for lrm drivers matching linux-image-virtual (LP: #2085962)
  * Don't remove SimpleDRM if nvidia has fbdev
  * Don't remove SimpleDRM if nvidia does not have modesetting
  * fix install --gpgpu handling (LP: #2083709)
  * Sort the output list of matching nvidia drivers (LP: #2081970)
  * NVIDIA 560 release should suggest -open variant first (LP: #2081967)
  * Skip a test that fails after update of aptdaemon

  [ Dann Frazier ]
  * Add more useful help text for --gpgpu (LP: #2081881)

  [ Alessandro Astone ]
  * Improve SimpleDRM+NVIDIA fix across kernel versions (LP: #2060268)

  [ Timo Aaltonen ]
  * gpu-manager: Drop unused functions
  * copyright: Fix a lintian warning.
  * Drop obsolete constraints.
  * rules: Remove built objects directly instead of running make clean.
  * control, rules: Migrate to debhelper-compat 13 and pybuild.
  * control: Migrate to pkgconf.
  * control: Drop obsolete Breaks/Conflicts/Provides/Replaces.
  * control: Drop ancient transitional packages fglrx-pxpress and nvidia-common.

 -- Kuba Pawlak <kuba.paw...@canonical.com>  Fri, 06 Dec 2024 16:51:26
+0100

** Changed in: ubuntu-drivers-common (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ubuntu-drivers-common in Ubuntu.
https://bugs.launchpad.net/bugs/2081881

Title:
  nvidia driver installation modes are unclear and in conflict w/ the
  server guide

Status in ubuntu-drivers-common package in Ubuntu:
  Fix Released

Bug description:
  The intended behavior of `ubuntu-drivers` has always been mysterious
  to me. Here are a few examples:

  (1) It is not clear to me what --gpgpu is intended to do. The help
  output simply says:

  Options:
    --gpgpu              gpgpu drivers

  According to https://ubuntu.com/server/docs/nvidia-drivers-
  installation:

  
  > Check the available drivers for your hardware
  > For desktop:
  > 
  > sudo ubuntu-drivers list
  > or, for servers:
  > 
  > sudo ubuntu-drivers list --gpgpu
  ```

  But both commands list the same set of packages - just in a different
  order:

  $ sudo ubuntu-drivers list
  nvidia-driver-550-open, (kernel modules provided by 
linux-modules-nvidia-550-open-generic)
  nvidia-driver-470-server, (kernel modules provided by 
linux-modules-nvidia-470-server-generic)
  nvidia-driver-535-open, (kernel modules provided by 
linux-modules-nvidia-535-open-generic)
  nvidia-driver-535-server-open, (kernel modules provided by 
linux-modules-nvidia-535-server-open-generic)
  nvidia-driver-550, (kernel modules provided by 
linux-modules-nvidia-550-generic)
  nvidia-driver-535-server, (kernel modules provided by 
linux-modules-nvidia-535-server-generic)
  nvidia-driver-470, (kernel modules provided by 
linux-modules-nvidia-470-generic)
  nvidia-driver-535, (kernel modules provided by 
linux-modules-nvidia-535-generic)

  $ sudo ubuntu-drivers list --gpgpu
  nvidia-driver-470-server, (kernel modules provided by 
linux-modules-nvidia-470-server-generic)
  nvidia-driver-535-open, (kernel modules provided by 
linux-modules-nvidia-535-open-generic)
  nvidia-driver-550, (kernel modules provided by 
linux-modules-nvidia-550-generic)
  nvidia-driver-535-server, (kernel modules provided by 
linux-modules-nvidia-535-server-generic)
  nvidia-driver-470, (kernel modules provided by 
linux-modules-nvidia-470-generic)
  nvidia-driver-550-open, (kernel modules provided by 
linux-modules-nvidia-550-open-generic)
  nvidia-driver-535, (kernel modules provided by 
linux-modules-nvidia-535-generic)
  nvidia-driver-535-server-open, (kernel modules provided by 
linux-modules-nvidia-535-server-open-generic)

  
  But there's no indication that the order means anything. `sudo ubuntu-drivers 
install --gpgpu` on this system will install 
nvidia-headless-no-dkms-535-server. Which, notably, installs no kernel drivers 
(neither DKMS nor signed) on my system. `sudo ubuntu-drivers install`, OTOH, 
will install nvidia-driver-550 linux-modules-nvidia-550-generic.

  (2) According to https://ubuntu.com/server/docs/nvidia-drivers-
  installation, ubuntu-drivers "always tries to install signed drivers
  which are known to work with Secure Boot." But, if there isn't an
  l-r-m package available for the current kernel, it will fall back to a
  -dkms package. It seems like that would be the case in the window
  between pushing out a new nvidia-graphics-drivers package and l-r-m's
  having been built against it. Maybe that archive state "shouldn't
  happen" - but if this mode is documented to install signed drivers,
  then unavailable signed drivers should be an error.

  
  (3) There's no option to automatically install the best "-open" variant. 
There is a `--free-only` option, but that filters out all nvidia drivers.

  
  Suggestions:

  From what I can tell, the `--gpgpu` actually intends to install
  drivers for a headless system. (Maybe it is just a bug that it
  installs no driver on my system?) Assuming that is the intent, then
  `--headless` seems like a better option name. Perhaps we could add
  `--headless` as an alias for `--gpgpu`... and maybe deprecate --gpgpu?

  Could we add a `--server|--desktop` flag so a user can explicitly
  choose the server variant? I realize that `--server` and `--headless`
  seem similar - but we do provide the full graphics stack for the
  -server variant drivers, and that does make sense on some systems (DGX
  A100 Station, for example). Again, documentation could clarify the
  difference.

  Could we allow the -open variants to be installed with --free-only? Or
  could we add a flag to select the -open variant, and document the
  difference between that and --free-only?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/2081881/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to