[Bug 1943160] Re: [SRU] It will take about 90+ seconds to open the 'Nvidia settings' app when 'Power Saving mode' running.

Shengyao Xue 1943160 at bugs.launchpad.net
Thu Sep 9 16:36:37 UTC 2021


This is the debdiff for Hirsute, Thanks.

** Patch added: "nvidia-settings_470.57.01-0ubuntu0.21.04.1.dsc-to-nvidia-settings_470.57.01-0ubuntu1.21.04.1.dsc.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/nvidia-settings/+bug/1943160/+attachment/5524152/+files/nvidia-settings_470.57.01-0ubuntu0.21.04.1.dsc-to-nvidia-settings_470.57.01-0ubuntu1.21.04.1.dsc.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1943160

Title:
  [SRU] It will take about 90+ seconds to open the 'Nvidia settings' app
  when 'Power Saving mode' running.

Status in OEM Priority Project:
  In Progress
Status in nvidia-settings package in Ubuntu:
  In Progress

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-settings/src/nvidia-settings.c

      if (!op->no_load) {
          ret = nv_read_config_file(op, op->config, op->ctrl_display,
                                    p, &conf, &systems);

  to
      if (!op->no_load && systems.n != 0) {
          ret = nv_read_config_file(op, op->config, op->ctrl_display,
                                    p, &conf, &systems);

  
  [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
      NvCtrlConnectToSystem(op->ctrl_display, &systems);
  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.

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




More information about the Ubuntu-sponsors mailing list