#1027867 libgl1-mesa-dri: xorg segfaults at startup on fresh debian install

Package:
libgl1-mesa-dri
Source:
libgl1-mesa-dri
Description:
free implementation of the OpenGL API -- DRI modules
Submitter:
Robert
Date:
2023-01-29 11:54:02 UTC
Severity:
normal
#1027867#5
Date:
2023-01-04 09:58:11 UTC
From:
To:
Dear Maintainer,

I upgraded libgl1-mesa-dri to the version currently in testing (22.3.1-1
but problem exists in latest unstable version too, 22.3.2-1) and with
that came a new problem, xorg didn't start anymore.

The problem exists both after a bookworm upgrade (where the last upgrade
before this one was two weeks ago) and in a fresh install of the debian
bookworm alpha iso.  This bug report is sent from the fresh install.

I have tested upgrading the package to the version in unstable
(22.3.2-1) and I get the same problem.  I have tested downgrading to the
version in stable (20.3.5-1) and that fixes the problem (starting X then
works).

#1027867#20
Date:
2023-01-18 09:25:38 UTC
From:
To:
Can you check with 22.3.3-1 (now in testing) or 23.0.0~rc1-1 (in
experimental) if the issue is fixed or still not?

#1027867#25
Date:
2023-01-18 14:28:28 UTC
From:
To:
22.3.3-1 works here!

But the upstream bug is unanswered still: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8007.
And there's another guy who did the same to no avail. It's not fixed for everyone. If we want to fix it for all, why not just revert it globally now, until the cause has been found? Who knows how long that'll take.

The laptop I can personally test on is rather average. (intel UHD630, some unused nv card, nouveau is blacklisted for energy savings, and the busses removed via udev) If someone has an idea how to debug this that does not eat all day, I'd help possibly diff to find out why it works here, and not for him.


Side note: I received 2 mails, one triggered directly by you, another from being subscribed to the bug. The latter fails DKIM. If this is unintended, we might want to tell the postmaster.

January 18, 2023 10:25 AM, "Fabio Pedretti" <pedretti.fabio@gmail.com> wrote:

#1027867#30
Date:
2023-01-18 15:39:07 UTC
From:
To:
As I answered on gitlab I tried 22.3.3-1 with the same backtrace & error
logs.
I rolled back to 22.2.4-1.

Happy to help if I can.

Le mer. 18 janv. 2023 à 15:28, <
deb-bug.oluj0xj403ou050siy9dpk2z@qmail.sunbirdgrove.com> a écrit :

#1027867#35
Date:
2023-01-20 14:17:29 UTC
From:
To:
Can you also check with 23.0.0~rc1-1 in experimental?

Il giorno mer 18 gen 2023 alle ore 16:48 Cédric Nisio
<cedric.nisio@malt.com> ha scritto:

#1027867#40
Date:
2023-01-20 14:58:27 UTC
From:
To:
Same result with 23.0.0~rc1-1

Le ven. 20 janv. 2023 à 15:18, Fabio Pedretti <pedretti.fabio@gmail.com> a
écrit :

#1027867#45
Date:
2023-01-26 17:15:04 UTC
From:
To:
Hi,


I have the same segfault with a fresh install of Debian 12 installer.

Only checked XFCE and desktop env. No non-free drivers installed.

It segfaults Xorg. I attached the Xorg log and the installed packages list.

On a Lenovo Thinkpad P73.


Here is the backtrace:

[    23.616] (EE) Backtrace:
[    23.616] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139) [0x55d2d611fcc9]
[    23.617] (EE) 1: /lib/x86_64-linux-gnu/libc.so.6 (__sigaction+0x40) [0x7f620145af90]
[    23.617] (EE) 2: /usr/lib/x86_64-linux-gnu/dri/iris_dri.so (nouveau_drm_screen_create+0x4406c) [0x7f61ff75999c]
[    23.617] (EE) 3: /usr/lib/x86_64-linux-gnu/dri/iris_dri.so (nouveau_drm_screen_create+0x1e4c9) [0x7f61ff733df9]
[    23.617] (EE) 4: /usr/lib/x86_64-linux-gnu/dri/iris_dri.so (nouveau_drm_screen_create+0x266) [0x7f61ff715b96]
[    23.617] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    23.617] (EE) 5: /usr/lib/x86_64-linux-gnu/dri/iris_dri.so (?+0x0) [0x7f61feeaaf56]
[    23.617] (EE) 6: /usr/lib/x86_64-linux-gnu/dri/iris_dri.so (__driDriverGetExtensions_d3d12+0x60b284) [0x7f61ff4b67a4]
[    23.618] (EE) 7: /usr/lib/x86_64-linux-gnu/dri/iris_dri.so (__driDriverGetExtensions_d3d12+0x1a93) [0x7f61feeacfb3]
[    23.618] (EE) 8: /usr/lib/x86_64-linux-gnu/dri/iris_dri.so (__driDriverGetExtensions_d3d12+0xa175) [0x7f61feeb5695]
[    23.618] (EE) 9: /lib/x86_64-linux-gnu/libgbm.so.1 (gbm_format_get_name+0xf2e) [0x7f6200ac7eae]
[    23.618] (EE) 10: /lib/x86_64-linux-gnu/libgbm.so.1 (gbm_format_get_name+0x16f8) [0x7f6200ac8678]
[    23.618] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    23.618] (EE) 11: /lib/x86_64-linux-gnu/libgbm.so.1 (?+0x0) [0x7f6200ac674c]
[    23.619] (EE) 12: /lib/x86_64-linux-gnu/libgbm.so.1 (gbm_create_device+0x44) [0x7f6200ac6884]
[    23.619] (EE) 13: /usr/lib/xorg/modules/libglamoregl.so (glamor_egl_init+0x61) [0x7f6200aec3c1]
[    23.619] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    23.619] (EE) 14: /usr/lib/xorg/modules/drivers/modesetting_drv.so (?+0x0) [0x7f6200b2c733]
[    23.619] (EE) 15: /usr/lib/xorg/Xorg (InitOutput+0xa2a) [0x55d2d5fef57a]
[    23.619] (EE) 16: /usr/lib/xorg/Xorg (InitFonts+0x1ce) [0x55d2d5fb04de]
[    23.620] (EE) 17: /lib/x86_64-linux-gnu/libc.so.6 (__libc_init_first+0x8a) [0x7f620144618a]
[    23.620] (EE) 18: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x85) [0x7f6201446245]
[    23.620] (EE) 19: /usr/lib/xorg/Xorg (_start+0x21) [0x55d2d5f99b71]

#1027867#52
Date:
2023-01-26 18:34:09 UTC
From:
To:
As said on
https://gitlab.freedesktop.org/mesa/mesa/-/issues/8007#note_1727512

I also rolled back to 22.2.4-1 (just the package libgl1-mesa-dri) and it
works.

diff:

#1027867#57
Date:
2023-01-28 12:38:22 UTC
From:
To:
Same error with 23.0.0~rc1-1; log below.

Best,
наб

#1027867#62
Date:
2023-01-29 11:50:33 UTC
From:
To:
Since this also happens of Fedora, I think it's best to add every
additional info on the upstream report
https://gitlab.freedesktop.org/mesa/mesa/-/issues/8007 , also click on
the "thumbs up".

Il giorno sab 28 gen 2023 alle ore 13:38 наб
<nabijaczleweli@nabijaczleweli.xyz> ha scritto: