SRU: Backport the latest developments on drivers detection and hybrid graphics

Bug #1904583 reported by Alberto Milone
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM Priority Project
Fix Released
Critical
Alex Tu
nvidia-prime (Ubuntu)
Fix Released
Medium
Alberto Milone
Bionic
Fix Released
Medium
Alberto Milone
Focal
Fix Released
Medium
Alberto Milone
Groovy
Fix Released
Medium
Alberto Milone
ubuntu-drivers-common (Ubuntu)
Fix Released
Medium
Unassigned
Bionic
Fix Released
Medium
Alberto Milone
Focal
Fix Released
Medium
Alberto Milone
Groovy
Fix Released
Medium
Alberto Milone

Bug Description

As we introduced the "-server" NVIDIA drivers, and the concept of "LTSB" (Long Term Support Branch) and "NFB" (New Feature Branch) releases, the detection logic behind ubuntu-drivers needs an update to make the correct choices for the user.

The introduction of the NVIDIA 450 series, also added runtime power management, which greatly improves user experience on systems with hybrid graphics, and allows greater power savings. When supported, on-demand mode and runtime power management are the default. Both gpu-manager and ubuntu-drivers in ubuntu drivers common, and the tools in the nvidia-prime package need updating as a result.

The nvidia-prime package also has a change to fix a problem where /lib/udev/rules.d/50-pm-nvidia.rules was left behind, after a system upgrade 20.04 LTS (focal) to 20.10 (groovy), and yet prime-select had lost the ability to remove the udev rules file, leaving the end user with no means to re-enable his/her Nvidia GPU.

Only the components in Ubuntu 20.10 require a fairly small diff for the backport. The rest is a direct sync of the 1:0.8.6.3 release in 21.04.

[Impact]

* The ubuntu-drivers tool might install the wrong driver, or, in some cases, crash, if the new -server drivers are available.

* The new runtime power management can't be used even when the hardware (Turing GPUs or newer) supports it.

* We want to the default drivers to be Long Term support releases. Users may still pick different drivers manually.

[Fix]

* The code in Ubuntu 21.04 includes essential bug fixes, and more test cases in the test suite, to make sure that driver installation is more robust, and more accurate (LTSB vs NFB releases, and non-server vs -server releases).

* ubuntu-drivers, gpu-manager, and prime-select now all support runtime power management.

[Test Case]
Install ubuntu-drivers-common and nvidia-prime from proposed, and check the following:

1) ubuntu-drivers debug

2) Make sure no nvidia driver is installed (sudo apt-get --purge remove '*nvidia*', and try installing an nvidia driver with "sudo ubuntu-drivers install"

3) Reboot your system

4) [optional] If you are running on a hybrid laptop, you can check if your system supports runtime power management:

sudo prime-select on-demand

(if you are already in "on-demand" mode, select "intel" mode first, then try "on-demand" again)

5) If you followed step 4, reboot again

6) Attach your /var/log/gpu-manager.log

[Regression Risk]
Medium, while this code includes many fixes, it needs careful testing.

== Changes ==

Only the components in Ubuntu 20.10 require a fairly small diff for the backport. The rest is a direct sync of the 1:0.8.6.3 release in 21.04.

== Ubuntu 20.10 ==

ubuntu-drivers-common (1:0.8.6.3~0.20.10.1) groovy; urgency=medium

  * UbuntuDrivers/detect.py,
    tests/test_ubuntu_drivers.py:
    - Prefer LTSB releases over NFB ones for non gpgpu cases too.
  * gpu-manager.c:
    - Make it possible to force runtimepm by creating the
      /etc/u-d-c-nvidia-runtimepm-override file.
    - Make on-demand default on nvidia >= 450, when no
      previous settings are available.

nvidia-prime (0.8.15.3~0.20.10.1) groovy; urgency=medium

  * debian/postinst.in:
    - Remove obsolete udev rules (LP: #1904583).
  * debian/rules:
    - Add postinst file to the autoclean target.
  * prime-select:
    - Do not try to apply any changes unless an integrated GPU is
      available.

== Ubuntu 20.04 ==

ubuntu-drivers-common (1:0.8.6.3~0.20.04.1) focal; urgency=medium

  * Backport 1:0.8.6.3 (LP: #1904583).

nvidia-prime (0.8.15.3~0.20.04.1) focal; urgency=medium

  [ Alberto Milone ]
  * prime-select:
    - Enable runtimepm in on-demand mode if supported (LP: #1895855).
    - Disable workaround for on-demand mode.
    - Enable KMS if runtimepm is supported.
  * debian/postinst.in:
    - Remove obsolete udev rules in the postinst too.
  * debian/rules:
    - Add postinst file to the autoclean target.

  [ Kai-Heng Feng ]
  * prime-select: Remove udev rules (LP: #1904583).

== Ubuntu 18.04 ==

ubuntu-drivers-common (1:0.8.6.3~0.18.04.2) bionic; urgency=medium

  * Backport 1:0.8.6.3 (LP: #1904583).
  * gpu-manager.c: add missing PCI_CAP_ID_NULL definition

nvidia-prime (0.8.15.3~0.18.04.1) bionic; urgency=medium

  * Backport 0.8.15.3 (LP: #1904583).

description: updated
Changed in nvidia-prime (Ubuntu Bionic):
status: New → In Progress
Changed in nvidia-prime (Ubuntu Focal):
status: New → In Progress
Changed in nvidia-prime (Ubuntu Groovy):
status: New → In Progress
Changed in ubuntu-drivers-common (Ubuntu Bionic):
status: New → In Progress
Changed in ubuntu-drivers-common (Ubuntu Focal):
status: New → In Progress
Changed in ubuntu-drivers-common (Ubuntu Groovy):
status: New → In Progress
Changed in nvidia-prime (Ubuntu):
status: New → Invalid
Changed in ubuntu-drivers-common (Ubuntu):
status: New → Invalid
Changed in nvidia-prime (Ubuntu Bionic):
assignee: nobody → Alberto Milone (albertomilone)
Changed in nvidia-prime (Ubuntu Focal):
assignee: nobody → Alberto Milone (albertomilone)
Changed in nvidia-prime (Ubuntu Groovy):
assignee: nobody → Alberto Milone (albertomilone)
Changed in ubuntu-drivers-common (Ubuntu Bionic):
assignee: nobody → Alberto Milone (albertomilone)
Changed in ubuntu-drivers-common (Ubuntu Focal):
assignee: nobody → Alberto Milone (albertomilone)
Changed in ubuntu-drivers-common (Ubuntu Groovy):
assignee: nobody → Alberto Milone (albertomilone)
Changed in nvidia-prime (Ubuntu Bionic):
importance: Undecided → High
Changed in nvidia-prime (Ubuntu Focal):
importance: Undecided → Medium
Changed in nvidia-prime (Ubuntu Bionic):
importance: High → Medium
Changed in nvidia-prime (Ubuntu Groovy):
importance: Undecided → Medium
Changed in ubuntu-drivers-common (Ubuntu Bionic):
importance: Undecided → Medium
Changed in ubuntu-drivers-common (Ubuntu Focal):
importance: Undecided → Medium
Changed in ubuntu-drivers-common (Ubuntu Groovy):
importance: Undecided → Medium
summary: - Backport the latest developments on hybrid graphics
+ Backport the latest developments in drivers detection and hybrid
+ graphics
summary: - Backport the latest developments in drivers detection and hybrid
+ Backport the latest developments on drivers detection and hybrid
graphics
description: updated
Alex Tu (alextu)
tags: added: oem-priority originate-from-1840753 somerville
Changed in oem-priority:
assignee: nobody → Alex Tu (alextu)
importance: Undecided → Critical
description: updated
summary: - Backport the latest developments on drivers detection and hybrid
+ SRU: Backport the latest developments on drivers detection and hybrid
graphics
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

This SRU is blocked from being accepted by an already existing ubuntu-drivers-common waiting for validation in groovy-proposed (SRU bug LP: #1900452). We'd need to first get that one verified and released before considering the next one.

Revision history for this message
Steve Langasek (vorlon) wrote :

Reviewing the nvidia-prime upload in the queue, I do not understand the rationale for this SRU change. The changelog states that we are removing "obsolete udev rules during upgrade". However, this means that the udev files on disk will only removed when upgrading *from* this package version; so users installing this SRU will still have those files on disk. If your intent is to have them removed upon installation of *this* package version, then the removal should happen in the postinst, not in the postrm.

It would be helpful if you would lay out in this bug what your intent is with this change.

Changed in nvidia-prime (Ubuntu Groovy):
status: In Progress → Incomplete
description: updated
Alex Tu (alextu)
tags: added: originate-from-1896445
Alex Tu (alextu)
tags: added: originate-from-1905818
Revision history for this message
Alberto Milone (albertomilone) wrote :

Ok, I have uploaded new nvidia-prime packages.

description: updated
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Alberto, or anyone else affected,

Accepted nvidia-prime into groovy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nvidia-prime/0.8.15.3~0.20.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-groovy to verification-done-groovy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-groovy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in nvidia-prime (Ubuntu Groovy):
status: Incomplete → Fix Committed
tags: added: verification-needed verification-needed-groovy
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Alberto, or anyone else affected,

Accepted ubuntu-drivers-common into groovy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-drivers-common/1:0.8.6.3~0.20.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-groovy to verification-done-groovy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-groovy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in ubuntu-drivers-common (Ubuntu Groovy):
status: In Progress → Fix Committed
Changed in ubuntu-drivers-common (Ubuntu Focal):
milestone: none → ubuntu-20.04.2
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Alberto, or anyone else affected,

Accepted ubuntu-drivers-common into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-drivers-common/1:0.8.6.3~0.20.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in ubuntu-drivers-common (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed-focal
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Alberto, or anyone else affected,

Accepted nvidia-prime into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nvidia-prime/0.8.15.3~0.20.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in nvidia-prime (Ubuntu Focal):
status: In Progress → Fix Committed
Revision history for this message
Alberto Milone (albertomilone) wrote :

Tested on a Dell G7 laptop in Groovy:

:~$ apt-cache policy nvidia-prime
nvidia-prime:
  Installed: 0.8.15.3~0.20.10.1
  Candidate: 0.8.15.3~0.20.10.1
  Version table:
 *** 0.8.15.3~0.20.10.1 100
        100 /var/lib/dpkg/status
     0.8.15 500
        500 http://it.archive.ubuntu.com/ubuntu groovy/main amd64 Packages
        500 http://it.archive.ubuntu.com/ubuntu groovy/main i386 Packages

:~$ apt-cache policy ubuntu-drivers-common
ubuntu-drivers-common:
  Installed: 1:0.8.6.3~0.20.10.1
  Candidate: 1:0.8.6.3~0.20.10.1
  Version table:
 *** 1:0.8.6.3~0.20.10.1 100
        100 /var/lib/dpkg/status
     1:0.8.6.2 500
        500 http://it.archive.ubuntu.com/ubuntu groovy-updates/main amd64 Packages
     1:0.8.6.1 500
        500 http://it.archive.ubuntu.com/ubuntu groovy/main amd64 Packages

tags: added: verification-done-groovy
removed: verification-needed-groovy
Changed in nvidia-prime (Ubuntu Focal):
milestone: none → ubuntu-20.04.2
Revision history for this message
Alberto Milone (albertomilone) wrote :

Tested on a Dell G7 laptop in Focal:

:~$ apt-cache policy nvidia-prime
nvidia-prime:
  Installed: 0.8.15.3~0.20.04.1
  Candidate: 0.8.15.3~0.20.04.1
  Version table:
 *** 0.8.15.3~0.20.04.1 100
        100 /var/lib/dpkg/status
     0.8.14 500
        500 http://it.archive.ubuntu.com/ubuntu focal/main amd64 Packages
        500 http://it.archive.ubuntu.com/ubuntu focal/main i386 Packages

:~$ apt-cache policy ubuntu-drivers-common
ubuntu-drivers-common:
  Installed: 1:0.8.6.3~0.20.04.2
  Candidate: 1:0.8.6.3~0.20.04.2
  Version table:
 *** 1:0.8.6.3~0.20.04.2 100
        100 /var/lib/dpkg/status
     1:0.8.4~0.20.04.3 500
        500 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
     1:0.8.1 500
        500 http://it.archive.ubuntu.com/ubuntu focal/main amd64 Packages

tags: added: verification-done-focal
removed: verification-needed-focal
tags: added: verification-needed-bionic
Changed in oem-priority:
status: New → Confirmed
Revision history for this message
Alex Tu (alextu) wrote :

I just verified on focal on a machine with BIOS ID:097E (202005-27873):
 - kernel : 5.6.0-1042-oem

$ apt list nvidia-prime ubuntu-drivers-common
Listing... Done
nvidia-prime/focal,focal,now 0.8.14 all [installed,automatic]
ubuntu-drivers-common/now 1:0.8.6.3~0.20.04.2 amd64 [installed,local]

$ sudo cat /sys/class/dmi/id/bios_version
1.4.0
$ sudo cat /sys/class/dmi/id/product_sku
097E

The Nvidia device sleep as expected. (checked by powertop)
The Nvidia renderer works as expected when the user execute an application with "Launch using Dedeicated graphic card"

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Thank you for the verification! Since we are slowly preparing things for .2, I will release the ubuntu-drivers-common SRUs a day early from their usual 7-day aging period.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nvidia-prime - 0.8.15.3~0.20.10.1

---------------
nvidia-prime (0.8.15.3~0.20.10.1) groovy; urgency=medium

  * debian/postinst.in:
    - Remove obsolete udev rules (LP: #1904583).
  * debian/rules:
    - Add postinst file to the autoclean target.
  * prime-select:
    - Do not try to apply any changes unless an integrated GPU is
      available.

 -- Alberto Milone <email address hidden> Fri, 15 Jan 2021 16:52:04 +0100

Changed in nvidia-prime (Ubuntu Groovy):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-drivers-common - 1:0.8.6.3~0.20.10.1

---------------
ubuntu-drivers-common (1:0.8.6.3~0.20.10.1) groovy; urgency=medium

  * UbuntuDrivers/detect.py,
    tests/test_ubuntu_drivers.py:
    - Prefer LTSB releases over NFB ones for non gpgpu cases too.
  * gpu-manager.c:
    - Make it possible to force runtimepm by creating the
      /etc/u-d-c-nvidia-runtimepm-override file.
    - Make on-demand default on nvidia >= 450, when no
      previous settings are available (LP: #1904583).

 -- Alberto Milone <email address hidden> Wed, 18 Nov 2020 15:44:11 +0100

Changed in ubuntu-drivers-common (Ubuntu Groovy):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for nvidia-prime has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nvidia-prime - 0.8.15.3~0.20.04.1

---------------
nvidia-prime (0.8.15.3~0.20.04.1) focal; urgency=medium

  [ Alberto Milone ]
  * prime-select:
    - Enable runtimepm in on-demand mode if supported (LP: #1895855).
    - Disable workaround for on-demand mode.
    - Enable KMS if runtimepm is supported.
  * debian/postinst.in:
    - Remove obsolete udev rules in the postinst too.
  * debian/rules:
    - Add postinst file to the autoclean target.

  [ Kai-Heng Feng ]
  * prime-select: Remove udev rules (LP: #1904583).

 -- Alberto Milone <email address hidden> Fri, 20 Nov 2020 16:19:39 +0100

Changed in nvidia-prime (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-drivers-common - 1:0.8.6.3~0.20.04.2

---------------
ubuntu-drivers-common (1:0.8.6.3~0.20.04.2) focal; urgency=medium

  * Skip tests on riscv64, replacing powerpc which is no longer part of
    focal. Thus make ubuntu-drivers-common available on focal on
    riscv64. LP: #1912202

ubuntu-drivers-common (1:0.8.6.3~0.20.04.1) focal; urgency=medium

  * Backport 1:0.8.6.3 (LP: #1904583).

 -- Dimitri John Ledkov <email address hidden> Mon, 18 Jan 2021 22:22:29 +0000

Changed in ubuntu-drivers-common (Ubuntu Focal):
status: Fix Committed → Fix Released
Mathew Hodson (mhodson)
Changed in ubuntu-drivers-common (Ubuntu):
status: Invalid → Fix Released
importance: Undecided → Medium
Changed in nvidia-prime (Ubuntu):
status: Invalid → Fix Released
importance: Undecided → Medium
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Alberto, or anyone else affected,

Accepted ubuntu-drivers-common into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-drivers-common/1:0.8.6.3~0.18.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in ubuntu-drivers-common (Ubuntu Bionic):
status: In Progress → Fix Committed
Changed in nvidia-prime (Ubuntu Bionic):
status: In Progress → Fix Committed
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Alberto, or anyone else affected,

Accepted nvidia-prime into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nvidia-prime/0.8.15.3~0.18.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (ubuntu-drivers-common/1:0.8.6.3~0.18.04.1)

All autopkgtests for the newly accepted ubuntu-drivers-common (1:0.8.6.3~0.18.04.1) for bionic have finished running.
The following regressions have been reported in tests triggered by the package:

software-properties/0.96.24.32.14 (amd64)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/bionic/update_excuses.html#ubuntu-drivers-common

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Alberto, or anyone else affected,

Accepted nvidia-prime into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nvidia-prime/0.8.16~0.18.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Alberto Milone (albertomilone) wrote :

I have tested the new packages succesfully on the desktop, and I am going to test them on a hybrid laptop next.

:~$ ubuntu-drivers list
nvidia-driver-410, (kernel modules provided by nvidia-dkms-410)
nvidia-driver-460, (kernel modules provided by linux-modules-nvidia-460-generic)
nvidia-driver-390, (kernel modules provided by linux-modules-nvidia-390-generic)
nvidia-driver-418-server, (kernel modules provided by linux-modules-nvidia-418-server-generic)
nvidia-driver-450, (kernel modules provided by linux-modules-nvidia-450-generic)
nvidia-driver-450-server, (kernel modules provided by linux-modules-nvidia-450-server-generic)
nvidia-driver-460-server, (kernel modules provided by nvidia-dkms-460-server)

:~$ ubuntu-drivers debug
...
=== matching driver packages ===
nvidia-driver-390: installed: <none> available: 390.141-0ubuntu0.18.04.1 [distro] non-free modalias: pci:v000010DEd00001B80sv000010DEsd0000119Ebc03sc00i00 path: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 vendor: NVIDIA Corporation model: GP104 [GeForce GTX 1080]
nvidia-driver-450: installed: <none> available: 450.102.04-0ubuntu0.18.04.1 [distro] non-free modalias: pci:v000010DEd00001B80sv000010DEsd0000119Ebc03sc00i00 path: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 vendor: NVIDIA Corporation model: GP104 [GeForce GTX 1080]
nvidia-driver-418-server: installed: <none> available: 418.181.07-0ubuntu0.18.04.1 [distro] non-free modalias: pci:v000010DEd00001B80sv000010DEsd0000119Ebc03sc00i00 path: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 vendor: NVIDIA Corporation model: GP104 [GeForce GTX 1080] support level: LTSB
nvidia-driver-410: installed: <none> available: 410.104-0ubuntu0~18.04.5 [third party] non-free modalias: pci:v000010DEd00001B80sv000010DEsd0000119Ebc03sc00i00 path: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 vendor: NVIDIA Corporation model: GP104 [GeForce GTX 1080]
nvidia-driver-450-server: installed: <none> available: 450.102.04-0ubuntu0.18.04.1 [distro] non-free modalias: pci:v000010DEd00001B80sv000010DEsd0000119Ebc03sc00i00 path: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 vendor: NVIDIA Corporation model: GP104 [GeForce GTX 1080] support level: LTSB
nvidia-driver-460-server: installed: <none> available: 460.32.03-0ubuntu0.18.04.1 [distro] non-free modalias: pci:v000010DEd00001B80sv000010DEsd0000119Ebc03sc00i00 path: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 vendor: NVIDIA Corporation model: GP104 [GeForce GTX 1080] support level: NFB
nvidia-driver-460: installed: <none> available: 460.32.03-0ubuntu0.18.04.1 (auto-install) [distro] non-free modalias: pci:v000010DEd00001B80sv000010DEsd0000119Ebc03sc00i00 path: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 vendor: NVIDIA Corporation model: GP104 [GeForce GTX 1080] support level: LTSB

Revision history for this message
Alberto Milone (albertomilone) wrote :

All good on my hybrid laptop too:

:~$ ubuntu-drivers list
nvidia-driver-418-server, (kernel modules provided by linux-modules-nvidia-418-server-generic-hwe-18.04-edge)
nvidia-driver-450, (kernel modules provided by linux-modules-nvidia-450-generic-hwe-18.04-edge)
nvidia-driver-460, (kernel modules provided by linux-modules-nvidia-460-generic-hwe-18.04-edge)
nvidia-driver-460-server, (kernel modules provided by linux-modules-nvidia-460-server-generic-hwe-18.04-edge)
nvidia-driver-450-server, (kernel modules provided by linux-modules-nvidia-450-server-generic-hwe-18.04-edge)
backport-iwlwifi-dkms, (kernel modules provided by backport-iwlwifi-dkms)

:~$ ubuntu-drivers debug
...
=== matching driver packages ===
nvidia-driver-460-server: installed: <none> available: 460.32.03-0ubuntu0.18.04.1 [distro] non-free modalias: pci:v000010DEd00001F11sv00001028sd000008EAbc03sc00i00 path: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 vendor: NVIDIA Corporation support level: NFB
nvidia-driver-450: installed: <none> available: 450.102.04-0ubuntu0.18.04.1 [distro] non-free modalias: pci:v000010DEd00001F11sv00001028sd000008EAbc03sc00i00 path: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 vendor: NVIDIA Corporation
nvidia-driver-460: installed: 460.39-0ubuntu0.18.04.1 available: 460.39-0ubuntu0.18.04.1 (auto-install) [distro] non-free modalias: pci:v000010DEd00001F11sv00001028sd000008EAbc03sc00i00 path: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 vendor: NVIDIA Corporation support level: LTSB
nvidia-driver-418-server: installed: <none> available: 418.181.07-0ubuntu0.18.04.1 [distro] non-free modalias: pci:v000010DEd00001F11sv00001028sd000008EAbc03sc00i00 path: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 vendor: NVIDIA Corporation support level: LTSB
nvidia-driver-450-server: installed: <none> available: 450.102.04-0ubuntu0.18.04.1 [distro] non-free modalias: pci:v000010DEd00001F11sv00001028sd000008EAbc03sc00i00 path: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 vendor: NVIDIA Corporation support level: LTSB
backport-iwlwifi-dkms: installed: <none> available: 7906-0ubuntu4~18.04.2 [distro] free modalias: pci:v00008086d0000A370sv00008086sd00004030bc02sc80i00 path: /sys/devices/pci0000:00/0000:00:14.3 vendor: Intel Corporation

tags: added: verification-done verification-done-bionic
removed: verification-needed verification-needed-bionic
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Package FTBFS on arm64 for bionic - maybe a retry is needed?

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Also, once the FTBFS is resolved, this is still blocked on LP: #1915003.

Revision history for this message
Alberto Milone (albertomilone) wrote :

FTBFS is gone, and I have verified LP: #1915003.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nvidia-prime - 0.8.16~0.18.04.1

---------------
nvidia-prime (0.8.16~0.18.04.1) bionic; urgency=medium

  * prime-select:
    - Make sure to update the initramfs, so that
      the driver options can be applied correctly.
      This time around we can also provide visual
      feedback (in the form of a progress spinner)
      while update-initramfs is running (LP: #1915003).

nvidia-prime (0.8.15.3~0.18.04.1) bionic; urgency=medium

  * Backport 0.8.15.3 (LP: #1904583).

 -- Alberto Milone <email address hidden> Wed, 10 Feb 2021 12:56:24 +0100

Changed in nvidia-prime (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-drivers-common - 1:0.8.6.3~0.18.04.1

---------------
ubuntu-drivers-common (1:0.8.6.3~0.18.04.1) bionic; urgency=medium

  * Backport 1:0.8.6.3 (LP: #1904583).
  * gpu-manager.c:
    - Add PCI_CAP_ID_NULL definition that is missing from
      libpci.

 -- Alberto Milone <email address hidden> Wed, 25 Nov 2020 13:14:35 +0100

Changed in ubuntu-drivers-common (Ubuntu Bionic):
status: Fix Committed → Fix Released
Changed in oem-priority:
status: Confirmed → 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.