[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2021-06-30 Thread Dan Streetman
please reopen if this is still an issue ** Changed in: systemd (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1759950 Title: Lid-close suspend: blank

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2020-08-22 Thread Elliot
This issue does not seem to occur when compiling XFCE Settings Mnaager without UPower as per my findings here: https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/222 ** Bug watch added: gitlab.xfce.org/xfce/xfce4-settings/-/issues #222 https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/222

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2020-05-25 Thread Sean Davis
** Changed in: xubuntu-default-settings (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1759950 Title: Lid-close suspend: blank screen when switching to user

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-10-21 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: xubuntu-default-settings (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-10-21 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: systemd (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1759950 Title:

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-10-21 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: xfce4-settings (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1759950

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-09-26 Thread Dave York
** Information type changed from Public to Public Security -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1759950 Title: Lid-close suspend: blank screen when switching to user session To manage

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-06-23 Thread TJ
Tested with the 19.10 daily (2019-06-22) amd64 build and the problem affects the live environment too. Set x-p-m Lid Close action on battery to suspend and the 2nd lid close cycle results in DPMS=off when the GUI TTY is active. As in comment #15 I monitored the LVDS DPMS state whilst switching

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-06-19 Thread TJ
I modified libxrandr to return the actual error code returned from XRRSetCrtcConfig(): --- libxrandr-1.5.1.orig/src/XrrCrtc.c +++ libxrandr-1.5.1/src/XrrCrtc.c @@ -155,9 +155,10 @@ XRRSetCrtcConfig (Display *dpy, req->mode = mode; req->rotation = rotation; Data32 (dpy, outputs,

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-06-18 Thread TJ
Added: Description: Loop delay on CRTc config failure --- xfce4-settings-4.13.4.orig/xfsettingsd/displays.c +++ xfce4-settings-4.13.4/xfsettingsd/displays.c @@ -1256,10 +1256,17 @@ xfce_displays_helper_apply_crtc (XfceRRC ret = xfce_displays_helper_disable_crtc (helper, crtc->id);

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-06-18 Thread TJ
The reason the CRTC isn't configured: (xfsettingsd:1694): xfsettingsd-WARNING **: 15:02:36.290: Failed to configure CRTC 79 XRRSetCrtcConfig()=3. This due to my patch: --- xfce4-settings-4.13.4.orig/xfsettingsd/displays.c +++ xfce4-settings-4.13.4/xfsettingsd/displays.c @@ -1265,7 +1265,7 @@

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-06-18 Thread TJ
I've captured a log where it doesn't fail. The difference is a single error message. In failing sessions there is an additional "Failed to configure CRTC..." which is not seen here: xfce4-settings(displays): UPower lid event received (closed -> open). xfce4-settings(displays): Toggling internal

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-06-18 Thread TJ
This seems to be the crux of the issue. In a VT console I did: DISPLAY=:0 XFSETTINGSD_DEBUG=1 xfsettingsd --replace --no-daemon and the did the usual lid-close->resume cycle and found: xfce4-settings(displays): UPower lid event received (open -> closed). xfce4-settings(displays): Toggling

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-06-18 Thread TJ
Finally found some evidence and it is surprising. I added /usr/local/bin/xfce4-power-manager: #!/bin/sh exec /usr/bin/xfce4-power-manager --debug and logged in as normal. Confirmed x-p-m is writing debug messages. Closed the lid, it suspended, opened lid and tap key to resume as per usual.

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-06-17 Thread TJ
Yet more results changing the target once again! I was able to reproduce the issue whilst using sddm which tends to suggest lightdm may not be the cause. I also managed to prove (not sure why this did not occur to me before now!) that the DPMS state is being set 'off' when switching to the GUI

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-06-17 Thread TJ
maxpus=1 still suffers the same issue. I then disabled and stopped the upower daemon but the issue remains with the only common factors being systemd-logind and lightdm. I tried console-only tests with lightdm stopped and CANNOT reproduce the issue. I installed sddm and changed the default

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-06-17 Thread TJ
I purged both xfce4-screensaver and light-locker packages, restarted lightdm and tested with x-p-m set to suspend on lid-close for battery (and AC as I've had the battery exhaust several times due to the length of these tests!) In this case there is no password challenge dialog on resume. It

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-06-16 Thread TJ
On brainwash's suggestion (IRC #xubuntu-devel) I disabled UPower's Lid handling with /etc/UPower/UPower.conf: IgnoreLid=true After six suspend-resume cycles this does seem to have prevented the issue. *However* I then noticed that in the x-p-m dialog, General tab, the options to control the

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-06-16 Thread TJ
Update: Disabling x-p-m Security > Lock screen when system is going to sleep causes the LCD to be blank resume for the 1st cycle. This definitely feels like some weird interaction with x-p-m, light- locker, and logind. -- You received this bug notification because you are a member of Ubuntu

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-06-16 Thread TJ
And it gets weirder... with supend-lock disabled AND leaving x-p-m dialog box on screen whilst suspending the LCD always gets enabled on resume! I tried leaving other application windows open but those don't have the same effect. -- You received this bug notification because you are a member of

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-06-16 Thread TJ
I've done some more tests with another clean install of 19.04; The only user setting I changed was on x-p-m for Laptop Lid Closed, On Battery = suspend. 1st suspend=resume cycle is fine; user session re-appears after unlocking with password *BUT* 2nd suspend-resume cycle turns the LCD panel off

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-06-15 Thread Bug Watch Updater
Launchpad has imported 2 comments from the remote bug at https://bugzilla.xfce.org/show_bug.cgi?id=15151. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-06-15 Thread TJ
More search seems to point to a 2015 commit that integrated light-locker into xfce4-power-manager. This patch in particular appears to attempt to work with logind Lid handling too: commit 10076da7caa49320b3e907d319a9f27ee6702969 Author: Sean Davis Date: Sat Feb 7 11:49:31 2015 +0300 Light

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-06-15 Thread TJ
To check on current systemd-logind properties including these: $ loginctl -a show-session -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1759950 Title: Lid-close suspend: blank screen when

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-06-15 Thread TJ
** Bug watch added: Xfce Bugzilla #15151 https://bugzilla.xfce.org/show_bug.cgi?id=15151 ** Also affects: systemd via https://bugzilla.xfce.org/show_bug.cgi?id=15151 Importance: Unknown Status: Unknown ** Changed in: xfce4-power-manager (Ubuntu) Status: New => Confirmed

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-06-15 Thread TJ
Turns out this *is* systemd-logind and xfce4-power-manager fighting over the lid close event. It can be solved with: echo "HandleLidSwitch=ignore" | sudo tee -a /etc/systemd/logind.conf echo "HandleLidSwitchExternalPower=ignore" | sudo tee -a /etc/systemd/logind.conf If you're doing this

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2019-06-15 Thread TJ
Just having upgraded several laptops to 19.04 and been hit by this again. Did some more research and revisited my upstream report and suspect this is caused by some interaction with the power manager and possibly systemd-logind (maybe they both try to set DPMS state for lid- close/open events? )

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2018-11-11 Thread Agent24
Same problem here in a fresh install of Xubuntu 18.04 on a Lenovo T61. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1759950 Title: Lid-close suspend: blank screen when switching to user session

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2018-10-27 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: light-locker (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1759950

[Bug 1759950] Re: Lid-close suspend: blank screen when switching to user session

2018-03-29 Thread Bug Watch Updater
** Changed in: light-locker Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1759950 Title: Lid-close suspend: blank screen when switching to user session To manage