I tested with LightDM, ubuntu-drivers-common 1:0.5.2.2, and nvidia-prime 0.8.8.2, doing various combinations of `prime-select intel` and `prime- select nvidia`; everything seems to work as described in the original description.
Thank you Alberto for your work on this! ** Tags removed: verification-needed-bionic ** Tags added: verification-done-bionic -- 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/1797147 Title: Backport PRIME switching fixes to Ubuntu 18.04 Status in nvidia-prime package in Ubuntu: Fix Released Status in ubuntu-drivers-common package in Ubuntu: Fix Released Status in nvidia-prime source package in Bionic: Fix Committed Status in ubuntu-drivers-common source package in Bionic: Fix Committed Bug description: SRU Request: [Impact] A recent update (LP: #1778011) in 18.04 has restored the PRIME switching mechanism in Gdm 3 only, while still leaving out support for other login managers (such as Lightdm, and SDDM). In addition to this, we should restore the default pci power control profile for the dGPU when re-enabling performance mode, as we do in Ubuntu 18.10. [Test Case] 1) Make sure that you are using a login manager such as Lightdm or SDDM. 2) Enable the bionic-proposed repository, and install the new "ubuntu- drivers-common", and the new nvidia-prime. 3) Make sure the nvidia packages are installed and working, and enable power saving mode: sudo prime-select intel 4) Log out, log back in, and check that the nvidia kernel module is not loaded: lsmod | grep nvidia 5) Select performance mode: sudo prime-select nvidia 6) Log out, and log back in 7) Check if the nvidia driver loaded: lsmod | grep nvidia [Regression Potential] Low, as switching already fails in 18.04, since X is started before udev adds back the dGPU. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1797147/+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