SRU: Set on-demand as default, enable RTD3 only on laptops and decouple on-demand with RTD3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Invalid
|
High
|
Dirk Su | ||
nvidia-prime (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
Focal |
In Progress
|
High
|
Alberto Milone | ||
Hirsute |
Won't Fix
|
High
|
Alberto Milone |
Bug Description
[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"
* 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]
* on-demand mode supported after nvidia driver 450. And focal does not have nvidia driver lower than 450.
* 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).
- Use bootvga detection when last_gfx_boot
is not available.
- Don't check the current profile when setting
a profile (LP: #1946476).
- Catch BrokenPipeError.
- Use bootvga detection when last_gfx_boot is
not available.
nvidia-prime (0.8.16.
[ 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).
- Use bootvga detection when last_gfx_boot
is not available.
- Don't check the current profile when setting
a profile (LP: #1946476).
Changed in oem-priority: | |
status: | New → Invalid |
Changed in oem-priority: | |
status: | Invalid → Confirmed |
summary: |
- SRU: enable RTD3 only on laptops and decouple on-demand with RTD3 + SRU: Set on-demand as default, enable RTD3 only on laptops and decouple + on-demand with RTD3 |
Changed in nvidia-prime (Ubuntu): | |
importance: | Undecided → Medium |
Changed in nvidia-prime (Ubuntu Focal): | |
status: | New → Triaged |
Changed in nvidia-prime (Ubuntu Hirsute): | |
status: | New → Triaged |
Changed in nvidia-prime (Ubuntu Focal): | |
importance: | Undecided → High |
Changed in nvidia-prime (Ubuntu Hirsute): | |
importance: | Undecided → High |
Changed in nvidia-prime (Ubuntu Focal): | |
assignee: | nobody → Alberto Milone (albertomilone) |
Changed in nvidia-prime (Ubuntu Hirsute): | |
assignee: | nobody → Alberto Milone (albertomilone) |
Changed in nvidia-prime (Ubuntu Focal): | |
status: | Triaged → In Progress |
Changed in nvidia-prime (Ubuntu Hirsute): | |
status: | Triaged → In Progress |
Changed in nvidia-prime (Ubuntu): | |
status: | New → Invalid |
description: | updated |
Changed in oem-priority: | |
status: | Confirmed → Invalid |
Upload debdiff for focal