Bug 515633

Summary: Intel GM965/GL960 OpenGL compositing: X server segfaults
Product: [Fedora] Fedora Reporter: Benedikt Gollatz <benedikt>
Component: xorg-x11-drv-intelAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 11CC: ajax, bnocera, james, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-09 14:58:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Benedikt Gollatz 2009-08-05 04:28:46 UTC
Description of problem:

When enabling OpenGL desktop effects in KDE on my machine with an Intel GM965 graphics adapter, the X server SIGSEGVs. The restarted X server shows a garbled screen after login (when kwin starts).

Version-Release number of selected component (if applicable):

kernel-2.6.29.6-213.fc11.i586
mesa-dri-drivers-7.6-0.1.fc11.i586
mesa-libGL-7.6-0.1.fc11.i586
mesa-libGLU-7.6-0.1.fc11.i586
xorg-x11-server-Xorg-1.6.1.901-1.fc11.i586
xorg-x11-server-common-1.6.1.901-1.fc11.i586

How reproducible:

Always.

Steps to Reproduce:
1. Run systemsettings (KDE4).
2. Click "Desktop effects".
3. Click on the "Advanced" tab and make sure that "OpenGL" is selected as "Compositing type".
4. On the "General tab", select "Enable desktop effects".
5. Click "Apply".
  
Actual results:

The X server crashes and leaves this in its logfile:

Backtrace:
0: /usr/bin/X(xorg_backtrace+0x3b) [0x812d07b]
1: /usr/bin/X(xf86SigHandler+0x9e) [0x80c061e]
2: [0x197400]
3: /usr/lib/dri/i965_dri.so(intelDestroyContext+0x139) [0x44b309]
4: /usr/lib/dri/i965_dri.so [0x443a66]
5: /usr/lib/xorg/modules/extensions//libglx.so [0x26be19]
6: /usr/lib/xorg/modules/extensions//libglx.so(__glXFreeContext+0x91) [0x260ff1]
7: /usr/lib/xorg/modules/extensions//libglx.so [0x25ebeb]
8: /usr/lib/xorg/modules/extensions//libglx.so [0x25ee05]
9: /usr/lib/xorg/modules/extensions//libglx.so [0x261340]
10: /usr/bin/X(Dispatch+0x347) [0x80864d7]
11: /usr/bin/X(main+0x395) [0x806baf5]
12: /lib/libc.so.6(__libc_start_main+0xe6) [0x66aa66]
13: /usr/bin/X [0x806afa1]

Fatal server error:
Caught signal 11.  Server aborting

When logging in again, the screen is garbled, but desktop effects seem to work (windows become transparent when you move them, although it's not that easy to see with the garbled screen).

Expected results:

Compositing should work.

Additional info:

* OpenGL desktop effects worked in Fedora 10 (but I experienced bug #486695).
* Sometimes parts of the screen appear garbled also when not using desktop effects, e.g. when pulling up certain Qt applications.

Comment 1 James 2009-08-16 21:31:57 UTC
I'm seeing this after the upgrade to mesa-7.6:

Backtrace:
0: /usr/bin/Xorg(xorg_backtrace+0x26) [0x4e8c86]
1: /usr/bin/Xorg(xf86SigHandler+0x6f) [0x47d9df]
2: /lib64/libc.so.6 [0x3ebdc33370]
3: /usr/lib64/dri/i965_dri.so(intelDestroyContext+0x116) [0x7fa4da73a0a2]
4: /usr/lib64/dri/i965_dri.so [0x7fa4da732886]
5: /usr/lib64/xorg/modules/extensions//libglx.so [0x7fa4dbf06d79]
6: /usr/lib64/xorg/modules/extensions//libglx.so(__glXFreeContext+0x6c) [0x7fa4dbefc74c]
7: /usr/lib64/xorg/modules/extensions//libglx.so [0x7fa4dbefcacb]
8: /usr/bin/Xorg(CallCallbacks+0x4c) [0x44b5bc]
9: /usr/bin/Xorg(CloseDownClient+0x58) [0x441e68]
10: /usr/bin/Xorg(Dispatch+0x210) [0x446fa0]
11: /usr/bin/Xorg(main+0x3b5) [0x42d145]
12: /lib64/libc.so.6(__libc_start_main+0xfd) [0x3ebdc1ea2d]
13: /usr/bin/Xorg [0x42c5c9]

Fatal server error:
Caught signal 11.  Server aborting

Xorg segfaults immediately after I log in. I'm using compiz.

xorg-x11-drv-intel-2.7.0-7.fc11.x86_64
kernel-2.6.30.5-28.rc2.fc11.x86_64
mesa-dri-drivers-7.6-0.1.fc11.i586

Comment 2 James 2009-08-17 22:01:55 UTC
In fact, could this be a dupe of bug #512693?

Comment 3 Vedran Miletić 2009-09-06 07:27:22 UTC
In Fedora 11 package is named xorg-x11-drv-intel. Changing bugs apropriately.

Comment 4 Bastien Nocera 2009-09-09 14:58:27 UTC

*** This bug has been marked as a duplicate of bug 512693 ***