Activity log for bug #1942789

Date Who What changed Old value New value Message
2021-09-06 14:56:03 jeremyszu bug added bug
2021-09-06 14:56:19 jeremyszu bug task added oem-priority
2021-09-06 14:56:26 jeremyszu oem-priority: assignee jeremyszu (os369510)
2021-09-06 14:56:27 jeremyszu oem-priority: importance Undecided High
2021-09-06 14:56:32 jeremyszu oem-priority: status New Confirmed
2021-09-17 14:47:17 Alberto Milone ubuntu-drivers-common (Ubuntu): status New In Progress
2021-09-17 14:47:21 Alberto Milone ubuntu-drivers-common (Ubuntu): importance Undecided High
2021-09-17 14:47:23 Alberto Milone ubuntu-drivers-common (Ubuntu): assignee Alberto Milone (albertomilone)
2021-09-17 14:53:58 Alberto Milone bug task added nvidia-prime (Ubuntu)
2021-09-17 14:54:05 Alberto Milone nvidia-prime (Ubuntu): status New In Progress
2021-09-17 14:54:07 Alberto Milone nvidia-prime (Ubuntu): importance Undecided High
2021-09-17 14:54:09 Alberto Milone nvidia-prime (Ubuntu): assignee Alberto Milone (albertomilone)
2021-09-19 21:22:45 Rex Tsai tags oem-priority
2021-09-20 16:14:47 Launchpad Janitor nvidia-prime (Ubuntu): status In Progress Fix Released
2021-09-27 05:34:07 jeremyszu oem-priority: status Confirmed Triaged
2021-10-08 06:53:35 Dirk Su description RTD3 is a nvidia GPU feature to support runtime suspend. On-demand would be a X offloading feature. They are independent, according to discussion on https://github.com/tseliot/ubuntu-drivers-common/issues/55. Some parts need to be adjusted, e.g. ``` # If we are dealing with NVIDIA PRIME, and runtimepm # is supported, enable it if (os.path.isfile('/run/nvidia_runtimepm_supported') and os.path.isfile('/usr/bin/prime-select')): print('Trying to select the on-demand PRIME profile') try: subprocess.call(['prime-select', 'on-demand']) except: pass # Create the override file for gpu-manager with open('/etc/u-d-c-nvidia-runtimepm-override', 'w') as f: f.write('# File created by ubuntu-drivers\n') ``` RTD3 is a nvidia GPU feature to support runtime suspend. On-demand would be a X offloading feature. They are independent, according to discussion on https://github.com/tseliot/ubuntu-drivers-common/issues/55. Some parts need to be adjusted, e.g. ``` # If we are dealing with NVIDIA PRIME, and runtimepm # is supported, enable it if (os.path.isfile('/run/nvidia_runtimepm_supported') and os.path.isfile('/usr/bin/prime-select')): print('Trying to select the on-demand PRIME profile') try: subprocess.call(['prime-select', 'on-demand']) except: pass # Create the override file for gpu-manager with open('/etc/u-d-c-nvidia-runtimepm-override', 'w') as f: f.write('# File created by ubuntu-drivers\n') ``` X-HWE-Bug: Bug #1946434
2021-11-02 21:01:26 Brian Murray nominated for series Ubuntu Focal
2021-11-02 21:01:26 Brian Murray bug task added ubuntu-drivers-common (Ubuntu Focal)
2021-11-02 21:01:26 Brian Murray bug task added nvidia-prime (Ubuntu Focal)
2021-11-02 21:01:26 Brian Murray nominated for series Ubuntu Hirsute
2021-11-02 21:01:26 Brian Murray bug task added ubuntu-drivers-common (Ubuntu Hirsute)
2021-11-02 21:01:26 Brian Murray bug task added nvidia-prime (Ubuntu Hirsute)
2021-11-03 07:20:24 Dirk Su oem-priority: assignee jeremyszu (os369510) Dirk Su (dirksu)
2021-11-03 07:20:53 Dirk Su description RTD3 is a nvidia GPU feature to support runtime suspend. On-demand would be a X offloading feature. They are independent, according to discussion on https://github.com/tseliot/ubuntu-drivers-common/issues/55. Some parts need to be adjusted, e.g. ``` # If we are dealing with NVIDIA PRIME, and runtimepm # is supported, enable it if (os.path.isfile('/run/nvidia_runtimepm_supported') and os.path.isfile('/usr/bin/prime-select')): print('Trying to select the on-demand PRIME profile') try: subprocess.call(['prime-select', 'on-demand']) except: pass # Create the override file for gpu-manager with open('/etc/u-d-c-nvidia-runtimepm-override', 'w') as f: f.write('# File created by ubuntu-drivers\n') ``` X-HWE-Bug: Bug #1946434 RTD3 is a nvidia GPU feature to support runtime suspend. On-demand would be a X offloading feature. They are independent, according to discussion on https://github.com/tseliot/ubuntu-drivers-common/issues/55. Some parts need to be adjusted, e.g. ```     # If we are dealing with NVIDIA PRIME, and runtimepm     # is supported, enable it     if (os.path.isfile('/run/nvidia_runtimepm_supported') and         os.path.isfile('/usr/bin/prime-select')):         print('Trying to select the on-demand PRIME profile')         try:             subprocess.call(['prime-select', 'on-demand'])         except:             pass         # Create the override file for gpu-manager         with open('/etc/u-d-c-nvidia-runtimepm-override', 'w') as f:             f.write('# File created by ubuntu-drivers\n') ``` --- [Impact] * Ubuntu will set GPU mode to performance as default which may use more power * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not supported * According to Nvidia README, the RTD3 doesn't support on non-laptop machine [Test Plan] * Install 20.04.3 with "Third-party packages". After the installation, reboot the system. Execute "prime-select query" should get "on-demand" * On non-laptop machine. Can set GPU mode to on-demand * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02" [Where problems could occur] * on-demand mode supported after nvidia driver 450. And focal does not have nvidia driver lower than 450. * With GPU supported RTD3 not able enable runtime PM on non-laptop. But based on the Nvidia README, this case shall not happened. [Other Info] Changelogs: nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium [ Jeremy Szu ] * Set on-demand mode as default nvidia mode (LP: #1942307) [ Alberto Milone ] * prime-select: - Detect chassis type and enable RTD3 only on laptops (LP: #1942788). - on-demand mode doesn't need to depend on RTD3 (LP: #1942789). - Use bootvga detection when last_gfx_boot is not available. - Don't check the current profile when setting a profile (LP: #1946476). - Catch BrokenPipeError. - Use bootvga detection when last_gfx_boot is not available. nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium [ Jeremy Szu ] * Set on-demand mode as default nvidia mode (LP: #1942307) [ Alberto Milone ] * prime-select: - Detect chassis type and enable RTD3 only on laptops (LP: #1942788). - on-demand mode doesn't need to depend on RTD3 (LP: #1942789). - Use bootvga detection when last_gfx_boot is not available. - Don't check the current profile when setting a profile (LP: #1946476). X-HWE-Bug: Bug #1946434
2021-11-03 07:26:28 Dirk Su description RTD3 is a nvidia GPU feature to support runtime suspend. On-demand would be a X offloading feature. They are independent, according to discussion on https://github.com/tseliot/ubuntu-drivers-common/issues/55. Some parts need to be adjusted, e.g. ```     # If we are dealing with NVIDIA PRIME, and runtimepm     # is supported, enable it     if (os.path.isfile('/run/nvidia_runtimepm_supported') and         os.path.isfile('/usr/bin/prime-select')):         print('Trying to select the on-demand PRIME profile')         try:             subprocess.call(['prime-select', 'on-demand'])         except:             pass         # Create the override file for gpu-manager         with open('/etc/u-d-c-nvidia-runtimepm-override', 'w') as f:             f.write('# File created by ubuntu-drivers\n') ``` --- [Impact] * Ubuntu will set GPU mode to performance as default which may use more power * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not supported * According to Nvidia README, the RTD3 doesn't support on non-laptop machine [Test Plan] * Install 20.04.3 with "Third-party packages". After the installation, reboot the system. Execute "prime-select query" should get "on-demand" * On non-laptop machine. Can set GPU mode to on-demand * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02" [Where problems could occur] * on-demand mode supported after nvidia driver 450. And focal does not have nvidia driver lower than 450. * With GPU supported RTD3 not able enable runtime PM on non-laptop. But based on the Nvidia README, this case shall not happened. [Other Info] Changelogs: nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium [ Jeremy Szu ] * Set on-demand mode as default nvidia mode (LP: #1942307) [ Alberto Milone ] * prime-select: - Detect chassis type and enable RTD3 only on laptops (LP: #1942788). - on-demand mode doesn't need to depend on RTD3 (LP: #1942789). - Use bootvga detection when last_gfx_boot is not available. - Don't check the current profile when setting a profile (LP: #1946476). - Catch BrokenPipeError. - Use bootvga detection when last_gfx_boot is not available. nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium [ Jeremy Szu ] * Set on-demand mode as default nvidia mode (LP: #1942307) [ Alberto Milone ] * prime-select: - Detect chassis type and enable RTD3 only on laptops (LP: #1942788). - on-demand mode doesn't need to depend on RTD3 (LP: #1942789). - Use bootvga detection when last_gfx_boot is not available. - Don't check the current profile when setting a profile (LP: #1946476). X-HWE-Bug: Bug #1946434 RTD3 is a nvidia GPU feature to support runtime suspend. On-demand would be a X offloading feature. They are independent, according to discussion on https://github.com/tseliot/ubuntu-drivers-common/issues/55. Some parts need to be adjusted, e.g. ```     # If we are dealing with NVIDIA PRIME, and runtimepm     # is supported, enable it     if (os.path.isfile('/run/nvidia_runtimepm_supported') and         os.path.isfile('/usr/bin/prime-select')):         print('Trying to select the on-demand PRIME profile')         try:             subprocess.call(['prime-select', 'on-demand'])         except:             pass         # Create the override file for gpu-manager         with open('/etc/u-d-c-nvidia-runtimepm-override', 'w') as f:             f.write('# File created by ubuntu-drivers\n') ``` --- [Impact]  * Ubuntu will set GPU mode to performance as default which may use more power  * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not supported  * According to Nvidia README, the RTD3 doesn't support on non-laptop machine [Test Plan]  * Install 20.04.3 with "Third-party packages". After the installation, reboot the system. Execute "prime-select query" should get "on-demand"  * On non-laptop machine. Can set GPU mode to on-demand  * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02" [Where problems could occur]  * on-demand mode supported after nvidia driver 450. And focal does not have nvidia driver lower than 450.  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But based on the Nvidia README, this case shall not happened. [Other Info] X-HWE-Bug: Bug #1946434 Changelogs: nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium   [ Jeremy Szu ]   * Set on-demand mode as default nvidia mode (LP: #1942307)   [ Alberto Milone ]   * prime-select:     - Detect chassis type and enable RTD3 only       on laptops (LP: #1942788).     - on-demand mode doesn't need to depend on       RTD3 (LP: #1942789).     - Use bootvga detection when last_gfx_boot       is not available.     - Don't check the current profile when setting       a profile (LP: #1946476).     - Catch BrokenPipeError.     - Use bootvga detection when last_gfx_boot is       not available. nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium   [ Jeremy Szu ]   * Set on-demand mode as default nvidia mode (LP: #1942307)   [ Alberto Milone ]   * prime-select:     - Detect chassis type and enable RTD3 only       on laptops (LP: #1942788).     - on-demand mode doesn't need to depend on       RTD3 (LP: #1942789).     - Use bootvga detection when last_gfx_boot       is not available.     - Don't check the current profile when setting       a profile (LP: #1946476).
2021-11-03 08:02:11 Dirk Su description RTD3 is a nvidia GPU feature to support runtime suspend. On-demand would be a X offloading feature. They are independent, according to discussion on https://github.com/tseliot/ubuntu-drivers-common/issues/55. Some parts need to be adjusted, e.g. ```     # If we are dealing with NVIDIA PRIME, and runtimepm     # is supported, enable it     if (os.path.isfile('/run/nvidia_runtimepm_supported') and         os.path.isfile('/usr/bin/prime-select')):         print('Trying to select the on-demand PRIME profile')         try:             subprocess.call(['prime-select', 'on-demand'])         except:             pass         # Create the override file for gpu-manager         with open('/etc/u-d-c-nvidia-runtimepm-override', 'w') as f:             f.write('# File created by ubuntu-drivers\n') ``` --- [Impact]  * Ubuntu will set GPU mode to performance as default which may use more power  * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not supported  * According to Nvidia README, the RTD3 doesn't support on non-laptop machine [Test Plan]  * Install 20.04.3 with "Third-party packages". After the installation, reboot the system. Execute "prime-select query" should get "on-demand"  * On non-laptop machine. Can set GPU mode to on-demand  * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02" [Where problems could occur]  * on-demand mode supported after nvidia driver 450. And focal does not have nvidia driver lower than 450.  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But based on the Nvidia README, this case shall not happened. [Other Info] X-HWE-Bug: Bug #1946434 Changelogs: nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium   [ Jeremy Szu ]   * Set on-demand mode as default nvidia mode (LP: #1942307)   [ Alberto Milone ]   * prime-select:     - Detect chassis type and enable RTD3 only       on laptops (LP: #1942788).     - on-demand mode doesn't need to depend on       RTD3 (LP: #1942789).     - Use bootvga detection when last_gfx_boot       is not available.     - Don't check the current profile when setting       a profile (LP: #1946476).     - Catch BrokenPipeError.     - Use bootvga detection when last_gfx_boot is       not available. nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium   [ Jeremy Szu ]   * Set on-demand mode as default nvidia mode (LP: #1942307)   [ Alberto Milone ]   * prime-select:     - Detect chassis type and enable RTD3 only       on laptops (LP: #1942788).     - on-demand mode doesn't need to depend on       RTD3 (LP: #1942789).     - Use bootvga detection when last_gfx_boot       is not available.     - Don't check the current profile when setting       a profile (LP: #1946476). RTD3 is a nvidia GPU feature to support runtime suspend. On-demand would be a X offloading feature. They are independent, according to discussion on https://github.com/tseliot/ubuntu-drivers-common/issues/55. Some parts need to be adjusted, e.g. ```     # If we are dealing with NVIDIA PRIME, and runtimepm     # is supported, enable it     if (os.path.isfile('/run/nvidia_runtimepm_supported') and         os.path.isfile('/usr/bin/prime-select')):         print('Trying to select the on-demand PRIME profile')         try:             subprocess.call(['prime-select', 'on-demand'])         except:             pass         # Create the override file for gpu-manager         with open('/etc/u-d-c-nvidia-runtimepm-override', 'w') as f:             f.write('# File created by ubuntu-drivers\n') ``` --- [Impact]  * Ubuntu will set GPU mode to performance as default which may use more power  * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not supported  * According to Nvidia README, the RTD3 doesn't support on non-laptop machine [Test Plan]  * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU driver. After the installation, reboot the system. Execute "prime-select query" should get "on-demand"  * On non-laptop machine. Can set GPU mode to on-demand  * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02" [Where problems could occur]  * on-demand mode supported after nvidia driver 450. And focal does not have nvidia driver lower than 450.  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But based on the Nvidia README, this case shall not happened. [Other Info] X-HWE-Bug: Bug #1946434 Changelogs: nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium   [ Jeremy Szu ]   * Set on-demand mode as default nvidia mode (LP: #1942307)   [ Alberto Milone ]   * prime-select:     - Detect chassis type and enable RTD3 only       on laptops (LP: #1942788).     - on-demand mode doesn't need to depend on       RTD3 (LP: #1942789).     - Use bootvga detection when last_gfx_boot       is not available.     - Don't check the current profile when setting       a profile (LP: #1946476).     - Catch BrokenPipeError.     - Use bootvga detection when last_gfx_boot is       not available. nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium   [ Jeremy Szu ]   * Set on-demand mode as default nvidia mode (LP: #1942307)   [ Alberto Milone ]   * prime-select:     - Detect chassis type and enable RTD3 only       on laptops (LP: #1942788).     - on-demand mode doesn't need to depend on       RTD3 (LP: #1942789).     - Use bootvga detection when last_gfx_boot       is not available.     - Don't check the current profile when setting       a profile (LP: #1946476).
2021-11-09 15:16:30 Sebastien Bacher nvidia-prime (Ubuntu Focal): assignee Alberto Milone (albertomilone)
2021-11-09 15:16:38 Sebastien Bacher nvidia-prime (Ubuntu Hirsute): assignee Alberto Milone (albertomilone)
2021-11-09 15:17:28 Sebastien Bacher ubuntu-drivers-common (Ubuntu Focal): assignee Alberto Milone (albertomilone)
2021-11-09 15:18:47 Sebastien Bacher ubuntu-drivers-common (Ubuntu Hirsute): assignee Alberto Milone (albertomilone)
2021-11-09 16:57:22 Brian Murray nvidia-prime (Ubuntu Focal): status New Incomplete
2021-11-09 16:57:29 Brian Murray bug added subscriber Brian Murray
2021-12-01 06:40:42 Dirk Su description RTD3 is a nvidia GPU feature to support runtime suspend. On-demand would be a X offloading feature. They are independent, according to discussion on https://github.com/tseliot/ubuntu-drivers-common/issues/55. Some parts need to be adjusted, e.g. ```     # If we are dealing with NVIDIA PRIME, and runtimepm     # is supported, enable it     if (os.path.isfile('/run/nvidia_runtimepm_supported') and         os.path.isfile('/usr/bin/prime-select')):         print('Trying to select the on-demand PRIME profile')         try:             subprocess.call(['prime-select', 'on-demand'])         except:             pass         # Create the override file for gpu-manager         with open('/etc/u-d-c-nvidia-runtimepm-override', 'w') as f:             f.write('# File created by ubuntu-drivers\n') ``` --- [Impact]  * Ubuntu will set GPU mode to performance as default which may use more power  * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not supported  * According to Nvidia README, the RTD3 doesn't support on non-laptop machine [Test Plan]  * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU driver. After the installation, reboot the system. Execute "prime-select query" should get "on-demand"  * On non-laptop machine. Can set GPU mode to on-demand  * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02" [Where problems could occur]  * on-demand mode supported after nvidia driver 450. And focal does not have nvidia driver lower than 450.  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But based on the Nvidia README, this case shall not happened. [Other Info] X-HWE-Bug: Bug #1946434 Changelogs: nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium   [ Jeremy Szu ]   * Set on-demand mode as default nvidia mode (LP: #1942307)   [ Alberto Milone ]   * prime-select:     - Detect chassis type and enable RTD3 only       on laptops (LP: #1942788).     - on-demand mode doesn't need to depend on       RTD3 (LP: #1942789).     - Use bootvga detection when last_gfx_boot       is not available.     - Don't check the current profile when setting       a profile (LP: #1946476).     - Catch BrokenPipeError.     - Use bootvga detection when last_gfx_boot is       not available. nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium   [ Jeremy Szu ]   * Set on-demand mode as default nvidia mode (LP: #1942307)   [ Alberto Milone ]   * prime-select:     - Detect chassis type and enable RTD3 only       on laptops (LP: #1942788).     - on-demand mode doesn't need to depend on       RTD3 (LP: #1942789).     - Use bootvga detection when last_gfx_boot       is not available.     - Don't check the current profile when setting       a profile (LP: #1946476). [Steps to reproduce] 1. Install 20.04.3 with "Third-party packages" on a system which containing a RTD3 supported nvidia card. 2. After the installation, press enter to reboot system 3. prime-select query [Expected result] on-demand [Actual result] performance --- It's because ubiquity launches `ubuntu-drivers install --packages-list ...` in live system but install each package to target storage. When installing nvidia-prime, the preinst set "on" to "/etc/prime-discrete" which will be referred by gpu-manager. The gpu-manager will set to performance mode. After confirming with Alberto on Mattermost, since we don't have a nvidia driver which lower than 450 version since focal. I think we are ok to switch to on-demand mode. --- [Impact] * Ubuntu will set GPU mode to performance as default which may use more power * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not supported * According to Nvidia README, the RTD3 doesn't support on non-laptop machine [Test Plan] * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU driver. After the installation, reboot the system. Execute "prime-select query" should get "on-demand" * On non-laptop machine. Can set GPU mode to on-demand * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02" [Where problems could occur] * on-demand mode combined offloading and RTD3. Nvidia driver lower then 450 (nvidia-driver-390) does not supported RTD3 and only have offloading feature. * With GPU supported RTD3 not able enable runtime PM on non-laptop. But based on the Nvidia README, this case shall not happened. [Other Info] X-HWE-Bug: Bug #1946434 Changelogs: nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium [ Jeremy Szu ] * Set on-demand mode as default nvidia mode (LP: #1942307) [ Alberto Milone ] * prime-select: - Detect chassis type and enable RTD3 only on laptops (LP: #1942788). - on-demand mode doesn't need to depend on RTD3 (LP: #1942789). - Use bootvga detection when last_gfx_boot is not available. - Don't check the current profile when setting a profile (LP: #1946476). - Catch BrokenPipeError. - Use bootvga detection when last_gfx_boot is not available. nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium [ Jeremy Szu ] * Set on-demand mode as default nvidia mode (LP: #1942307) [ Alberto Milone ] * prime-select: - Detect chassis type and enable RTD3 only on laptops (LP: #1942788). - on-demand mode doesn't need to depend on RTD3 (LP: #1942789). - Use bootvga detection when last_gfx_boot is not available. - Don't check the current profile when setting a profile (LP: #1946476).
2021-12-01 06:43:03 Dirk Su description [Steps to reproduce] 1. Install 20.04.3 with "Third-party packages" on a system which containing a RTD3 supported nvidia card. 2. After the installation, press enter to reboot system 3. prime-select query [Expected result] on-demand [Actual result] performance --- It's because ubiquity launches `ubuntu-drivers install --packages-list ...` in live system but install each package to target storage. When installing nvidia-prime, the preinst set "on" to "/etc/prime-discrete" which will be referred by gpu-manager. The gpu-manager will set to performance mode. After confirming with Alberto on Mattermost, since we don't have a nvidia driver which lower than 450 version since focal. I think we are ok to switch to on-demand mode. --- [Impact] * Ubuntu will set GPU mode to performance as default which may use more power * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not supported * According to Nvidia README, the RTD3 doesn't support on non-laptop machine [Test Plan] * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU driver. After the installation, reboot the system. Execute "prime-select query" should get "on-demand" * On non-laptop machine. Can set GPU mode to on-demand * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02" [Where problems could occur] * on-demand mode combined offloading and RTD3. Nvidia driver lower then 450 (nvidia-driver-390) does not supported RTD3 and only have offloading feature. * With GPU supported RTD3 not able enable runtime PM on non-laptop. But based on the Nvidia README, this case shall not happened. [Other Info] X-HWE-Bug: Bug #1946434 Changelogs: nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium [ Jeremy Szu ] * Set on-demand mode as default nvidia mode (LP: #1942307) [ Alberto Milone ] * prime-select: - Detect chassis type and enable RTD3 only on laptops (LP: #1942788). - on-demand mode doesn't need to depend on RTD3 (LP: #1942789). - Use bootvga detection when last_gfx_boot is not available. - Don't check the current profile when setting a profile (LP: #1946476). - Catch BrokenPipeError. - Use bootvga detection when last_gfx_boot is not available. nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium [ Jeremy Szu ] * Set on-demand mode as default nvidia mode (LP: #1942307) [ Alberto Milone ] * prime-select: - Detect chassis type and enable RTD3 only on laptops (LP: #1942788). - on-demand mode doesn't need to depend on RTD3 (LP: #1942789). - Use bootvga detection when last_gfx_boot is not available. - Don't check the current profile when setting a profile (LP: #1946476). [Steps to reproduce] 1. Install 20.04.3 with "Third-party packages" on a system which containing a RTD3 supported nvidia card. 2. After the installation, press enter to reboot system 3. prime-select query [Expected result] on-demand [Actual result] performance --- It's because ubiquity launches `ubuntu-drivers install --packages-list ...` in live system but install each package to target storage. When installing nvidia-prime, the preinst set "on" to "/etc/prime-discrete" which will be referred by gpu-manager. The gpu-manager will set to performance mode. After confirming with Alberto on Mattermost, since we don't have a nvidia driver which lower than 450 version since focal. I think we are ok to switch to on-demand mode. --- [Impact] * Ubuntu will set GPU mode to performance as default which may use more power * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not supported * According to Nvidia README, the RTD3 doesn't support on non-laptop machine [Test Plan] * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU driver. After the installation, reboot the system. Execute "prime-select query" should get "on-demand" * On non-laptop machine. Can set GPU mode to on-demand * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02" [Where problems could occur] * on-demand mode combined two features which are GPU offloading and RTD3. Nvidia driver lower then 450 (nvidia-driver-390) does not supported RTD3 and only have GPU offloading feature. * With GPU supported RTD3 not able enable runtime PM on non-laptop. But based on the Nvidia README, this case shall not happened. [Other Info] X-HWE-Bug: Bug #1946434 Changelogs: nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium [ Jeremy Szu ] * Set on-demand mode as default nvidia mode (LP: #1942307) [ Alberto Milone ] * prime-select: - Detect chassis type and enable RTD3 only on laptops (LP: #1942788). - on-demand mode doesn't need to depend on RTD3 (LP: #1942789). - Use bootvga detection when last_gfx_boot is not available. - Don't check the current profile when setting a profile (LP: #1946476). - Catch BrokenPipeError. - Use bootvga detection when last_gfx_boot is not available. nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium [ Jeremy Szu ] * Set on-demand mode as default nvidia mode (LP: #1942307) [ Alberto Milone ] * prime-select: - Detect chassis type and enable RTD3 only on laptops (LP: #1942788). - on-demand mode doesn't need to depend on RTD3 (LP: #1942789). - Use bootvga detection when last_gfx_boot is not available. - Don't check the current profile when setting a profile (LP: #1946476).
2022-01-12 15:42:13 Alberto Milone ubuntu-drivers-common (Ubuntu Focal): status New In Progress
2022-01-12 15:42:16 Alberto Milone ubuntu-drivers-common (Ubuntu Hirsute): status New In Progress
2022-01-12 15:42:18 Alberto Milone ubuntu-drivers-common (Ubuntu Focal): importance Undecided High
2022-01-12 15:42:20 Alberto Milone ubuntu-drivers-common (Ubuntu Hirsute): importance Undecided High
2022-01-12 15:44:58 Alberto Milone ubuntu-drivers-common (Ubuntu Hirsute): status In Progress Won't Fix
2022-01-12 15:49:53 Alberto Milone bug task deleted ubuntu-drivers-common (Ubuntu)
2022-01-12 15:49:59 Alberto Milone bug task deleted ubuntu-drivers-common (Ubuntu Focal)
2022-01-12 15:50:03 Alberto Milone bug task deleted ubuntu-drivers-common (Ubuntu Hirsute)
2022-02-14 05:08:38 Dirk Su description [Steps to reproduce] 1. Install 20.04.3 with "Third-party packages" on a system which containing a RTD3 supported nvidia card. 2. After the installation, press enter to reboot system 3. prime-select query [Expected result] on-demand [Actual result] performance --- It's because ubiquity launches `ubuntu-drivers install --packages-list ...` in live system but install each package to target storage. When installing nvidia-prime, the preinst set "on" to "/etc/prime-discrete" which will be referred by gpu-manager. The gpu-manager will set to performance mode. After confirming with Alberto on Mattermost, since we don't have a nvidia driver which lower than 450 version since focal. I think we are ok to switch to on-demand mode. --- [Impact] * Ubuntu will set GPU mode to performance as default which may use more power * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not supported * According to Nvidia README, the RTD3 doesn't support on non-laptop machine [Test Plan] * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU driver. After the installation, reboot the system. Execute "prime-select query" should get "on-demand" * On non-laptop machine. Can set GPU mode to on-demand * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02" [Where problems could occur] * on-demand mode combined two features which are GPU offloading and RTD3. Nvidia driver lower then 450 (nvidia-driver-390) does not supported RTD3 and only have GPU offloading feature. * With GPU supported RTD3 not able enable runtime PM on non-laptop. But based on the Nvidia README, this case shall not happened. [Other Info] X-HWE-Bug: Bug #1946434 Changelogs: nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium [ Jeremy Szu ] * Set on-demand mode as default nvidia mode (LP: #1942307) [ Alberto Milone ] * prime-select: - Detect chassis type and enable RTD3 only on laptops (LP: #1942788). - on-demand mode doesn't need to depend on RTD3 (LP: #1942789). - Use bootvga detection when last_gfx_boot is not available. - Don't check the current profile when setting a profile (LP: #1946476). - Catch BrokenPipeError. - Use bootvga detection when last_gfx_boot is not available. nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium [ Jeremy Szu ] * Set on-demand mode as default nvidia mode (LP: #1942307) [ Alberto Milone ] * prime-select: - Detect chassis type and enable RTD3 only on laptops (LP: #1942788). - on-demand mode doesn't need to depend on RTD3 (LP: #1942789). - Use bootvga detection when last_gfx_boot is not available. - Don't check the current profile when setting a profile (LP: #1946476). [Steps to reproduce] 1. Install 20.04.3 with "Third-party packages" on a system which containing a RTD3 supported nvidia card. 2. After the installation, press enter to reboot system 3. prime-select query [Expected result] on-demand [Actual result] performance --- It's because ubiquity launches `ubuntu-drivers install --packages-list ...` in live system but install each package to target storage. When installing nvidia-prime, the preinst set "on" to "/etc/prime-discrete" which will be referred by gpu-manager. The gpu-manager will set to performance mode. After confirming with Alberto on Mattermost, since we don't have a nvidia driver which lower than 450 version since focal. I think we are ok to switch to on-demand mode. --- [Impact]  * Ubuntu will set GPU mode to performance as default which may use more power  * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not supported  * According to Nvidia README, the RTD3 doesn't support on non-laptop machine [Test Plan]  * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU driver. After the installation, reboot the system. Execute "prime-select query" should get "on-demand" * Old GPU (which supported by nvidia-390 only) will keep in performance mode, refer LP:1957094. Execute "prime-select query" should get "nvidia"  * On non-laptop machine. Can set GPU mode to on-demand  * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02" [Where problems could occur]  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But based on the Nvidia README, this case shall not happened. [Other Info] Changelogs: nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium   [ Jeremy Szu ]   * Set on-demand mode as default nvidia mode (LP: #1942307)   [ Alberto Milone ]   * prime-select:     - Detect chassis type and enable RTD3 only       on laptops (LP: #1942788).     - on-demand mode doesn't need to depend on       RTD3 (LP: #1942789).     - Use bootvga detection when last_gfx_boot       is not available.     - Don't check the current profile when setting       a profile (LP: #1946476).     - Catch BrokenPipeError.     - Use bootvga detection when last_gfx_boot is       not available. nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium   [ Jeremy Szu ]   * Set on-demand mode as default nvidia mode (LP: #1942307)   [ Alberto Milone ]   * prime-select:     - Detect chassis type and enable RTD3 only       on laptops (LP: #1942788).     - on-demand mode doesn't need to depend on       RTD3 (LP: #1942789).     - Use bootvga detection when last_gfx_boot       is not available.     - Don't check the current profile when setting       a profile (LP: #1946476).
2022-02-14 05:12:00 Dirk Su oem-priority: status Triaged Confirmed
2022-02-16 09:28:30 Alberto Milone nvidia-prime (Ubuntu Hirsute): status New Invalid
2022-02-17 03:21:24 jeremyszu bug added subscriber Chris Halse Rogers
2022-02-17 03:23:48 jeremyszu bug added subscriber Timo Aaltonen
2022-02-22 13:11:30 jeremyszu bug added subscriber Ubuntu Sponsors Team
2022-02-27 03:38:21 Mathew Hodson nvidia-prime (Ubuntu Hirsute): status Invalid Won't Fix
2022-02-27 03:38:24 Mathew Hodson nvidia-prime (Ubuntu Focal): importance Undecided High
2022-02-27 03:38:27 Mathew Hodson nvidia-prime (Ubuntu Hirsute): importance Undecided High
2022-03-04 07:59:47 Dirk Su description [Steps to reproduce] 1. Install 20.04.3 with "Third-party packages" on a system which containing a RTD3 supported nvidia card. 2. After the installation, press enter to reboot system 3. prime-select query [Expected result] on-demand [Actual result] performance --- It's because ubiquity launches `ubuntu-drivers install --packages-list ...` in live system but install each package to target storage. When installing nvidia-prime, the preinst set "on" to "/etc/prime-discrete" which will be referred by gpu-manager. The gpu-manager will set to performance mode. After confirming with Alberto on Mattermost, since we don't have a nvidia driver which lower than 450 version since focal. I think we are ok to switch to on-demand mode. --- [Impact]  * Ubuntu will set GPU mode to performance as default which may use more power  * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not supported  * According to Nvidia README, the RTD3 doesn't support on non-laptop machine [Test Plan]  * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU driver. After the installation, reboot the system. Execute "prime-select query" should get "on-demand" * Old GPU (which supported by nvidia-390 only) will keep in performance mode, refer LP:1957094. Execute "prime-select query" should get "nvidia"  * On non-laptop machine. Can set GPU mode to on-demand  * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02" [Where problems could occur]  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But based on the Nvidia README, this case shall not happened. [Other Info] Changelogs: nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium   [ Jeremy Szu ]   * Set on-demand mode as default nvidia mode (LP: #1942307)   [ Alberto Milone ]   * prime-select:     - Detect chassis type and enable RTD3 only       on laptops (LP: #1942788).     - on-demand mode doesn't need to depend on       RTD3 (LP: #1942789).     - Use bootvga detection when last_gfx_boot       is not available.     - Don't check the current profile when setting       a profile (LP: #1946476).     - Catch BrokenPipeError.     - Use bootvga detection when last_gfx_boot is       not available. nvidia-prime (0.8.16.2~0.21.04.1) hirsute; urgency=medium   [ Jeremy Szu ]   * Set on-demand mode as default nvidia mode (LP: #1942307)   [ Alberto Milone ]   * prime-select:     - Detect chassis type and enable RTD3 only       on laptops (LP: #1942788).     - on-demand mode doesn't need to depend on       RTD3 (LP: #1942789).     - Use bootvga detection when last_gfx_boot       is not available.     - Don't check the current profile when setting       a profile (LP: #1946476). RTD3 is a nvidia GPU feature to support runtime suspend. On-demand would be a X offloading feature. They are independent, according to discussion on https://github.com/tseliot/ubuntu-drivers-common/issues/55. Some parts need to be adjusted, e.g. ``` # If we are dealing with NVIDIA PRIME, and runtimepm # is supported, enable it if (os.path.isfile('/run/nvidia_runtimepm_supported') and os.path.isfile('/usr/bin/prime-select')): print('Trying to select the on-demand PRIME profile') try: subprocess.call(['prime-select', 'on-demand']) except: pass # Create the override file for gpu-manager with open('/etc/u-d-c-nvidia-runtimepm-override', 'w') as f: f.write('# File created by ubuntu-drivers\n') ``` --- [Impact]  * Ubuntu will set GPU mode to performance as default which may use more power  * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not supported  * According to Nvidia README, the RTD3 doesn't support on non-laptop machine [Test Plan]  * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU driver. After the installation, reboot the system. Execute "prime-select query" should get "on-demand"  * Old GPU (which supported by nvidia-390 only) will keep in performance mode, refer LP:1957094. Execute "prime-select query" should get "nvidia"  * On non-laptop machine. Can set GPU mode to on-demand  * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02" [Where problems could occur]  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But based on the Nvidia README, this case shall not happened. [Other Info] Changelogs: nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium   [ Jeremy Szu ]   * Set on-demand mode as default nvidia mode (LP: #1942307)   [ Alberto Milone ]   * prime-select:     - Detect chassis type and enable RTD3 only       on laptops (LP: #1942788).     - on-demand mode doesn't need to depend on       RTD3 (LP: #1942789).     - Use bootvga detection when last_gfx_boot       is not available.     - Don't check the current profile when setting       a profile (LP: #1946476).     - Catch BrokenPipeError.     - Use bootvga detection when last_gfx_boot is       not available.
2022-03-22 01:26:06 Dirk Su description RTD3 is a nvidia GPU feature to support runtime suspend. On-demand would be a X offloading feature. They are independent, according to discussion on https://github.com/tseliot/ubuntu-drivers-common/issues/55. Some parts need to be adjusted, e.g. ``` # If we are dealing with NVIDIA PRIME, and runtimepm # is supported, enable it if (os.path.isfile('/run/nvidia_runtimepm_supported') and os.path.isfile('/usr/bin/prime-select')): print('Trying to select the on-demand PRIME profile') try: subprocess.call(['prime-select', 'on-demand']) except: pass # Create the override file for gpu-manager with open('/etc/u-d-c-nvidia-runtimepm-override', 'w') as f: f.write('# File created by ubuntu-drivers\n') ``` --- [Impact]  * Ubuntu will set GPU mode to performance as default which may use more power  * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not supported  * According to Nvidia README, the RTD3 doesn't support on non-laptop machine [Test Plan]  * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU driver. After the installation, reboot the system. Execute "prime-select query" should get "on-demand"  * Old GPU (which supported by nvidia-390 only) will keep in performance mode, refer LP:1957094. Execute "prime-select query" should get "nvidia"  * On non-laptop machine. Can set GPU mode to on-demand  * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02" [Where problems could occur]  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But based on the Nvidia README, this case shall not happened. [Other Info] Changelogs: nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium   [ Jeremy Szu ]   * Set on-demand mode as default nvidia mode (LP: #1942307)   [ Alberto Milone ]   * prime-select:     - Detect chassis type and enable RTD3 only       on laptops (LP: #1942788).     - on-demand mode doesn't need to depend on       RTD3 (LP: #1942789).     - Use bootvga detection when last_gfx_boot       is not available.     - Don't check the current profile when setting       a profile (LP: #1946476).     - Catch BrokenPipeError.     - Use bootvga detection when last_gfx_boot is       not available. RTD3 is a nvidia GPU feature to support runtime suspend. On-demand would be a X offloading feature. They are independent, according to discussion on https://github.com/tseliot/ubuntu-drivers-common/issues/55. Some parts need to be adjusted, e.g. ```     # If we are dealing with NVIDIA PRIME, and runtimepm     # is supported, enable it     if (os.path.isfile('/run/nvidia_runtimepm_supported') and         os.path.isfile('/usr/bin/prime-select')):         print('Trying to select the on-demand PRIME profile')         try:             subprocess.call(['prime-select', 'on-demand'])         except:             pass         # Create the override file for gpu-manager         with open('/etc/u-d-c-nvidia-runtimepm-override', 'w') as f:             f.write('# File created by ubuntu-drivers\n') ``` --- [Impact]  * Ubuntu will set GPU mode to performance as default which may use more power  * User can't use GPU for other purpose (eg: deep-learning) if RTD3 is not supported  * According to Nvidia README, the RTD3 doesn't support on non-laptop machine [Test Plan]  * Install Ubuntu, and then execute 'ubuntu-drivers install' to install GPU driver. After the installation, reboot the system. Execute "prime-select query" should get "on-demand"  * Old GPU (which supported by nvidia-390 only) will keep in performance mode, refer LP:1957094. Execute "prime-select query" should get "nvidia"  * On non-laptop machine. Can set GPU mode to on-demand  * On laptop with GPU in runtime PM support list. Set GPU mode to on-demand and Nvidia driver is loaded with "NVreg_DynamicPowerManagement=0x02" [Where problems could occur]  * With GPU supported RTD3 not able enable runtime PM on non-laptop. But based on the Nvidia README, this case shall not happened. [Other Info] Changelogs: nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium   [ Jeremy Szu ]   * Set on-demand mode as default nvidia mode (LP: #1942307)   [ Alberto Milone ]   * prime-select:     - Detect chassis type and enable RTD3 only       on laptops (LP: #1942788).     - on-demand mode doesn't need to depend on       RTD3 (LP: #1942789).     - Use bootvga detection when last_gfx_boot       is not available.     - Don't check the current profile when setting       a profile (LP: #1946476).     - Handle BrokenPipeError (LP: #1965520).
2022-03-22 01:40:48 Chris Halse Rogers nvidia-prime (Ubuntu Focal): status Incomplete Fix Committed
2022-03-22 01:40:51 Chris Halse Rogers bug added subscriber Ubuntu Stable Release Updates Team
2022-03-22 01:40:53 Chris Halse Rogers bug added subscriber SRU Verification
2022-03-22 01:40:58 Chris Halse Rogers tags oem-priority oem-priority verification-needed verification-needed-focal
2022-03-28 06:37:52 Dirk Su tags oem-priority verification-needed verification-needed-focal oem-priority verification-done verification-done-focal
2022-04-04 08:13:09 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2022-04-04 08:15:58 Launchpad Janitor nvidia-prime (Ubuntu Focal): status Fix Committed Fix Released
2022-04-04 16:15:57 jeremyszu oem-priority: status Confirmed Fix Released