## 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.
# verified pass on focal:
## package version as expected. dell-bto- focal-fossa- nvstaging- 202005- 27873:~ $ apt list ubuntu- drivers- common nvidia-prime prime/focal- proposed, focal-proposed, now 0.8.16~0.20.04.1 all [installed, automatic] drivers- common/ focal-updates, now 1:0.8.6.5~0.20.04.1 amd64 [installed, automatic]
ubuntu@
Listing... Done
nvidia-
ubuntu-
## check if module option in initrd in on-demand mode. d/nvidia- runtimepm. conf
$ sudo prime-select on-demand
Info: selecting the on-demand profile
Writing /lib/modprobe.
Updating the initramfs. Please wait for the operation to complete:
Done
### then I see the module option in initrd correctly. lib/modprobe. d/nvidia- runtimepm. conf:1: options nvidia "NVreg_ DynamicPowerMan agement= 0x02"
main/usr/
## check if module option not in initrd in nvidia mode.
$ sudo prime-select nvidia d/nvidia- runtimepm. conf
Info: selecting the nvidia profile
Deleting /lib/modprobe.
Done
### then the module option "NVreg_ DynamicPowerMan agement= 0x02" is removed from initrd correctly.