FS#20596 - [intel-dri] xserver crashes with kde composition on intel gpu

Attached to Project: Arch Linux
Opened by Lars Jacob (jaclar) - Wednesday, 25 August 2010, 02:20 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 01 September 2010, 14:07 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No

Details

Description:
I just installed the new xorg-server and after a restart it keeps crashing on me while i enable composition in kde.

Additional info:
xorg-server 1.9.0-1
xf86-video-intel 2.12.0-2
kde version: 4.5

.xsession-errors from KDE start attached


Steps to reproduce:
Log into KDE with composition enabled.
Or enable composition.
This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 01 September 2010, 14:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed by disabling pageflipping again.
Comment by guillem serra (gserra) - Wednesday, 25 August 2010, 10:07 GMT
Similar problem but with nvidia after kde update. Disabling composite and acpid connection solves the problem for me. I use two 1440x900 screens.

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "True"
Option "AllowGLXWithComposite" "False"
Option "AddARGBGLXVisuals" "False"
Option "ConnectToAcpid" "False"
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1440x900@60"
EndSubSection
EndSection
Comment by guillem serra (gserra) - Wednesday, 25 August 2010, 10:34 GMT
It is only needed to have Option "AddARGBGLXVisuals" on "False".

I am using:
-Nvidia driver version 173.14.27. (Nvidia GeForece FX 5500)
- X server version 1.8.1.902
- Two displays 1440x900 resolution.
- 686 system instead of x86-64.

When "AddARGBGLXVisuals" is on "True" both screens are flashing, changing the size of the items all the time. If you do not move the problem does not display.

Need more information or logs?
Comment by smc (epicanis) - Wednesday, 25 August 2010, 21:00 GMT
Same situation here (Intel i915 video on a EeePC 901). Xorg log showed X segfaulting:

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x3b) [0x80e685b]
1: /usr/bin/X (0x8048000+0x64895) [0x80ac895]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0x6f80f40c]
3: /usr/lib/xorg/modules/extensions/libglx.so (0x6f414000+0x4258c) [0x6f45658c]
4: /usr/lib/xorg/modules/extensions/libdri2.so (0x6f405000+0x1265) [0x6f406265]
5: /usr/lib/xorg/modules/extensions/libdri2.so (DRI2SwapBuffers+0x2f4) [0x6f407634]
6: /usr/lib/xorg/modules/extensions/libdri2.so (0x6f405000+0x3997) [0x6f408997]
7: /usr/bin/X (0x8048000+0x23e57) [0x806be57]
8: /usr/bin/X (0x8048000+0x1a135) [0x8062135]
9: /lib/libc.so.6 (__libc_start_main+0xe6) [0x6f540c76]
10: /usr/bin/X (0x8048000+0x19d11) [0x8061d11]
Segmentation fault at address 0x16d49

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting

Don't know if that helps or not, but there it is...
Comment by Marc Cousin (cousinm) - Thursday, 26 August 2010, 07:05 GMT
Exact same backtrace here (compositing enabled too). Going back to 1.8 solved it.
Comment by Jan de Groot (JGC) - Thursday, 26 August 2010, 07:24 GMT Comment by Jan de Groot (JGC) - Thursday, 26 August 2010, 07:52 GMT
The patch from that bugreport has been added to mesa 7.8.2-3. Please test.
Comment by Marc Cousin (cousinm) - Thursday, 26 August 2010, 08:07 GMT
I applied the patch myself a few minutes ago (not tried to build 7.8.2-3). X doesn't crash anymore, but display is extremely corrupted.

Will try mesa 7.8.2-3 as soon as I have the opportunity.
Comment by Marc Cousin (cousinm) - Thursday, 26 August 2010, 08:11 GMT
Exactly the same with mesa 7.8.2-3 : xorg doesn't crash anymore, but is blinking like crazy, and totally unusable. The output is corrupted.
Comment by Jan de Groot (JGC) - Thursday, 26 August 2010, 16:37 GMT
I don't know if the flickering is a bug in the intel driver, xorg-server or KDE, but I've already seen a bugreporting mentioning flickering with one of the nvidia-legacy drivers (17x) and xorg-server from extra, so I assume KDE is using something that is not supported by either driver.
Comment by Marc Cousin (cousinm) - Thursday, 26 August 2010, 17:16 GMT
It's not a simple flickering, it's complete corruption. Everything is messed up. Maybe blinking is not the right term.
Comment by Lars Jacob (jaclar) - Friday, 27 August 2010, 20:03 GMT
exactly... no crashes anymore, but totally unuseable.
I also noticed recently update problems in firefox (only half the page scrolls, etc) but this was already with earlier versions of intel-dri but looks similar and might be related... don't know...
Comment by Lars Jacob (jaclar) - Friday, 27 August 2010, 23:05 GMT
well the good news: composition works for me again
bad news: it's fixed in the git repositories from mesa (AUR package mesa-git (7.9-devel))
Comment by Matthias Dienstbier (fs4000) - Tuesday, 31 August 2010, 22:07 GMT
I'm using xf86-video-intel-git, intel-dri-git, libgl-git and mesa-git now. There are no crashes and no screen corruption, but the blur effect doesn't work anymore. All blurred background is rendered black.
Comment by Matthias Dienstbier (fs4000) - Wednesday, 01 September 2010, 13:54 GMT
With xf86-video-intel 2.12.0-3 everything is fine again, but slower than with the git packages.

Loading...