ksmserver-logout-greeter crashes after GPU switch using prime-select

Bug #1662328 reported by Jonas Bosse
46
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Linux Mint
Confirmed
Undecided
Unassigned
Ubuntu
Confirmed
Undecided
Unassigned

Bug Description

System: Linux Mint 18.1 KDE 64bit Beta
Nvidia Driver: nvidia-367.57

Steps to reproduce the bug on Laptop with Nvidia Optimus:
1. switch the GPU using Nvidia Prime GUI or "sudo prime-select ALERNATIVE"
2. select "Abmelden" (logout on a german system) in the K-menue -> nothing happens
or
2. select "Neustart" (Reboot) or "Herunterfahren" (Shut down) -> you get a massage that ksmserver-logout-greeter crashed with the attached bug report.

see also: http://askubuntu.com/questions/866754/ksmserver-logout-greeter-crash-after-switching-from-intel-to-nvidia-gpu

Revision history for this message
Jonas Bosse (jonnyboss) wrote :
description: updated
Revision history for this message
Ľudovít Lučenič (llucenic) wrote :

Similar happens with KDE Neon 5.10.2 and nvidia-340. Logout is effectively disabled by crash message. Using 'loginctl terminate-session <id>' closes the session properly.

Revision history for this message
Ľudovít Lučenič (llucenic) wrote :

Switching back to Intel graphics however renders the logout from Plasma functional.

Revision history for this message
Frâncio (franciobr) wrote :

I have the same problem with Linux Mint 18.2 KDE. It might be affecting the nvidia-prime functionality because even after I manage to logout with 'loginctl terminate-session' the gpu doesn't switch and goes back to intel by default. Very troublesome.

Revision history for this message
Jeremy Sanders (jeremysanders) wrote :

Also affecting Ubuntu artful. The following message is in the xserver logs:

No XVisualInfo for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(SingleBuffer), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile))

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

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

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
cmc302a (cmolina11) wrote :

I can confirm that this bug affects Mint 18.2 Sylvia (KDE edition). Currently using Plasma 5.8.9 , KDE Frameworks 5.36.0 , Qt version 5.6.1, kernel 4.13.0-45-generic, 64 bits OS.

Seems that the bug might be purely KDE related:

bugs.kde.org/show_bug.cgi?id=366156

Of note, some users have detected the big while switching from nvidia -» intel, while others have ellicited it while going from intel -» nvidia. It seems that it goes both ways.

See attachment for output after crash.

cmc302a (cmolina11)
Changed in linuxmint:
status: New → Confirmed
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.