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.
Now we used the linux-modules-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.

            else if ((intel_loaded || amdgpu_loaded) && !nouveau_loaded &&
                                 (nvidia_loaded || nvidia_kmod_available)) {
                fprintf(log_handle, "NVIDIA hybrid system\n");

                /* Try to enable prime */
                if (enable_prime(prime_settings,
                             &discrete_device, current_devices, cards_n)) {

                    /* Write permanent settings about offloading */
                    set_offloading();
                }


** Tags added: oem-priority originate-from-1931328 sutton

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ubuntu-drivers-common in Ubuntu.
https://bugs.launchpad.net/bugs/1931514

Title:
  The NVIDIA X server Settings is blank when under Intel mode

Status in OEM Priority Project:
  New
Status in ubuntu-drivers-common package in Ubuntu:
  New

Bug description:
  [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

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1931514/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to