ubiquity uses performance mode for nvidia driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
High
|
Dirk Su | ||
nvidia-prime (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Hirsute |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
[Steps to reproduce]
1. Install 20.04.3 with "Third-party packages" on a system which containing a RTD3 supported nvidia card.
2. After the installation, press enter to reboot system
3. prime-select query
[Expected result]
on-demand
[Actual result]
performance
---
It's because ubiquity launches `ubuntu-drivers install --packages-list ...` in live system but install each package to target storage.
When installing nvidia-prime, the preinst set "on" to "/etc/prime-
After confirming with Alberto on Mattermost, since we don't have a nvidia driver which lower than 450 version since focal.
I think we are ok to switch to on-demand mode.
---
[Impact]
* Ubuntu will set GPU mode to performance as default which may use more power
* User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not supported
* According to Nvidia README, the RTD3 doesn't support on non-laptop machine
[Test Plan]
* Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU driver. After the installation, reboot the system. Execute "prime-select query" should get "on-demand"
* Old GPU (which supported by nvidia-390 only) will keep in performance mode, refer LP:1957094. Execute "prime-select query" should get "nvidia"
* On non-laptop machine. Can set GPU mode to on-demand
* On laptop with GPU in runtime PM support list. Set GPU mode to on-demand and Nvidia driver is loaded with "NVreg_
[Where problems could occur]
* With GPU supported RTD3 not able enable runtime PM on non-laptop. But based on the Nvidia README, this case shall not happened.
[Other Info]
Changelogs:
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).
Changed in oem-priority: | |
assignee: | nobody → jeremyszu (os369510) |
importance: | Undecided → High |
status: | New → In Progress |
tags: | added: oem-priority |
description: | updated |
Changed in oem-priority: | |
status: | In Progress → Triaged |
Changed in oem-priority: | |
assignee: | jeremyszu (os369510) → Dirk Su (dirksu) |
description: | updated |
description: | updated |
description: | updated |
Changed in oem-priority: | |
status: | Triaged → Confirmed |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
tags: |
added: verification-done verification-done-focal removed: verification-needed verification-needed-focal |
Changed in nvidia-prime (Ubuntu Hirsute): | |
status: | Incomplete → Won't Fix |
Changed in oem-priority: | |
status: | Confirmed → Fix Released |
https:/ /github. com/tseliot/ nvidia- prime/pull/ 19