I tried to upgrade my mesa package to 7.9, upon rebooting I wasn't able to log into my KDE session, each time I typed my password the login prompt was displayed again after a short time and some flicker. This happened every reboot. I downgraded packages and narrowed the problem as part of the libgl 7.8.2 -> 7.9 upgrade.
The problem is still present with git version. I bisected the issue to the following commit :
Author: Dave Airlie <email@example.com>
Date: Sun May 23 22:10:04 2010 +1000
Archlinux PKGBULD, Xorg.0.log and commit attached.
My system run a HD5770 graphics card and swrast is used (I was trying to make the radeon driver to work when I came accross the issue) :
[thomas@sherwood ~]$ glxinfo | grep -i opengl
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.8.3
OpenGL shading language version string: 1.20
Created attachment 40234 [details]
Xorg.0.log that show the segfault.
Created attachment 40235 [details]
Archlinux PKGBULD (for configure options).
Created attachment 40236 [details]
Biesceted commit that cause the issue.
I tried to debug libgl during the kde's loading but I failed.
During my attempts I manage to load the kde desktop with the faulty version of libgl installed this way :
* boot in runlevel 3 (console)
* log in
* startkde in one of the xterms displayed
* you get a desktop but without the window decoration.
So my guess is that it's that the segfault occurs when Kwin is launched.
Same here. HD5770 512M, mesa 7.9, arch & kde. My logged backtrace looks like this:
0: /usr/bin/X (xorg_backtrace+0x28) [0x49f1a8]
1: /usr/bin/X (0x400000+0x60239) [0x460239]
2: /lib/libpthread.so.0 (0x7fe849b9a000+0xf1c0) [0x7fe849ba91c0]
3: /lib/libc.so.6 (memcpy+0x15b) [0x7fe848b80c9b]
4: /usr/lib/xorg/modules/libfb.so (fbBlt+0xf8) [0x7fe84625d0a8]
5: /usr/lib/xorg/modules/libfb.so (fbBltStip+0x40) [0x7fe84625de50]
6: /usr/lib/xorg/modules/libfb.so (fbGetImage+0x206) [0x7fe8462635a6]
7: /usr/bin/X (0x400000+0x155478) [0x555478]
8: /usr/lib/xorg/modules/libshadow.so (0x7fe846047000+0x1329) [0x7fe846048329]
9: /usr/lib/xorg/modules/extensions/libglx.so (0x7fe8479a6000+0x390ea) [0x7fe8479df0ea]
10: /usr/lib/xorg/modules/dri/swrast_dri.so (0x7fe84515a000+0x2527b) [0x7fe84517f27b]
11: /usr/lib/xorg/modules/extensions/libglx.so (0x7fe8479a6000+0x39088) [0x7fe8479df088]
12: /usr/lib/xorg/modules/extensions/libglx.so (0x7fe8479a6000+0x35cae) [0x7fe8479dbcae]
13: /usr/lib/xorg/modules/extensions/libglx.so (0x7fe8479a6000+0x36af2) [0x7fe8479dcaf2]
14: /usr/lib/xorg/modules/extensions/libglx.so (0x7fe8479a6000+0x38703) [0x7fe8479de703]
15: /usr/bin/X (0x400000+0x2d1b1) [0x42d1b1]
16: /usr/bin/X (0x400000+0x212ce) [0x4212ce]
17: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7fe848b1fc4d]
18: /usr/bin/X (0x400000+0x20e79) [0x420e79]
Segmentation fault at address (nil)
Disabling glx in xorg.conf allow environment to load.
llvmpipe should be used in place of swrast these days. Marking as won't fix.