[SRU] It will take about 90+ seconds to open the 'Nvidia settings' app when 'Power Saving mode' running.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
Critical
|
Shengyao Xue | ||
nvidia-settings (Ubuntu) |
Fix Released
|
Medium
|
Alberto Milone | ||
Focal |
Fix Released
|
Medium
|
Alberto Milone | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
On some I+N configs, It will take about 90+ seconds to open the 'Nvidia settings' window when 'Power Saving mode' running.
[Fix]
do not read config file if Nvidia driver did not loaded:
change nvidia-
if (!op->no_load) {
ret = nv_read_
to
if (!op->no_load && systems.n != 0) {
ret = nv_read_
[Test]
1. Install Ubuntu image.
2. Boot and login the system.
3. Open 'Nvidia Settings' app
4. Select the prime is 'Power saving' mode
5. Reboot system and login
6. Open 'Nvidia Settings' app
7. Verify the result
[Where problems will occur]
the "systems.n" gets from
NvCtrlConne
If there is a possibility that systems.n is zero and we still need to read nvidia config file, then it will be a problem. I tried and cannot find a situation like that.
Changed in oem-priority: | |
status: | New → In Progress |
tags: | added: oem-priority originate-from-1928911 sutton |
Changed in nvidia-settings (Ubuntu): | |
importance: | Undecided → Medium |
Changed in nvidia-settings (Ubuntu Focal): | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in nvidia-settings (Ubuntu): | |
assignee: | nobody → Alberto Milone (albertomilone) |
Changed in nvidia-settings (Ubuntu Focal): | |
assignee: | nobody → Alberto Milone (albertomilone) |
This is the debdiff for Focal, Thanks.