2018-06-27 02:18:15

by Vito Caputo

[permalink] [raw]
Subject: [REGRESSION] 4.18-rc2: X61s thinkpad display unusable after xlock & lid close

Hello,

Beginning with 4.18, when I lock my X server using the `xlock` command,
and close the lid, upon reopening the lid I am not presented with the
xlock UI.

The system is not hung. If I blindly enter the password, I get an
intact and functional pointer but none of the desktop is displayed. I
can move the pointer, and cycling window focus generates some random
noise occasionally, but it's all nonsensical. No windows are
discernable, it's just blackness with ephemeral noise on window cycles,
and a movable pointer.

The system does not suspend on lid close, with "HandleLidSwitch=ignore"
in logind.conf. So this is a bit odd, since I don't observe this when I
just run `xlock` but don't close/open the lid before unlocking.

This is on Debian 9.4 amd64, the hardware is a 1.8Ghz X61s ThinkPad,
kernel config attached. I'm using the modesetting Xorg driver on i915
KMS.

Regards,
Vito Caputo


2018-06-27 13:54:27

by Jani Nikula

[permalink] [raw]
Subject: Re: [REGRESSION] 4.18-rc2: X61s thinkpad display unusable after xlock & lid close

On Tue, 26 Jun 2018, Vito Caputo <[email protected]> wrote:
> Beginning with 4.18, when I lock my X server using the `xlock` command,
> and close the lid, upon reopening the lid I am not presented with the
> xlock UI.

Please file a bug report at [1]. Please include Xorg.0.log and dmesg
with drm.debug=14 reproducing the problem. For fastest results, please
git bisect.

BR,
Jani.

[1] https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&component=DRM/Intel


--
Jani Nikula, Intel Open Source Graphics Center

2018-06-27 14:22:20

by Ville Syrjälä

[permalink] [raw]
Subject: Re: [REGRESSION] 4.18-rc2: X61s thinkpad display unusable after xlock & lid close

On Tue, Jun 26, 2018 at 05:05:48PM -0700, Vito Caputo wrote:
> Hello,
>
> Beginning with 4.18, when I lock my X server using the `xlock` command,
> and close the lid, upon reopening the lid I am not presented with the
> xlock UI.
>
> The system is not hung. If I blindly enter the password, I get an
> intact and functional pointer but none of the desktop is displayed. I
> can move the pointer, and cycling window focus generates some random
> noise occasionally, but it's all nonsensical. No windows are
> discernable, it's just blackness with ephemeral noise on window cycles,
> and a movable pointer.
>
> The system does not suspend on lid close, with "HandleLidSwitch=ignore"
> in logind.conf. So this is a bit odd, since I don't observe this when I
> just run `xlock` but don't close/open the lid before unlocking.
>
> This is on Debian 9.4 amd64, the hardware is a 1.8Ghz X61s ThinkPad,
> kernel config attached. I'm using the modesetting Xorg driver on i915
> KMS.

Ah, a Thinkpad with lid notifier. Now were getting somewhere :)

Can you pls test the stuff I listed here
https://bugs.freedesktop.org/show_bug.cgi?id=105902#c5 ?

--
Ville Syrj?l?
Intel

2018-06-27 21:00:12

by Vito Caputo

[permalink] [raw]
Subject: Re: [REGRESSION] 4.18-rc2: X61s thinkpad display unusable after xlock & lid close

On Wed, Jun 27, 2018 at 05:18:39PM +0300, Ville Syrj?l? wrote:
> On Tue, Jun 26, 2018 at 05:05:48PM -0700, Vito Caputo wrote:
> > Hello,
> >
> > Beginning with 4.18, when I lock my X server using the `xlock` command,
> > and close the lid, upon reopening the lid I am not presented with the
> > xlock UI.
> >
> > The system is not hung. If I blindly enter the password, I get an
> > intact and functional pointer but none of the desktop is displayed. I
> > can move the pointer, and cycling window focus generates some random
> > noise occasionally, but it's all nonsensical. No windows are
> > discernable, it's just blackness with ephemeral noise on window cycles,
> > and a movable pointer.
> >
> > The system does not suspend on lid close, with "HandleLidSwitch=ignore"
> > in logind.conf. So this is a bit odd, since I don't observe this when I
> > just run `xlock` but don't close/open the lid before unlocking.
> >
> > This is on Debian 9.4 amd64, the hardware is a 1.8Ghz X61s ThinkPad,
> > kernel config attached. I'm using the modesetting Xorg driver on i915
> > KMS.
>
> Ah, a Thinkpad with lid notifier. Now were getting somewhere :)
>
> Can you pls test the stuff I listed here
> https://bugs.freedesktop.org/show_bug.cgi?id=105902#c5 ?
>

Cherry-picking 8860e829faad on top of v4.18-rc2 seems to have fixed the
problem here.

Unfortunately I'm short on time currently to perform a bisect in the
interests of identifying the lid notification-breaking commit between
4.17 and 4.18.

Thanks,
Vito Caputo