Bug#913062: light-locker: impossible to unlock: black screen, then the lightdm prompt again

2020-01-27 Thread Vincent Lefevre
On 2020-01-27 19:11:49 +0100, Yves-Alexis Perez wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> 
> On Mon, 2020-01-27 at 10:54 +0100, Vincent Lefevre wrote:
> > It was the kernel from Debian/unstable at the time I reported the
> > bug, and it still occurred with linux-image-5.4.0-3-amd64 5.4.13-1.
> > 
> > > It's likely related to the *Xorg* driver, which is modesetting.
> > > A workaround has been added in the Linux kernel in unstable.
> > 
> > So it seems that this is not sufficient for me.
> 
> Hmhm ok. Just to check, do you see the “atomic disabled” message in
> the kernel log?

The whole journalctl log does not contain the word "atomic".

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#913062: light-locker: impossible to unlock: black screen, then the lightdm prompt again

2020-01-27 Thread Yves-Alexis Perez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Mon, 2020-01-27 at 10:54 +0100, Vincent Lefevre wrote:
> It was the kernel from Debian/unstable at the time I reported the
> bug, and it still occurred with linux-image-5.4.0-3-amd64 5.4.13-1.
> 
> > It's likely related to the *Xorg* driver, which is modesetting.
> > A workaround has been added in the Linux kernel in unstable.
> 
> So it seems that this is not sufficient for me.

Hmhm ok. Just to check, do you see the “atomic disabled” message in the kernel
log?
> 
> > See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870641 for example
> > (sorry, this is a mess because everyone reported a new bug on various
> > packages).
> 
> Note that in my case, the screen does not remain off (on my laptop,
> backlight gets visible) but it is black. Moreover, this is not after
> resume, but after locking while the machine is still running. IIRC,
> I have not noticed any issue after resume on my laptop.

Ok, then I honestly don't know.

Regards,
- -- 
Yves-Alexis
-BEGIN PGP SIGNATURE-

iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAl4vJ+UACgkQ3rYcyPpX
RFsKUQgAimJiwL9GBj5Yupy1rn/B4y9P/RlJf0jffBeAr/n0VD5KER0+Ff7XHrJT
p0ZDdErT7YPMeiFaNd7z65Q+ytywUIoUzLB1NqbGjxO0Hw+JmbkCvZ77zzAy+7rM
vvcG4YITOcITTGOkV+cJ7G3/l8qP3Bxh3DG80PINCWpB8JTIlexnr4yCEEnW+fPG
Crie7WOfs6nu25N2rTni5xFxfiPNUtY9PsUWC1ke5+1ZclyTM2AgO7FmYzQcsv8G
tIn31GDeB/paa0Mqq5SVzcqiQDs0xhIEUzl3jGHI3F0paOcxZQmdz4+sT3rQTUzx
WOzfRG5nfZB5UOYEJyVFj9gjsUWZuA==
=JY7A
-END PGP SIGNATURE-



Bug#913062: light-locker: impossible to unlock: black screen, then the lightdm prompt again

2020-01-27 Thread Vincent Lefevre
On 2020-01-25 12:53:58 +0100, Yves-Alexis Perez wrote:
> On Mon, 2020-01-20 at 12:03 +0100, Vincent Lefevre wrote:
> > > In case this might depend on the driver, I was using the nvidia
> > > driver (and I still use it on this machine).
> > 
> > My laptop uses the nouveau driver. So this is not related to the driver.
> 
> What kernel do you use?

It was the kernel from Debian/unstable at the time I reported the
bug, and it still occurred with linux-image-5.4.0-3-amd64 5.4.13-1.

> It's likely related to the *Xorg* driver, which is modesetting.
> A workaround has been added in the Linux kernel in unstable.

So it seems that this is not sufficient for me.

> See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870641 for example
> (sorry, this is a mess because everyone reported a new bug on various
> packages).

Note that in my case, the screen does not remain off (on my laptop,
backlight gets visible) but it is black. Moreover, this is not after
resume, but after locking while the machine is still running. IIRC,
I have not noticed any issue after resume on my laptop.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#913062: light-locker: impossible to unlock: black screen, then the lightdm prompt again

2020-01-25 Thread Yves-Alexis Perez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Mon, 2020-01-20 at 12:03 +0100, Vincent Lefevre wrote:
> > In case this might depend on the driver, I was using the nvidia
> > driver (and I still use it on this machine).
> 
> My laptop uses the nouveau driver. So this is not related to the driver.

What kernel do you use? It's likely related to the *Xorg* driver, which is
modesetting. A workaround has been added in the Linux kernel in unstable.

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870641 for example
(sorry, this is a mess because everyone reported a new bug on various
packages).

Regards,
- -- 
Yves-Alexis
-BEGIN PGP SIGNATURE-

iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAl4sLFYACgkQ3rYcyPpX
RFvI5gf8C8GJ44KEOVd+J6PxaW2vo8GgaeA133brPvSnpiXvX65VXF+w8TSaZtL+
frjQ8Lq3XaSDz+zNRiveo/MgK6sHGZQoIY0ENVNZR1Dttb5nVCJ15OerdR9v2Z8K
gUdJ9IQ3Gw8ZOtDQ4fkeVvkP7CkHA0fDy5POHYnaCHQOY1kVY3S0GMztWSzIJXjL
JfVHfBdOXq/uroJu5HzzqgoCpSKK43sgwcUi45lsiRn9IwXcxALMCcoEocuEb1eX
1/iBEbJOBZdDUiZisP+mE2Xs4djDEyIfRllND9qo8rD4eBQ7bT8vbzxkngV1G+w2
X+AYvecUWO4/n2Wh4E20PgqI9gBBXQ==
=BUuR
-END PGP SIGNATURE-



Bug#913062: light-locker: impossible to unlock: black screen, then the lightdm prompt again

2020-01-20 Thread Vincent Lefevre
On 2020-01-20 12:58:41 +0100, Vincent Lefevre wrote:
> On 2020-01-20 12:03:30 +0100, Vincent Lefevre wrote:
> > I'm going to turn on the debug messages to see whether there is a
> > difference when the problem occurs.
> 
> Unfortunately, light-locker does not output any debug message
> when the screensaver stops (whether or not the bug has occurred).
> The first debug messages are output after I type my password to
> unlock.

... for a good reason: I've tried with strace, which shows that
light-locker does not do anything between the time it locks the
session and the time the session is unlocked by lightdm:

29410 13:02:31 poll([{fd=3, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, 
events=POLLIN}, {fd=10, events=POLLIN}], 4, 27003) = 1 ([{fd=10, 
revents=POLLIN}])
29410 13:02:54 write(3, "\1\0\0\0\0\0\0\0", 8) = 8

Note: I moved the mouse at about 13:02:40, which showed the lightdm
greeter screen (the bug did not occur), and I typed my password at
about 13:02:50. The first debug message that occurred at 13:02:54
was from gs-listener-dbus.c (listener_dbus_handle_system_message).

I recall the issue:
1. The session is locked by light-locker.
2. Some time after, I move the mouse so that I can unlock the session.

But sometimes, after (2), the screen is entirely black (the backlight
is on, though) instead of displaying the lightdm greeter screen.

There's still something I don't understand: When the bug occurs, I can
type my password, which unlocks the session, but the screen remains
black, and from that, I can type C-M-. with my config, which does a
"sleep 1 && xset dpms force off", and after I move the mouse, I get
the correct display of my desktop back. So, since my password was
understood, I assume that the greeter screen was active, and this is
purely a display bug.

And since the screen remains black after the session is unlocked,
I don't see how this could be a lightdm or lightdm-gtk-greeter bug
(and lightdm alone does not have any issue).

I can see that before it locks the session, light-locker creates a
window on the full screen:

[2020-01-20 13:27:07] light-locker: [gs_manager_create_windows_for_screen] 
gs-manager.c:548 (13:27:07):  Creating 1 windows for screen 0
[2020-01-20 13:27:07] light-locker: [gs_manager_create_window_for_monitor] 
gs-manager.c:324 (13:27:07):  Creating window for monitor 0 [0,0] (3200x1800)
[...]
[2020-01-20 13:27:07] light-locker: [gs_window_move_resize_window] 
gs-window-x11.c:243 (13:27:07):   Move and/or resize window on monitor 0: 
x=0 y=0 w=3200 h=1800
[2020-01-20 13:27:08] light-locker: [gs_listener_send_lock_session] 
gs-listener-dbus.c:180 (13:27:08):   Send lock session

Perhaps the black screen is due to this window. More debug messages
would be useful. For instance, gs_manager_create_window_for_monitor()
has one for creation, but gs_manager_destroy_windows() doesn't have
any for destruction, so that one does not know anything about the
window at unlock time, and gs_window_real_visibility_notify_event()
doesn't either (the bug may be related to the window visibility).

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#913062: light-locker: impossible to unlock: black screen, then the lightdm prompt again

2020-01-20 Thread Vincent Lefevre
On 2020-01-20 12:03:30 +0100, Vincent Lefevre wrote:
> I'm going to turn on the debug messages to see whether there is a
> difference when the problem occurs.

Unfortunately, light-locker does not output any debug message
when the screensaver stops (whether or not the bug has occurred).
The first debug messages are output after I type my password to
unlock.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#913062: light-locker: impossible to unlock: black screen, then the lightdm prompt again

2020-01-20 Thread Vincent Lefevre
Control: retitle -1 light-locker: screen sometimes black on screensaver 
deactivation

On 2019-09-12 03:46:03 +0200, Vincent Lefevre wrote:
> On 2019-09-11 20:17:48 -0400, Christopher David Howie wrote:
> > I also experience this problem.  It is intermittent, making it difficult
> > to reproduce, and it may or may not depend on specific hardware.
> 
> I think I have never reproduced this problem on any machine
> (including the same machine, which I still use regularly).

This now occurs on a different machine (my laptop) from time to
time.

> In case this might depend on the driver, I was using the nvidia
> driver (and I still use it on this machine).

My laptop uses the nouveau driver. So this is not related to the driver.

It is possible to unlock by typing the password (while the screen is
still black), then reactivating the screen saver (I have a keyboard
shortcut to run "sleep 1 && xset dpms force off"), then moving the
mouse.

I'm going to turn on the debug messages to see whether there is a
difference when the problem occurs.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#913062: light-locker: impossible to unlock: black screen, then the lightdm prompt again

2019-09-11 Thread Vincent Lefevre
On 2019-09-11 20:17:48 -0400, Christopher David Howie wrote:
> I also experience this problem.  It is intermittent, making it difficult
> to reproduce, and it may or may not depend on specific hardware.

I think I have never reproduced this problem on any machine
(including the same machine, which I still use regularly).

In case this might depend on the driver, I was using the nvidia
driver (and I still use it on this machine).

I don't use a desktop environment (just fvwm as the window manager).

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#913062: light-locker: impossible to unlock: black screen, then the lightdm prompt again

2019-09-11 Thread Christopher David Howie
found 913062 1.8.0-3
thanks

I also experience this problem.  It is intermittent, making it difficult
to reproduce, and it may or may not depend on specific hardware.

Switching to a VT and killing the light-locker process restores control
of the locked X session, _until_ the next time the XFCE attempts to lock
the screen, at which point the X session displays only a totally red
screen and is again completely unresponsive.  There is no light-locker
process running at that point.  At this point, the only way out of the
situation is to restart lightdm (or reboot).

A workaround is to simply not use light-locker.  I have not had this
issue since switching to xscreensaver.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers

If you correspond with me on a regular basis, please read this document:
http://www.chrishowie.com/email-preferences/

PGP fingerprint: 2B7A B280 8B12 21CC 260A DF65 6FCE 505A CF83 38F5


IMPORTANT INFORMATION/DISCLAIMER

This document should be read only by those persons to whom it is
addressed.  If you have received this message it was obviously addressed
to you and therefore you can read it.

Additionally, by sending an email to ANY of my addresses or to ANY
mailing lists to which I am subscribed, whether intentionally or
accidentally, you are agreeing that I am "the intended recipient," and
that I may do whatever I wish with the contents of any message received
from you, unless a pre-existing agreement prohibits me from so doing.

This overrides any disclaimer or statement of confidentiality that may
be included on your message.



Bug#913062: light-locker: impossible to unlock: black screen, then the lightdm prompt again (not reproducible)

2018-11-06 Thread Vincent Lefevre
Package: light-locker
Version: 1.8.0-2
Severity: important

After being idle, the screen was automatically locked.

A bit later, I entered my password to unlock, but I got a black
screen, then after some time, the lightdm prompt again. I tried
two other times. Same problem. I eventually rebooted the machine.

IIRC, this was the first time I got such a problem. I couldn't
reproduce it yet.

I couldn't find any error in the lightdm and journalctl logs.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/12 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages light-locker depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.30.0-1
ii  libc62.27-8
ii  libcairo21.14.10-1
ii  libdbus-1-3  1.12.10-1
ii  libdbus-glib-1-2 0.110-3
ii  libglib2.0-0 2.58.1-2
ii  libgtk-3-0   3.24.1-2
ii  libpango-1.0-0   1.42.1-1
ii  libpangocairo-1.0-0  1.42.1-1
ii  libsystemd0  239-11
ii  libx11-6 2:1.6.7-1
ii  libxext6 2:1.3.3-1+b2
ii  libxss1  1:1.2.3-1
ii  lightdm  1.26.0-3

light-locker recommends no packages.

light-locker suggests no packages.

-- no debconf information