Bug 370352 - system hangs when waking up from screen off with a blank screen with mouse pointer
Summary: system hangs when waking up from screen off with a blank screen with mouse po...
Status: RESOLVED WORKSFORME
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: general (show other bugs)
Version: 5.5.95
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 370991 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-10-09 16:39 UTC by Sudhir Khanger
Modified: 2016-12-28 18:24 UTC (History)
4 users (show)

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


Attachments
dmesg log (77.58 KB, text/plain)
2016-10-26 17:54 UTC, Sudhir Khanger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sudhir Khanger 2016-10-09 16:39:42 UTC
From time to time when my system wakes up from screen off, and maybe from suspend too, I am greeted with a blank/black screen with only mouse pointer. In the middle sometimes it turns into input cursor. I can't enter anything or see anything for that matter.

I can switch to another tty and restart sddm. Sometimes killing X won't work and I will have to restart the system.

This is very unfortunate situation as this happen occasionally and I lose all my unsaved data. It is impossible to work on a system that you are not sure if will wake up from sleep.

Reproducible: Sometimes

Steps to Reproduce:
1. Happens automatically when waking up from screen off.
2.
3.

Actual Results:  
Blank screen with only mouse pointer. In the text input region it may change to input prompt but no text can be entered.


kscreenlocker-5.7.5-1.fc24.x86_64
Comment 1 Martin Flöser 2016-10-10 05:21:37 UTC
This doesn't sound like a problem in our software, but rather in deeper in the stack (Xorg, OpenGL driver or drm). First of all: if you are using Intel hardware please switch from xorg-intel to xorg-modesettings driver and check whether the problem persists.

If that doesn't help, please try to investigate a little bit more. E.g. check with dmesg or in /var/log/messages and /var/log/Xorg.0.log for error messages related to what you see. Also try to unlock the system without using the greeter:
loginctl unlock-sessions
Comment 2 Sudhir Khanger 2016-10-21 14:58:00 UTC
'loginctl unlock-sessions' didn't work I will try other things.
Comment 3 Christoph Feck 2016-10-24 03:22:28 UTC
*** Bug 370991 has been marked as a duplicate of this bug. ***
Comment 4 Rajinder Yadav 2016-10-24 11:16:02 UTC
I am also seeing this issue and have disable "Lock screen on resume" to eliminate the login screen. Will continue to monitor and report back if the screen remains black.
Comment 5 Sudhir Khanger 2016-10-24 13:24:22 UTC
Hi Rajinder,

Which distro and kernel version are you on? Let's keep a record here.
Comment 6 Rajinder Yadav 2016-10-24 21:19:34 UTC
Hi Sudhir,

I have a fresh install of Kubuntu 16.04.01
KDE 5.5.5
Kernel 4.4.0-45-generic
Comment 7 Felix Miata 2016-10-26 17:28:14 UTC
(In reply to Martin Gräßlin from comment #1)
> First of all: if you are using Intel
> hardware please switch from xorg-intel to xorg-modesettings driver and check
> whether the problem persists.

Beginning with server 1.17.0, the separate modesetting driver package was eliminated and the driver incorporated into the server. To switch to the modesetting driver in distro releases providing 1.17.0 or newer, simply uninstall the intel driver package and restart the server.
Comment 8 Sudhir Khanger 2016-10-26 17:54:39 UTC
Created attachment 101800 [details]
dmesg log

I am attaching the demsg log which was recorded when the problem happened.
Comment 9 Sudhir Khanger 2016-10-30 16:13:21 UTC
I haven't had a problem freeze in the last few days since I switched to modesetting drivers by removing the intel.

I will test for few more days.

What are the next steps if Intel drivers are indeed the problem?
Comment 10 Martin Flöser 2016-10-30 16:37:11 UTC
>What are the next steps if Intel drivers are indeed the problem?

Well then we cannot do much about it. It's pointless to try to report it upstream, that driver has been in an unreleased state for years. Distros are switching away as well.
Comment 11 Rajinder Yadav 2016-10-30 21:53:39 UTC
Ever since I've disabled "Lock screen on resume" my system starts up in a flash from suspend to RAM. I haven't experience a black screen.

I suspect there is a bug with the login session manager, if I had to login in coming out of suspend by now I would have experience a black screen with a mouse point and forced to reboot. I don't think the issue is related to a video card or driver issues. With my experience the issue is the login screen or session manager.
Comment 12 Sudhir Khanger 2016-10-31 03:31:30 UTC
I notice that I see the same black screen right before screen locker shows up. At least so far with mode setting driver I am able to reach screen lock but with intel I am just stuck at the black screen.
Comment 13 Rajinder Yadav 2016-11-03 21:18:59 UTC
Forget what I said about disabling the screen lock, I finally got a black screen with a mouse pointer and was not able to view by desktop.

Also I tired pressing my power button to try to put system into RAM suspend mode, nothing happened. The moused pointer still movable but entire screen was black. Forced to do hard reboot.

Here is my info video info:

01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 430] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: eVga.com. Corp. GF108 [GeForce GT 430]
        Flags: bus master, fast devsel, latency 0, IRQ 27
        Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
        Memory at f0000000 (64-bit, prefetchable) [size=128M]
        Memory at f8000000 (64-bit, prefetchable) [size=32M]
        I/O ports at dc00 [size=128]
        Expansion ROM at fea80000 [disabled] [size=512K]
        Capabilities: <access denied>
        Kernel driver in use: nouveau
        Kernel modules: nvidiafb, nouveau
Comment 14 Sudhir Khanger 2016-11-04 08:17:54 UTC
Rajinder can you try using xorg-modesettings driver?
Comment 15 Sudhir Khanger 2016-12-28 18:24:59 UTC
I haven't had any problems after removing the intel drivers. Closing.