Bug 361140 - After resume from Suspend / Compositing and/or PlasmaShell Failure?
Summary: After resume from Suspend / Compositing and/or PlasmaShell Failure?
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.5.4
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-29 12:47 UTC by PGillespie
Modified: 2017-10-05 11:17 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Results after switching to GL 2.0. (127.50 KB, image/jpeg)
2016-03-29 12:49 UTC, PGillespie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PGillespie 2016-03-29 12:47:10 UTC
After resuming from Suspend PlasmaShell is nonresponsive.

Reproducible: Sometimes

Steps to Reproduce:
1. Suspend.
2. Resume

Actual Results:  
1. First sign of trouble: No Compositing Effects
2. Minimally Functional Panel: Can hover over Task Manger and see drop down windows, but clicking on windows doesn't "activate" application. 
3. Application Launcher drops down but attempting to launch any application fails.

System is unusable. 


Have attempted to restart plasmashell:

killall plasmashell && kstart plasmashell

But results in same issues -- and no compositor. Tried switching to OpenGL 2 with disastrous results. I'll attach an image. Currently using open GL   3.1 with GLX Interface and Full Screen Repaints (tearing). Didn't have these issues with 15.04 or 15.10. They all started after upgrading to 16.04, so maybe this is a BETA issue?

And possibly relevant information:

System:    Kernel: 4.4.0-15-generic x86_64 (64 bit) Desktop: KDE Plasma 5.5.4
           Distro: Ubuntu 16.04 xenial

Machine:   System: LENOVO (portable) product: 20428 v: Lenovo Yoga 2 11
           Mobo: LENOVO model: VIUU4 v: 31900058WIN Bios: LENOVO v: AACN21WW date: 01/30/2015

CPU:       Dual core Intel Core i3-4012Y (-HT-MCP-) cache: 3072 KB 
           clock speeds: max: 1500 MHz 1: 767 MHz 2: 818 MHz 3: 998 MHz 4: 999 MHz

Graphics:  Card: Intel Device 0a1e
           Display Server: X.Org 1.18.1 drivers: intel (unloaded: fbdev,vesa) Resolution: 1366x768@60.00hz
           GLX Renderer: Mesa DRI Intel Haswell GLX Version: 3.0 Mesa 11.1.2
Comment 1 PGillespie 2016-03-29 12:49:30 UTC
Created attachment 98142 [details]
Results after switching to GL 2.0.
Comment 2 PGillespie 2016-03-29 13:08:26 UTC
For informational purposes:

*-display               
       description: VGA compatible controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 0b
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:43 memory:b0000000-b03fffff memory:a0000000-afffffff ioport:3000(size=64)
Comment 3 PGillespie 2016-03-29 14:33:56 UTC
More information: Finally getting error messages:

"Desktop effects were restrarted due to a graphics reset."

Further error messages when resuming from suspend:

There seems to be a problem with "klockscreen"? (Getting above my pay grade here.) When attempting to report the bug a dialog window prompted that the following packages were obsolete and the bug could not be reported. (Don't know if this is all related.)

gcc-5-base, libstdc++6
Comment 4 PGillespie 2016-03-29 14:56:43 UTC
Speak of the devil. Just checked upgradable and both packages were updated. Stay tuned.
Comment 5 Olav Gjerde 2016-07-04 09:20:43 UTC
I can confirm the same thing happen on my platform. Running Kubuntu 16.04.

I find the following error when I start plasmashell, it may be related or not.

file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Button.qml:96: TypeError: Cannot read property of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Button.qml:96: TypeError: Cannot read property of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemtray/contents/ui/TaskDelegate.qml:156: TypeError: Cannot read property 'taskItem' of undefined
Comment 6 David Edmundson 2017-10-05 09:30:56 UTC
PGillespie can you report back plase?

Olav, that output isn't going to cause a problem.

When you had this issue did you still have window decorations (the bar with the minimize and close buttons) visible on your apps? Was there a crash icon in the system tray?
Comment 7 Olav Gjerde 2017-10-05 10:37:53 UTC
Hi David, this was over a year ago. Now I'm on Kubuntu 17.04 and I just right now tried to suspend on my workstation. Everything worked fine! :-)
Comment 8 David Edmundson 2017-10-05 11:17:10 UTC
Ok, thanks for reporting back.