You are not logged in.

#1 2022-06-09 07:53:20

archlinux20130905
Member
Registered: 2013-09-05
Posts: 45

Potential libx11 bug

Hi everyone,

I updated my system today:

[2022-06-09T08:40:01+0200] [ALPM] installed libverto (0.3.2-4)
[2022-06-09T08:40:01+0200] [ALPM] upgraded krb5 (1.19.3-1 -> 1.19.3-3)
[2022-06-09T08:40:01+0200] [ALPM] upgraded libgpg-error (1.45-1 -> 1.45-2)
[2022-06-09T08:40:01+0200] [ALPM] upgraded grub (2:2.06-5 -> 2:2.06.r261.g2f4430cc0-1)
[2022-06-09T08:40:01+0200] [ALPM] upgraded libx11 (1.8-1 -> 1.8.1-1)
[2022-06-09T08:40:01+0200] [ALPM] upgraded qt5-base (5.15.4+kde+r146-1 -> 5.15.4+kde+r151-1)
[2022-06-09T08:40:01+0200] [ALPM] upgraded upower (0.99.18-1 -> 0.99.19-1)

After a reboot I couldn't login into any of my accounts anymore. I even created a fresh account in order to exclude any local account settings, which might interfere with any of the above libraries but it still didn't work. The login-manager lightdm is shown but after login the screen either goes black or XFCE's default background image is shown four times in the upper left, upper right, lower left and lower right corner of the screen. The mouse cursor is visible and responds to mouse movements but other than that the screen is "empty" (no icons, etc.). After looking through the above packages I decided that libx11 might be the cause and downgraded it:

[2022-06-09T09:02:35+0200] [ALPM] downgraded libx11 (1.8.1-1 -> 1.8-1)

After that the error disappeared. (I didn't try to downgrade the other suspect qt5-base.) Is this a known bug? Here's my system setup:

$ xrandr
Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 16384 x 16384
[..]
DP-2 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 607mm x 345mm
   3840x2160     60.00*+
[..]

I'm using Nvidia's proprietary driver.

$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
[..]
$ xfce4-about -V
xfce4-about 4.16.1 (Xfce 4.16)
[..]
$ pacman -Ss lightdm
[..]
extra/lightdm 1:1.30.0-4 [Installiert]
    A lightweight display manager
[..]
extra/lightdm-gtk-greeter 1:2.0.8-2 [Installiert]
    GTK+ greeter for LightDM
community/lightdm-gtk-greeter-settings 1.2.2-7 [Installiert]
    Settings editor for the LightDM GTK+ Greeter
[..]
$ cat /etc/environment 
#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#
GDK_DPI_SCALE=0.5
GDK_SCALE=2
QT_AUTO_SCREEN_SCALE_FACTOR=1

Offline

#2 2022-06-09 09:05:27

Csokis
Member
From: Hungary
Registered: 2018-12-27
Posts: 7

Re: Potential libx11 bug

Thank you for the solution! I had exactly the same problem on Desktop and Laptop! On desktop I have nvidia + XFCE, while on laptop I have Intel + XFCE. Both of these were solved by downgrading libx11 to an older version.

Last edited by Csokis (2022-06-09 09:06:14)


No one's the real thing. Some of us just have fewer lies to tell.
AMD Ryzen 7 5800X, 32GB RAM, GeForce RTX 3060 Ti, Arch Linux - Lutris+DXVK+Proton

Offline

#3 2022-06-09 09:05:34

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: Potential libx11 bug

Thanks, just rebooted and got your issue, I was looking at the pacman log and suspected libx11. (intel driver here)

Offline

#4 2022-06-09 09:38:50

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,566

Re: Potential libx11 bug

Offline

#5 2022-06-09 09:56:30

nsa
Member
Registered: 2022-06-09
Posts: 1

Re: Potential libx11 bug

Hi,

pfff, I struggled the whole morning with this... Had exactly the same issue.

To add a bit more, this was only happening when logging in on xfce. Since I'm using gdm I could try to login to gnome and that worked fine.

Last edited by nsa (2022-06-09 09:57:03)

Offline

#6 2022-06-09 10:31:35

Csokis
Member
From: Hungary
Registered: 2018-12-27
Posts: 7

Re: Potential libx11 bug

Yes, this is more than likely an XFCE bug! https://gitlab.freedesktop.org/xorg/lib … issues/157


No one's the real thing. Some of us just have fewer lies to tell.
AMD Ryzen 7 5800X, 32GB RAM, GeForce RTX 3060 Ti, Arch Linux - Lutris+DXVK+Proton

Offline

Board footer

Powered by FluxBB