Hello,

I recently replaced Ubuntu with Mageia 1 on my laptop. Now I'm seeing this odd issue where I run a full-screen OpenGL application, it behaves normally, but immediately after I exit the application X.org crashes, and KDM relaunches X and gives me a login screen.

I ran the same applications (the same build, even!) on this hardware under Ubuntu with no problem, so I'm guessing that there's a buggy driver somewhere in Mageia's X.org packages.

This appears to be the relevant section in Xorg.0.log where the video driver gets loaded:

[ 19466.329] (II) LoadModule: "intel"
[ 19466.330] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 19466.330] (II) Module intel: vendor="X.Org Foundation"
[ 19466.330]    compiled for 1.10.1, module version = 2.15.0
[ 19466.330]    Module class: X.Org Video Driver
[ 19466.330]    ABI class: X.Org Video Driver, version 10.0
[ 19466.330] (II) v4l driver for Video4Linux
[ 19466.330] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
        E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
        965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
        4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
        Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge,
        Sandybridge, Sandybridge
[ 19466.331] (++) using VT number 8

[ 19466.338] (WW) Falling back to old probe method for v4l
[ 19466.342] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 19466.343] drmOpenDevice: node name is /dev/dri/card0
[ 19466.343] drmOpenDevice: open result is 9, (OK)
[ 19466.343] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[ 19466.343] drmOpenDevice: node name is /dev/dri/card0
[ 19466.343] drmOpenDevice: open result is 9, (OK)
[ 19466.343] drmOpenByBusid: drmOpenMinor returns 9
[ 19466.343] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[ 19466.343] (**) intel(0): Depth 24, (--) framebuffer bpp 32
[ 19466.343] (==) intel(0): RGB weight 888
[ 19466.343] (==) intel(0): Default visual is TrueColor
[ 19466.343] (II) intel(0): Integrated Graphics Chipset: Intel(R) 965GM
[ 19466.343] (--) intel(0): Chipset: "965GM"
[ 19466.343] (**) intel(0): Relaxed fencing enabled
[ 19466.343] (**) intel(0): Framebuffer tiled
[ 19466.343] (**) intel(0): Pixmaps tiled
[ 19466.343] (**) intel(0): 3D buffers tiled
[ 19466.343] (**) intel(0): SwapBuffers wait enabled
[ 19466.343] (==) intel(0): video overlay key set to 0x101fe

... And this is what gets dumped to Xorg.0.log when the crash happens:

Backtrace:
[ 21390.820] 0: /etc/X11/X (xorg_backtrace+0x37) [0x80e9b77]
[ 21390.820] 1: /etc/X11/X (0x8048000+0x5e5fa) [0x80a65fa]
[ 21390.820] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xffffe410]
[ 21390.820] 3: /usr/lib/xorg/modules/extensions/libglx.so (0xb72b7000+0x36bbc) [0xb72edbbc]
[ 21390.820] 4: /etc/X11/X (FreeClientResources+0xf0) [0x808f230]
[ 21390.820] 5: /etc/X11/X (FreeAllResources+0x4c) [0x808f2ec]
[ 21390.820] 6: /etc/X11/X (0x8048000+0x1a6c1) [0x80626c1]
[ 21390.820] 7: /lib/i686/libc.so.6 (__libc_start_main+0xe6) [0xb7428ca6]
[ 21390.821] 8: /etc/X11/X (0x8048000+0x1a271) [0x8062271]
[ 21390.821] Segmentation fault at address 0x118b
[ 21390.821]
Fatal server error:
[ 21390.821] Caught signal 11 (Segmentation fault). Server aborting
[ 21390.821]
[ 21390.821]
Please consult the The X.Org Foundation support
         at http://bugs.mageia.org
 for help.
[ 21390.821] Please also check the log file at "/var/log/Xorg.0.log" for additional information.

Has anyone seen something similar to this? I suppose that the next step would be to dig through the X.org bug trackers to see if this correlates to any known issue.

Thanks for reading.

William Tracy
afishionado@gmail.com
Cell phone: (805) 704-0917
Internet phone: (707) 206-6441