Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 852194

Summary: x11-misc/wdm-1.28-r8 does not work anymore since update of boost, gtk and some other libraries recently
Product: Gentoo Linux Reporter: Klaus Ethgen <Klaus+gentoo>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=862115
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Photo of login dialog
Photo of password dialog

Description Klaus Ethgen 2022-06-15 16:30:02 UTC
Since the recent update of notable dev-libs/boost-1.79.0 and x11-libs/gtk+-3.24.34, wdm does not display proper login dialog. And typed username gets displayed somehow random but login still works.

I have no idea, what did trigger that but I suspect boost as it was the most prominent updated package in the dependencies.

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-16 16:07:12 UTC
Will need you to try narrow down which of its dependencies got upgraded and which are related. Interestingly it doesn't epend on Boost or GTK+ directly.
Comment 2 Klaus Ethgen 2022-06-16 16:16:27 UTC
That was only a wild guess as I have no idea how to find the dependency that breaks wdm.
Comment 3 Klaus Ethgen 2022-06-17 12:15:52 UTC
Created attachment 785954 [details]
Photo of login dialog

I made two photos of the login dialog. The first is the login with my username (klaus) already typed in. (Note that only the characters k and a are displayed while l u and s are not displayed. Also note that the whole window is missing.)
Comment 4 Klaus Ethgen 2022-06-17 12:16:46 UTC
Created attachment 785957 [details]
Photo of password dialog

This is the second photo showing the password dialog.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-30 08:03:24 UTC
I have no immediate ideas but some notes:
1. Debian has some patches (none look strictly related though and I've not compared this to our list): https://sources.debian.org/patches/wdm/1.28-26/

2. None of the direct deps have been touched recently except for libxcrypt.

 (In reply to Sam James from comment #1)
> Will need you to try narrow down which of its dependencies got upgraded and
> which are related. Interestingly it doesn't epend on Boost or GTK+ directly.

Using 'qlop' may help to do this.
Comment 6 Klaus Ethgen 2022-07-30 08:08:52 UTC
The libxcrypt history of my system is:
     Tue Nov  2 21:17:20 2021 >>> sys-libs/libxcrypt-4.4.25
     Sat Nov 20 13:52:18 2021 >>> sys-libs/libxcrypt-4.4.25-r1
     Tue Feb 22 11:20:35 2022 >>> sys-libs/libxcrypt-4.4.27
     Thu Jul 21 19:28:44 2022 >>> sys-libs/libxcrypt-4.4.28-r1

So not upgraded around the time when wdm starts to fail.
Comment 7 Klaus Ethgen 2022-07-30 08:09:15 UTC
And what is qlop?
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-30 08:14:12 UTC
(In reply to Klaus Ethgen from comment #7)
> And what is qlop?

It's a tool which shows which packages were installed/uninstalled/etc by parsing /var/log/emerge.log. It can show which emerge actions occurred between dates and such.

It is provided by portage-utils.
Comment 9 Klaus Ethgen 2022-07-30 08:20:52 UTC
As I update my system regulary, that makes 656 packages in one month only. And 571 on Jun 11. (Ok, mostly perl, haskell and virtuals)

Grepping for x11 gives the following:
2022-06-11T13:22:42 >>> x11-base/xorg-proto: 20s
2022-06-11T13:25:51 >>> x11-libs/libdrm: 22s
2022-06-11T13:26:33 >>> x11-misc/compose-tables: 21s
2022-06-11T13:28:18 >>> x11-libs/libX11: 20s
2022-06-11T13:28:38 >>> x11-libs/libXcursor: 20s
2022-06-11T13:33:45 >>> x11-misc/xkeyboard-config: 22s
2022-06-11T13:36:33 >>> x11-apps/iceauth: 22s
2022-06-11T19:58:03 >>> dev-qt/qtx11extras: 20s
Comment 10 Klaus Ethgen 2023-04-05 07:54:28 UTC
I found the source of this bug.

For some reason, the combination of updates of some X components and changes in kernel was the source for this bug.

The solution ist:
cat /etc/X11/xorg.conf.d/20-bugfix.conf
Section "Device"
    Identifier  "Intel Graphics"
    Driver      "intel"
    Option      "Accel" "false"
EndSection