Bug 20132 - ksmserver crash on resume from suspend when using dual screen on Nvidia 340
Summary: ksmserver crash on resume from suspend when using dual screen on Nvidia 340
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 17523
  Show dependency treegraph
 
Reported: 2017-01-17 09:42 CET by Morgan Leijström
Modified: 2017-03-14 22:05 CET (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Morgan Leijström 2017-01-17 09:42:00 CET
__Description of problem:
Upon resume from suspend ksmserver crash, session (and users work) is lost.

__Version-Release number of selected component (if applicable):
Current Cauldron; kernel 4.9.4, xorg 1.19.1-1, nvidia 340-101
HOWEVER it was like this also when i tried more than a half year ago

__How reproducible: always
On two similar laptops, T61 and T61p, slightly different GPU but same driver: nvidia 340.
Using only the built in screen: OK with nvidia 340
Using nouveau driver: OK with using two screens


__Steps to Reproduce:

1. HW = Thinkpad T61/T61p with nvidia GPU, dock + external screen, set to use one desktop on each screen (default)
GPU driver: nvidia340

2. boot into plasma desktop

3. Issue suspend

4. Wake it up
-> see message ksmserver crashed, click OK, and Xorg restarts, after some black screen, Nvidia splash, and mageia background, you are back at login.

With driver nouveau instead of nvidia 340: no problem

(except that the most important program for the user of one of the laptops right now does not work on that driver : Minecraft)


__Possibly related
Bug 19090 other users with crashed ksmserver
Bug 18904 i also see that problem on same machines w nvidia 340
Bug 18672 which i have not updated for over a year, but is specifically about the T61p, and then IIRC i never saw message about ksmserver. There are some logs.

__TODO by me when i find time: 
Check system and Xorg logs, and see if really same on both laptops
Try resume from hibernation (try both nouveau and nvidia)
Try other DE and DM
Try other organisation of external screen (extend, clone)

...Any other things to look for or try?
David Walser 2017-01-17 15:21:27 CET

Blocks: (none) => 17523
Assignee: bugsquad => kde

Comment 1 Nicolas Lécureuil 2017-03-14 17:28:41 CET
is it still valid with plasma 5.8.6 ?

CC: (none) => mageia

Comment 2 Morgan Leijström 2017-03-14 17:47:17 CET
Last time tried, day before yesterday, both screens simply went black.
Holding power button for one second made it shut down cleanly.
I will be away a couple weeks now, may test again when back.
Comment 3 Morgan Leijström 2017-03-14 22:05:02 CET
Ah, no i remember now that black screen was after i woke it up detached, (black laptop screen) and then attached it (both screens black.

If i do not detach it from second screen if it was suspened with it, it wakes up OK now on both screens.

So... probably ksmserver is OK or at least much better now.
I set it solved for now.

(A bug should be filed regarding that it fail to use any screen if second screen / dock got detached during suspend, but i have no time now)

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.