Bug#991788: xfce4-settings: black screen after suspend when laptop lid is closed and re-opened
This bug also causes the desktop to be accessible for a split second before the lock screen kicks in when resuming from suspend, c.f https://askubuntu.com/questions/1383379/xubuntu-desktop-visible-after-suspend-before-lock-screen/ I know disabling upower-glib support was frowned upon in the past but modern upower does not handle suspend/resume or lid events (that happens via other systemd components now) and xfce4-settings doesn't need upower for xfce4-power-manager to work properly. Recompiling wihtout upower-glib closes what is essentially a security bug, since the expectation is that resumed systems are locked, and this problem presents a second or two of unrestricted access to the desktop before locking kicks in. I've tested this on a Thinkpad X1 Yoga Titanium and a Thinkpad X1 Yoga Generation 3 (both with Intel graphics) and a Dell Precision 7820 with an AMD WX 5100 card, so I don't think it's nVIDIA specific. Please reconsider --enable-upower-glib. Thanks, khm
Bug#991788: xfce4-settings: black screen after suspend when laptop lid is closed and re-opened
I have also had the same issue consistently. Happens occasionally, but is quite annoying. I can fix it by switching to a virtual terminal (which works), scheduling "DISPLAY=:0 xrandr --auto" to run in the near future, and then switching back to the X VT, and waiting for the command to run. My stats: OS: Debian GNU/Linux 11 (bullseye) Hardware: Lenovo Thinkpad T460s Graphics: Intel Corporation Skylake GT2 [HD Graphics 520] Kernel: 5.10.0-9-amd64 (with i915 driver) Packages: xfce4 4.16 Packages: upower 0.99.11-2 Packages: light-locker 1.8.0-3 Cheers, - Chris
Bug#991788: xfce4-settings: black screen after suspend when laptop lid is closed and re-opened
This is on the 5.10.0-8 kernel on Debian Bullseye with Nvidia graphics with the proprietary driver installed. I am using light-locker 1.8.0 and upower 0.99.11-2 with the desktop configured to suspend my computer on lid closures. This happens whether or not the laptop is plugged in and is a confirmed bug upstream with how the upower support is implemented. Aug 3, 2021, 05:28 by dilin...@queued.net: > On Mon, 2 Aug 2021 02:08:09 +0200 (CEST) truetec...@tutanota.com wrote: > >> Package: xfce4-settings >> Version: 4.16.0-1 >> Severity: critical >> >> On Debian and, by extension, Ubuntu, when suspending a laptop via closing >> the lid on XFCE, the screen stays black after resuming from suspend. The >> only way to "fix" the system is to blindly type "xrandr --auto" into a >> terminal or switch to a TTY and restart X. >> > > As an xfce user, I haven't experienced this problem. What graphics hardware > and kernel are you seeing this with? Is this on battery or when plugged in? > Are you using light-locker (and if so, what version)? Do you have upower > installed (and if so, what version)? What is xfce4 configured to do on a lid > close (xfconf-query --verbose --list -c xfce4-power-manager)? >
Bug#991788: xfce4-settings: black screen after suspend when laptop lid is closed and re-opened
On 8/3/21 11:05 AM, truetec...@tutanota.com wrote: This is on the 5.10.0-8 kernel on Debian Bullseye with Nvidia graphics with the proprietary driver installed. I am using light-locker 1.8.0 and upower 0.99.11-2 with the desktop configured to suspend my computer on lid closures. This happens whether or not the laptop is plugged in and is a confirmed bug upstream with how the upower support is implemented. Thank you! This appears to be reported upstream at https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/222 , which was fixed (and merged) with https://gitlab.xfce.org/xfce/xfce4-settings/-/merge_requests/20 in a somewhat unsatisfying way. It's up to the debian xfce4 maintainers to determine if there's value in leaving upower enabled for xfce4-settings in bullseye, and/or this bug should be reassigned or cloned to upower.
Bug#991788: xfce4-settings: black screen after suspend when laptop lid is closed and re-opened
On Mon, 2 Aug 2021 02:08:09 +0200 (CEST) truetec...@tutanota.com wrote: > Package: xfce4-settings > Version: 4.16.0-1 > Severity: critical > > On Debian and, by extension, Ubuntu, when suspending a laptop via closing the lid on XFCE, the screen stays black after resuming from suspend. The only way to "fix" the system is to blindly type "xrandr --auto" into a terminal or switch to a TTY and restart X. As an xfce user, I haven't experienced this problem. What graphics hardware and kernel are you seeing this with? Is this on battery or when plugged in? Are you using light-locker (and if so, what version)? Do you have upower installed (and if so, what version)? What is xfce4 configured to do on a lid close (xfconf-query --verbose --list -c xfce4-power-manager)?
Bug#991788: xfce4-settings: black screen after suspend when laptop lid is closed and re-opened
Package: xfce4-settings Version: 4.16.0-1 Severity: critical On Debian and, by extension, Ubuntu, when suspending a laptop via closing the lid on XFCE, the screen stays black after resuming from suspend. The only way to "fix" the system is to blindly type "xrandr --auto" into a terminal or switch to a TTY and restart X. This issue can be easily fixed by disabling Upower support when the package is compiled. However, despite being set as default in 4.16, Debian seems to have it re-enabled. Removing "--enable-upower-glib" from the configure flags in the package instantly solves this issue.