** Changed in: ubuntu-drivers-common (Ubuntu Focal)
    Milestone: None => ubuntu-20.04.2

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

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

Status in OEM Priority Project:
  New
Status in nvidia-prime package in Ubuntu:
  Invalid
Status in ubuntu-drivers-common package in Ubuntu:
  Invalid
Status in nvidia-prime source package in Bionic:
  In Progress
Status in ubuntu-drivers-common source package in Bionic:
  In Progress
Status in nvidia-prime source package in Focal:
  In Progress
Status in ubuntu-drivers-common source package in Focal:
  In Progress
Status in nvidia-prime source package in Groovy:
  Fix Committed
Status in ubuntu-drivers-common source package in Groovy:
  Fix Committed

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).

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1904583/+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