[Desktop-packages] [Bug 1797147] Re: Backport PRIME switching fixes to Ubuntu 18.04

2018-11-12 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-drivers-common - 1:0.5.2.2

---
ubuntu-drivers-common (1:0.5.2.2) bionic; urgency=medium

  * gpu-manager.c:
- Improve pid detection, and restore the default pci
  power control profile in performance mode (LP: #1797147).

 -- Alberto Milone   Wed, 10 Oct 2018
17:01:27 +0200

** Changed in: ubuntu-drivers-common (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

** Changed in: nvidia-prime (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

-- 
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 Released
Status in ubuntu-drivers-common source package in Bionic:
  Fix Released

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


[Desktop-packages] [Bug 1797147] Re: Backport PRIME switching fixes to Ubuntu 18.04

2018-11-12 Thread Launchpad Bug Tracker
This bug was fixed in the package nvidia-prime - 0.8.8.2

---
nvidia-prime (0.8.8.2) bionic; urgency=medium

  * prime-switch:
- Give udev the time to add the drm device. Fixes a race
  condition that causes problems when using lightdm and
  sddm (LP: #1797147).

 -- Alberto Milone   Wed, 10 Oct 2018
17:59:03 +0200

-- 
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 Released
Status in ubuntu-drivers-common source package in Bionic:
  Fix Released

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


[Desktop-packages] [Bug 1797147] Re: Backport PRIME switching fixes to Ubuntu 18.04

2018-11-03 Thread Josh Holland
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


[Desktop-packages] [Bug 1797147] Re: Backport PRIME switching fixes to Ubuntu 18.04

2018-11-02 Thread Steve Langasek
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/PerformingSRUVerification .  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.

** Changed in: ubuntu-drivers-common (Ubuntu Bionic)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-bionic

** Changed in: nvidia-prime (Ubuntu Bionic)
   Status: In Progress => Fix Committed

-- 
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


[Desktop-packages] [Bug 1797147] Re: Backport PRIME switching fixes to Ubuntu 18.04

2018-10-11 Thread Alberto Milone
** Description changed:

- 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).
+ 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.

-- 
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:
  In Progress
Status in ubuntu-drivers-common source package in Bionic:
  In Progress

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