Public bug reported: [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. ** Affects: oem-priority Importance: Critical Assignee: Shengyao Xue (xueshengyao) Status: In Progress ** Affects: nvidia-settings (Ubuntu) Importance: Undecided Status: New ** Changed in: oem-priority Status: New => In Progress ** Also affects: nvidia-settings (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu-X, 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. To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943160/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp