The prime-select window becomes unresponsive during switch process

Bug #1758214 reported by Doug McMahon
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
nvidia-prime (Ubuntu)
Fix Released
Medium
Alberto Milone

Bug Description

When using the prime profile window to switch profiles the window becomes unresponsive during that process.
This may take 10 -15 seconds or so to complete. If the user wonders what's going on & happens to click on the launcher icon a pop up appears stating window is unresponsive & offers to force quit it..
Doing so may leave the user's install in an inconsistent state & unable to subsequently boot up.
An example in screen where profile was switched to intel but prime-profile quit before the nvidia-blacklist.conf was created.
In this case prime-select intel won;t work & prime-select nvividia won't work either. Only way out is to either remove nvidia* or put a blacklist file in /etc/modeprobe.d/

During this new, extended switching process the user should be given some indication the process is ongoing..

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: nvidia-prime 0.8.6
ProcVersionSignature: Ubuntu 4.15.0-12.13-generic 4.15.7
Uname: Linux 4.15.0-12-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CurrentDesktop: Unity:Unity7:ubuntu
Date: Thu Mar 22 21:36:27 2018
Dependencies:

PackageArchitecture: all
SourcePackage: nvidia-prime
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Doug McMahon (mc3man) wrote :
Revision history for this message
Doug McMahon (mc3man) wrote :

Example of unresponsive window

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-prime (Ubuntu):
status: New → Confirmed
Revision history for this message
Alberto Milone (albertomilone) wrote :

That is a known issue. I had code to add a progress bar, but it was unfinished, so I preferred to simply restore the old behaviour for now. The prime-select tool takes a while to complete.

Changed in nvidia-prime (Ubuntu):
assignee: nobody → Alberto Milone (albertomilone)
importance: Undecided → Medium
Revision history for this message
Vasyl (exposight) wrote :

That was most likely caused by initramfs update in the background that is no more performed after https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1778011 fixed, released in version 0.8.8.1

Changed in nvidia-prime (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.