SRU: The NVIDIA X server Settings is blank when under Intel mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
Critical
|
Bin Li | ||
ubuntu-drivers-common (Ubuntu) |
Fix Released
|
Critical
|
Alberto Milone | ||
Bionic |
Won't Fix
|
High
|
Alberto Milone | ||
Focal |
Fix Released
|
High
|
Alberto Milone | ||
Groovy |
Won't Fix
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
High
|
Alberto Milone |
Bug Description
SRU Request
[Impact]
* The NVIDIA X server Settings does not show anything when the intel mode(Power Saving Mode) is working, so that it cannot switch back to Nvidia mode(Performance Mode) in the settings.
[Fix]
* Looking for the nvidia modules in the linux-restricte
[Test Case]
* Boot up the system and login.
* Open the NVIDIA X Server Settings. If it shows the NVIDIA display card is working, switch it to intel display card and reboot.
* Open the NVIDIA X Server Settings again.
* Check that the panel is not blank.
[Regression Risk]
Medium, since it changes the code which finds the kernel modules.
_______
[Summary]
The VIIDA X server Settings does not show anything when the intel mode(Power Saving Mode) is working, so that it cannot switch back to Nvidia mode(Performance Mode) in the settings.
[Steps to reproduce]
1. Boot up the system and login.
2. Open the NVIDIA X Server Settings. If it shows the NVIDIA display card is working, switch it to intel display card and reboot.
3. Open the NVIDIA X Server Settings again. It does not show anything, and just a blank dialog.
mode
[Expected result]
The NVIDIA X Server Settings should show all configurations, and users can switch them in it.
[Actual result]
The dialog is blank.
[Failure rate]
100%
[Additional information]
ubuntu: 20.04.2
kernel-version: 5.10.0-1029-oem
Changed in oem-priority: | |
importance: | Undecided → Critical |
tags: | added: fossa-edge-staging |
Changed in oem-priority: | |
assignee: | nobody → Bin Li (binli) |
Changed in ubuntu-drivers-common (Ubuntu): | |
assignee: | nobody → Alberto Milone (albertomilone) |
status: | New → In Progress |
importance: | Undecided → Critical |
Changed in oem-priority: | |
status: | New → Triaged |
Changed in ubuntu-drivers-common (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in ubuntu-drivers-common (Ubuntu Focal): | |
status: | New → In Progress |
Changed in ubuntu-drivers-common (Ubuntu Hirsute): | |
status: | New → In Progress |
Changed in ubuntu-drivers-common (Ubuntu Bionic): | |
importance: | Undecided → High |
Changed in ubuntu-drivers-common (Ubuntu Focal): | |
importance: | Undecided → High |
Changed in ubuntu-drivers-common (Ubuntu Hirsute): | |
importance: | Undecided → High |
Changed in ubuntu-drivers-common (Ubuntu Bionic): | |
assignee: | nobody → Alberto Milone (albertomilone) |
Changed in ubuntu-drivers-common (Ubuntu Focal): | |
assignee: | nobody → Alberto Milone (albertomilone) |
Changed in ubuntu-drivers-common (Ubuntu Hirsute): | |
assignee: | nobody → Alberto Milone (albertomilone) |
summary: |
- The NVIDIA X server Settings is blank when under Intel mode + SRU: The NVIDIA X server Settings is blank when under Intel mode |
description: | updated |
tags: | added: originate-from-1934872 stella |
Changed in oem-priority: | |
status: | Triaged → Fix Committed |
tags: | added: originate-from-1934702 |
Changed in oem-priority: | |
status: | Fix Committed → Fix Released |
The root cause is that the nvidia_loaded is false cause in Power Saving Mode, and nvidia_ kmod_available is also false cause couldn't find nvidia.ko correctly, so it wont' do set_offloading() which cause nvidia-settings is blank. nvidia- 5.10.0- xxx-oem package to support secure boot, and it will install the nvidia.ko in /lib/modules/ 5.10.0- xxx-oem/ kernel/ nvidia- 460/, so we need fix the source code to detect the nvidia modules correctly.
Now we used the linux-modules-
else if ((intel_loaded || amdgpu_loaded) && !nouveau_loaded &&
(nvidia_ loaded || nvidia_ kmod_available) ) {
fprintf( log_handle, "NVIDIA hybrid system\n");
/* Try to enable prime */ prime(prime_ settings,
&discrete_ device, current_devices, cards_n)) {
if (enable_
}