The nvidia-dkms will be installed when installing nvidia driver through "Additional Drivers"

Bug #1942208 reported by jeremyszu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM Priority Project
Confirmed
High
jeremyszu
software-properties (Ubuntu)
In Progress
High
Alberto Milone
ubuntu-drivers-common (Ubuntu)
Fix Released
High
Alberto Milone

Bug Description

[steps to reproduce]
1. Install Stock ubuntu 20.04.3 on XPS 15 9510
2. Installing without using "Third-party packages"
3. After installation completed, launch "Software & Updates" -> "Additional Drivers" -> "Using NVIDIA driver .... 470"
4. dpkg -l | grep nvidia

[Expected result]
It should use pre-signed nvidia driver instead of dkms
e.g.
linux-modules-nvidia-470-5.11.0-27-generic
linux-modules-nvidia-470-generic-hwe-20.04
linux-objects-nvidia-470-5.11.0-27-generic
linux-signatures-nvidia-5.11.0-27-generic

[Actual result]
ii nvidia-dkms-470 470.57.02-0ubuntu0.20.04.1 amd64 NVIDIA DKMS package

---

$ lsb_release -rd
Description: Ubuntu 20.04.3 LTS
Release: 20.04

$ apt-cache policy software-properties-*
software-properties-gtk:
  Installed: 0.98.9.5
  Candidate: 0.98.9.5
  Version table:
 *** 0.98.9.5 500
        500 http://tw.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages
        100 /var/lib/dpkg/status
     0.98.9.2 500
        500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages
     0.98.9 500
        500 http://tw.archive.ubuntu.com/ubuntu focal/main amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu focal/main i386 Packages
software-properties-kde:
  Installed: (none)
  Candidate: (none)
  Version table:
software-properties-qt:
  Installed: (none)
  Candidate: 0.98.9.5
  Version table:
     0.98.9.5 500
        500 http://tw.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages
     0.98.9.2 500
        500 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages
        500 http://security.ubuntu.com/ubuntu focal-security/universe i386 Packages
     0.98.9 500
        500 http://tw.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu focal/universe i386 Packages
software-properties-common:
  Installed: 0.98.9.5
  Candidate: 0.98.9.5
  Version table:
 *** 0.98.9.5 500
        500 http://tw.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages
        100 /var/lib/dpkg/status
     0.98.9.2 500
        500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages
     0.98.9 500
        500 http://tw.archive.ubuntu.com/ubuntu focal/main amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu focal/main i386 Packages

Revision history for this message
jeremyszu (os369510) wrote :

If I installed nvidia driver during the installation by selecting "Third-Party packages". It will use pre-signed driver instead.

Please consider to use `ubuntu-drivers install` which will handle the corresponding actions. (e.g. prime-select, enabling RTD3)

tags: added: oem-priority
Changed in oem-priority:
assignee: nobody → jeremyszu (os369510)
importance: Undecided → High
status: New → Confirmed
tags: added: focal
Changed in software-properties (Ubuntu):
assignee: nobody → Alberto Milone (albertomilone)
status: New → In Progress
importance: Undecided → High
Changed in ubuntu-drivers-common (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Alberto Milone (albertomilone)
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
ubuntu-drivers-common (1:0.9.3) jammy; urgency=medium

  * UbuntuDrivers/detect.py,
    ubuntu-drivers:
    - Provide helper functions for NVIDIA on the desktop:
      o get_desktop_package_list()
      o nvidia_desktop_pre_installation_hook()
      o nvidia_desktop_post_installation_hook()
      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

Changed in ubuntu-drivers-common (Ubuntu):
status: In Progress → Fix Released
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.