Nvidia doesn't support RTD3 on non-laptops

Bug #1942788 reported by jeremyszu
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM Priority Project
Fix Released
High
Dirk Su
nvidia-prime (Ubuntu)
New
Undecided
Unassigned
Focal
Fix Released
Undecided
Unassigned
Hirsute
New
Undecided
Unassigned
ubuntu-drivers-common (Ubuntu)
Fix Released
High
Alberto Milone
Focal
Fix Released
Undecided
Dirk Su
Hirsute
Fix Released
Undecided
Dirk Su

Bug Description

According to Nvidia README, the RTD3 doesn't support on non-laptop machine.

https://github.com/tseliot/ubuntu-drivers-common/issues/55

We need to check chassis type before enabling RTD3.

---

[Impact]

 * According to Nvidia README, the RTD3 (Runtime D3) doesn't support on non-laptop machine
 * Patch make system not enable RTD3 unless it's a laptop

[Test Plan]

 * Install Ubuntu on machine
 * Install GPU driver via 'ubuntu-drivers install'
 * On laptop with Nvidia RTD3 supported GPU. The configuration file '/run/nvidia_runtimepm_supported' will be created

[Where problems could occur]

 * With non-laptop machine use RTD3 supported GPU may use more power

[Other Info]

Information for Focal, refer to https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1943816

jeremyszu (os369510)
Changed in oem-priority:
assignee: nobody → jeremyszu (os369510)
importance: Undecided → High
status: New → Confirmed
Changed in ubuntu-drivers-common (Ubuntu):
status: New → In Progress
assignee: nobody → Alberto Milone (albertomilone)
importance: Undecided → High
summary: - Nvidia doesn't support RTD3 on laptop
+ Nvidia doesn't support RTD3 on non-laptops
Rex Tsai (chihchun)
tags: added: oem-priority
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
ubuntu-drivers-common (1:0.9.2.1) impish; urgency=medium

  * UbuntuDrivers/detect.py:
    - Fix E302 expected 2 blank lines, found 1.
    - Fix E711 comparison to None should be "if cond is not None".

 -- Alberto Milone <email address hidden> Tue, 21 Sep 2021 11:46:07 +0200

Changed in ubuntu-drivers-common (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
jeremyszu (os369510) wrote :

@Alberto,

Could we SRU apply this version to focal?

Changed in oem-priority:
status: Confirmed → Triaged
jeremyszu (os369510)
no longer affects: oem-priority/focal
Dirk Su (dirksu)
description: updated
Dirk Su (dirksu)
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Missing SRU information

Thanks for uploading the fix for this bug report to -proposed. However, when reviewing the package in -proposed and the details of this bug report I noticed that the bug description is missing information required for the SRU process. You can find full details at http://wiki.ubuntu.com/StableReleaseUpdates#Procedure but essentially this bug is missing some of the following: a statement of impact, a test case and details regarding where problems may occur. Thanks in advance!

Changed in ubuntu-drivers-common (Ubuntu Focal):
status: New → Incomplete
Changed in ubuntu-drivers-common (Ubuntu Hirsute):
status: New → Incomplete
Dirk Su (dirksu)
Changed in oem-priority:
assignee: jeremyszu (os369510) → Dirk Su (dirksu)
description: updated
description: updated
description: updated
Dirk Su (dirksu)
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello jeremyszu, or anyone else affected,

Accepted ubuntu-drivers-common into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-drivers-common/1:0.9.0~0.21.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-hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. 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 Hirsute):
status: Incomplete → Fix Committed
tags: added: verification-needed verification-needed-hirsute
Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (ubuntu-drivers-common/1:0.9.0~0.21.04.2)

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

software-properties/0.99.10 (armhf)

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/hirsute/update_excuses.html#ubuntu-drivers-common

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

Thank you!

Dirk Su (dirksu)
Changed in oem-priority:
status: Triaged → Confirmed
Revision history for this message
Dirk Su (dirksu) wrote :

Tested on desktop and notebook machine with Nvidia graphic card. On notebook machine (chassis type 10), configuration file '/run/nvidia_runtimepm_supported' is created. On desktop (chassis type 3) machine did not generate the configuration file. Only notebook machine will enable runtime PM.

tags: added: verification-done verification-done-hirsute
removed: verification-needed verification-needed-hirsute
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-drivers-common - 1:0.9.0~0.21.04.2

---------------
ubuntu-drivers-common (1:0.9.0~0.21.04.2) hirsute; urgency=medium

  [ Alberto Milone ]
  * gpu-manager.c:
    - Enable RTD3 only on laptops (LP: #1942788).

 -- Dirk Su <email address hidden> Fri, 15 Oct 2021 16:18:04 +0800

Changed in ubuntu-drivers-common (Ubuntu Hirsute):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for ubuntu-drivers-common 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.

Dirk Su (dirksu)
description: updated
description: updated
description: updated
Dirk Su (dirksu)
Changed in ubuntu-drivers-common (Ubuntu Hirsute):
assignee: nobody → Dirk Su (dirksu)
Changed in ubuntu-drivers-common (Ubuntu Focal):
assignee: nobody → Dirk Su (dirksu)
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello jeremyszu, 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.9.0~0.20.04.3 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: Incomplete → Fix Committed
tags: added: verification-needed verification-needed-focal
removed: verification-done
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello jeremyszu, 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.9.0~0.20.04.4 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.

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

Hello! Thank you for setting the tags! I see that you have included all the necessary verification information in the other bug (i.e. LP: #1943816), but please be sure to include verification details in EVERY bug that is part of an SRU. Just switching the tags is not enough.

I'll release it conditionally this time.

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

This bug was fixed in the package ubuntu-drivers-common - 1:0.9.0~0.20.04.4

---------------
ubuntu-drivers-common (1:0.9.0~0.20.04.4) focal; urgency=medium

  [ Jeremy Szu ]
  * ubiquity/target-config/31ubuntu_driver_packages:
    - Install nvidia-prime in eariler stage (LP: #1943816).

ubuntu-drivers-common (1:0.9.0~0.20.04.3) focal; urgency=medium

  * ubiquity/target-config/31ubuntu_driver_packages:
    - Install nvidia-prime, so that we can handle hybrid
      systems, and pick up the NVIDIA driver configuration
      (LP: #1943816).

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

  [ Alberto Milone ]
  * gpu-manager.c:
    - Enable RTD3 only on laptops (LP: #1942788).

 -- Alberto Milone <email address hidden> Mon, 13 Dec 2021 16:44:37 +0100

Changed in ubuntu-drivers-common (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote :

Hello jeremyszu, 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.16~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 nvidia-prime (Ubuntu Focal):
status: New → Fix Committed
tags: added: verification-needed verification-needed-focal
removed: verification-done verification-done-focal
Revision history for this message
Dirk Su (dirksu) wrote :

Install Focal on HP EliteOne 800 G6 All-in-One (202008-28167). Enable focal-proposed channel, install nvidia with "sudo ubuntu-drivers install nvidia" then reboot system. Check system is in on-demand with "prime-select query". Since this machine has all-in-one in chassis type, only enabled off-load mode and disabled RTD3.

tags: added: verification-done verification-done-focal
removed: verification-needed verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium

  [ Jeremy Szu ]
  * Set on-demand mode as default nvidia mode (LP: #1942307)

  [ Alberto Milone ]
  * prime-select:
    - Detect chassis type and enable RTD3 only
      on laptops (LP: #1942788).
    - on-demand mode doesn't need to depend on
      RTD3 (LP: #1942789).
    - Don't check the current profile when setting
      a profile (LP: #1946476).
    - Handle BrokenPipeError (LP: #1965520).

 -- Alberto Milone <email address hidden> Thu, 28 Oct 2021 16:40:04 +0200

Changed in nvidia-prime (Ubuntu Focal):
status: Fix Committed → Fix Released
jeremyszu (os369510)
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.