# verified pass on focal: ## package version as expected. ubuntu@dell-bto-focal-fossa-nvstaging-202005-27873:~$ apt list ubuntu-drivers-common nvidia-prime Listing... Done nvidia-prime/focal-proposed,focal-proposed,now 0.8.16~0.20.04.1 all [installed,automatic] ubuntu-drivers-common/focal-updates,now 1:0.8.6.5~0.20.04.1 amd64 [installed,automatic]
## check if module option in initrd in on-demand mode. $ sudo prime-select on-demand Info: selecting the on-demand profile Writing /lib/modprobe.d/nvidia-runtimepm.conf Updating the initramfs. Please wait for the operation to complete: Done ### then I see the module option in initrd correctly. main/usr/lib/modprobe.d/nvidia-runtimepm.conf:1:options nvidia "NVreg_DynamicPowerManagement=0x02" ## check if module option not in initrd in nvidia mode. $ sudo prime-select nvidia Info: selecting the nvidia profile Deleting /lib/modprobe.d/nvidia-runtimepm.conf Done ### then the module option "NVreg_DynamicPowerManagement=0x02" is removed from initrd correctly. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nvidia-prime in Ubuntu. https://bugs.launchpad.net/bugs/1915003 Title: SRU: Always update the initramfs when changing power profile Status in NVIDIA Drivers Ubuntu: New Status in OEM Priority Project: Triaged Status in nvidia-prime package in Ubuntu: Fix Released Status in nvidia-settings package in Ubuntu: Fix Released Status in nvidia-prime source package in Bionic: Fix Committed Status in nvidia-settings source package in Bionic: Fix Committed Status in nvidia-prime source package in Focal: Fix Committed Status in nvidia-settings source package in Focal: Fix Committed Status in nvidia-prime source package in Groovy: Fix Committed Status in nvidia-settings source package in Groovy: Fix Committed Bug description: Since we introduced support for dynamic power management, on systems with hybrid graphics (LP: #1904583), the need to load drivers with different options has become more evident. We need to make sure that the files in the initramfs are in sync with the current user selection. This is also a chance to update the old nvidia-settings release in the archive. [Impact] * If the modules list is not in sync with the selected power profile, users may experience a black screen or increased power consumption. * Updating the initramfs can take a few seconds, and we need to provide users with some form of visual feedback. [Fix] * The prime-select tool shoud update the initramfs when switching between power profiles, and provide visual feedback. * The nvidia-settings panel should provide a progress dialog, since profile switching would otherwise freeze the UI until update-initramfs completes. [Test Case] Make sure a supported nvidia driver is installed (450, 460), then install nvidia-prime and nvidia-settings from proposed, and check the following: 1) prime-select query (to check your current profile) 2) sudo prime-select on-demand (or "intel", or "nvidia", depending on your current power profile) 3) Check that the operation completes successfully. 4) Reboot your system 5) Launch the nvidia-setting panel. 6) Select a different profile from the PRIME tab, and check that a progress dialog is correctly displayed. 7) Close the nvidia-settings panel, and reboot. [Regression Risk] Medium, while the changes in prime-select are trivial, nvidia-settings needs careful testing. To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1915003/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp