Comment 0 for bug 1915003

Revision history for this message
Alberto Milone (albertomilone) wrote : Always update the initramfs when changing power profile

The different power profiles require loading the nvidia drivers with different options (or blacklisting them, in case of intel mode).

We need to call update-initramfs whenever we switch to a different profile, or things may fall out sync, resulting in a failure.

The update-initramfs command takes a few seconds, therefore we also need to provide feedback, so that users know that they have to wait for the operation to complete. For this reason, prime-select will provide a spinner on the command line, and nvidia-settings will show a progress dialog.