Re: black screen (only mouse visible) after resume with xfce4 on kernel 5.2.0

2019-12-04 Thread Christoph Groth
Andrea Borgia wrote on 14 Sep 2019:

> On two systens with fairly different hardware (a 6yr old laptop I am
> using now on holiday and my new home desktop), with kernel 5.2.0 (and
> possibly as low as 5.0.11) the following happens: boot, login X,
> hibernate (ok), resume (also ok), unlock xfce4, stare at mouse pointer
> alone on a black screen. The pointer can move, there is sound
> (Telegram notifications, for example), and only keycombo that works is
> the one to go back to console.

Since I upgraded to bullseye some time ago, I experience the same
problem.  I've spent several hours researching online and trying to
debug it, but so far to no avail.  I replaced light-locker by
xscreensaver, but the problem persists.

In my case, there is an interesting twist: I do experience this problem
with my ThinkPad X220 laptop when undocked, and when docked at home
(single external screen).  However, when docked at work, where two
external screens are attached, I have never ever experienced this
problem.  The X220 can handle two screens at the same time, so this
problem could be somehow related to whether the built-in monitor is
active or not.

This must be the most annoying problem that I encounter in the 20 years
that I've been using Debian!  My current workaround is to work in
"presentation mode" which disables and auto locking of the screen.

I would be very grateful for any pointers, or at least a bug number that
I can follow.  As far as I can tell this is not #913062, nor #929834,
nor #846278.  I do not have light-locker installed.

Cheers
Christoph

PS.
Andrea, please excuse me sending this message not only to the list but
also to you directly.  I am not sure whether you follow this list
regularly, and I'm interested to know whether you have found a solution
by now.



Re: black screen (only mouse visible) after resume with xfce4 on kernel 5.2.0

2019-10-04 Thread Andrea Borgia

Il 03/10/19 17:55, Mike Kupfer ha scritto:



If you're asking how to use xscreensaver specifically (e.g., instead of
Xfce's own locker (new in 4.14)), you can specify a particular locker
using the Xfce settings editor.  (Set /general/LockCommand to whatever
you want; take a look at the /usr/bin/xflock4 script for reference.)


Yes, that was indeed my question, thanks for the pointer!



Weird.  I have no idea what's going on there.  I have a VirtualBox VM
with Testing installed (VBoxVGA graphics controller), and the display
looks just fine for me.


The desktop has a Ryzen G processor, G meaning it comes with its own 
embedded GPU. It ran fine until before my holidays (and a bunch of 
updates), so far I've ruled out HW (other OS works fine), kernel version 
(happens with last known working version and also current kernel in 
testing) and desktop environment (happens with KDE and xfce4, lxqt has 
even worse graphic corruption issues), still have to rollback xserver 
and related stuff to check that.



Andrea.



Re: black screen (only mouse visible) after resume with xfce4 on kernel 5.2.0

2019-10-03 Thread Mike Kupfer
Andrea Borgia wrote:

> Il 14/09/19 22:30, Mike Kupfer ha scritto:
> 
> > Andrea Borgia wrote:
> >> how do I get xfce to use xscreensaver as
> >> locking when suspending?
> 
> > For Xfce4 4.12, it's on the Advanced tab of the Session and Startup
> > settings.
[...]
> I have xfce4 4.14 but I don't see anything interesting in that menu,

Yeah, in 4.14 it's back in the Power Manager settings (System tab).  Or
at least, that's where the control is to enable locking.

If you're asking how to use xscreensaver specifically (e.g., instead of
Xfce's own locker (new in 4.14)), you can specify a particular locker
using the Xfce settings editor.  (Set /general/LockCommand to whatever
you want; take a look at the /usr/bin/xflock4 script for reference.)

> [1] image is fine until the login screen in X, after login it is an
> odd shade of green, mostly after resume but right now it happened on a
> fresh boot as well. System responds fine via ssh but chvt 1 does not
> fix it, I need to reboot. So far, I noticed that clearing
> ~/.config/xfce4 right after reboot and before logging in will give me
> a working display.

Weird.  I have no idea what's going on there.  I have a VirtualBox VM
with Testing installed (VBoxVGA graphics controller), and the display
looks just fine for me.

cheers,
mike



Re: black screen (only mouse visible) after resume with xfce4 on kernel 5.2.0

2019-10-01 Thread Andrea Borgia

Il 14/09/19 22:30, Mike Kupfer ha scritto:


Andrea Borgia wrote:

how do I get xfce to use xscreensaver as
locking when suspending?



For Xfce4 4.12, it's on the Advanced tab of the Session and Startup
settings.


Sorry for the delay, Mike: I had a busy schedule and opted for using a 
"safe" kernel on the laptop until I had more time to experiment.


I have xfce4 4.14 but I don't see anything interesting in that menu, see 
screenshot. This and the fact xfce is giving me crap [1] also on the 
desktop makes me feel like trying to switch environment altogether :D


Thanks for the assistance, though.

Andrea.

[1] image is fine until the login screen in X, after login it is an odd 
shade of green, mostly after resume but right now it happened on a fresh 
boot as well. System responds fine via ssh but chvt 1 does not fix it, I 
need to reboot. So far, I noticed that clearing ~/.config/xfce4 right 
after reboot and before logging in will give me a working display.


Re: black screen (only mouse visible) after resume with xfce4 on kernel 5.2.0

2019-09-14 Thread Mike Kupfer
Andrea Borgia wrote:

> how do I get xfce to use xscreensaver as
> locking when suspending?

For Xfce4 4.12, it's on the Advanced tab of the Session and Startup
settings.

mike



Re: black screen (only mouse visible) after resume with xfce4 on kernel 5.2.0

2019-09-14 Thread Andrea Borgia

Hello, Christopher.



If this is the same problem I had (and discussed prior on this list),
there is a bug in light-locker that seems to cause this behavior
randomly even without hibernation.  Consider switching from light-locker
to xscreensaver; this resolved the problem for me.


Thing is, I never ever have any problem if I lock the screen but do not 
suspend, though. Anyhow, how do I get xfce to use xscreensaver as locking when 
suspending?




See also: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913062


Killing light-locker gets me absolutely nowhere when it happens, I had 
already tried it :(



Andrea.



Re: black screen (only mouse visible) after resume with xfce4 on kernel 5.2.0

2019-09-11 Thread Christopher David Howie
On 9/11/2019 9:58 AM, Andrea Borgia wrote:
> unlock xfce4, stare at mouse pointer alone on a black screen

If this is the same problem I had (and discussed prior on this list),
there is a bug in light-locker that seems to cause this behavior
randomly even without hibernation.  Consider switching from light-locker
to xscreensaver; this resolved the problem for me.

If it resolves the problem for you as well then I would hesitate to say
immediately that it's a kernel bug, even if the kernel version is
somehow related to the problem.

See also: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913062

-- 
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.



black screen (only mouse visible) after resume with xfce4 on kernel 5.2.0

2019-09-11 Thread Andrea Borgia

Hi.

On two systens with fairly different hardware (a 6yr old laptop I am using 
now on holiday and my new home desktop), with kernel 5.2.0 (and possibly 
as low as 5.0.11) the following happens: boot, login X, hibernate (ok), 
resume (also ok), unlock xfce4, stare at mouse pointer alone on a black 
screen. The pointer can move, there is sound (Telegram notifications, for 
example), and only keycombo that works is the one to go back to console.


Additionally, I noticed that this tends to happen only after the system 
was suspended for quite a while, i.e. if I hibernate it and soon 
afterwards resume it nothing strange happens. If I let it sleep for the 
night, the next morning it will surely give me a black screen. When I say 
that hibernate and resume are OK, I mean that the text console works just 
fine and the system is in no way thrashing.


Very important: on the same laptop, if I reboot with an older kernel, say 
5.0.2, after unlocking it I can use X just fine even after many cycles. I 
don't have the desktop at hand until I'm back home, but I first observed 
this issue around 5.0.11 (see [1])


Now the question: should I file this as a bug against the kernel package 
or against xfce4?


On one hand, the fact that changing kernel creates or prevents the issue 
seems to me a very strong indication this is a kernel bug, on the other 
hand I am not really able to try a different desktop environment at the 
moment (lack of time, lack of RAM and CPU power) and cannot completely 
rule out a userspace issue (some change in the kernel not properly 
accepted by the application)


Has anyone else experienced something similar? I've had a look at the logs 
and I don't see anything obviously wrong or different from one case to the 
other.


Thanks,
Andrea.

[1] 
https://github.com/M-Bab/linux-kernel-amdgpu-binaries/issues/81#issuecomment-489403571)