** Changed in: nvidia-settings (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-settings in Ubuntu.
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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to