#1060172 xserver-xorg-core: Screen remains desperately black after starting Xorg on Thinkpad X201s

Package:
xserver-xorg-core
Source:
xserver-xorg-core
Description:
Xorg X server - core server
Submitter:
Stefan Monnier
Date:
2024-01-15 04:00:03 UTC
Severity:
normal
#1060172#5
Date:
2024-01-06 21:38:02 UTC
From:
To:
Dear Maintainer,

Xorg refuses to work on my Thinkpad X201s nowadays, tho it used to work just
fine a year or so ago.  Wayland still works fine.

The observed behavior is that when GDM3 starts up (using Xorg because
I have set `WaylandEnable=false` in its config file) at the end of the
boot process, the screen becomes black and remains so.

I can use the keyboard to suspend and resume the machine, but I'm flying blind.

The same happens if I start Xorg "manually".

I have attached the corresponding Xorg.0.log from
/var/lib/gdm3/.local/share/xorg/ (which is very similar to the log
I see below, tho not quite identical because it's more recent).


        Stefan

#1060172#10
Date:
2024-01-15 03:47:46 UTC
From:
To:
I found a workaround.
If I create a file `/etc/X11/xorg.conf` with the following contents:

    % cat /etc/X11/xorg.conf
    # Workaround for Debian bug#1005359.
    Section "Device"
            Identifier "modesetting"
            Driver "modesetting"
            Option "UseGammaLUT" "false"
    EndSection
    %

then the Xorg server comes up fine.

As the comment indicate, I took this workaround from bug#1005359, so
maybe the two bugs should be merged.

(I hadn't tried this earlier since I presumed that the hardware was
sufficiently different between my X201s and my Librem mini that the
bugs would also be different).


        Stefan

#1060172#15
Date:
2024-01-15 03:47:46 UTC
From:
To:
I found a workaround.
If I create a file `/etc/X11/xorg.conf` with the following contents:

    % cat /etc/X11/xorg.conf
    # Workaround for Debian bug#1005359.
    Section "Device"
            Identifier "modesetting"
            Driver "modesetting"
            Option "UseGammaLUT" "false"
    EndSection
    %

then the Xorg server comes up fine.

As the comment indicate, I took this workaround from bug#1005359, so
maybe the two bugs should be merged.

(I hadn't tried this earlier since I presumed that the hardware was
sufficiently different between my X201s and my Librem mini that the
bugs would also be different).


        Stefan