Backport PRIME switching fixes to Ubuntu 18.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-prime (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Alberto Milone | ||
ubuntu-drivers-common (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Alberto Milone |
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-
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.
Changed in ubuntu-drivers-common (Ubuntu): | |
status: | New → In Progress |
Changed in nvidia-prime (Ubuntu): | |
status: | In Progress → Fix Released |
assignee: | Alberto Milone (albertomilone) → nobody |
Changed in nvidia-prime (Ubuntu Bionic): | |
assignee: | nobody → Alberto Milone (albertomilone) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in ubuntu-drivers-common (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in ubuntu-drivers-common (Ubuntu Bionic): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Alberto Milone (albertomilone) |
description: | updated |
Hello Alberto, or anyone else affected,
Accepted ubuntu- drivers- common into bionic-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ ubuntu- drivers- common/ 1:0.5.2. 2 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification- needed- bionic to verification- done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- bionic. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.