Bug 17766 - [865G] X Server crash in i915_dri.so on enabling desktop effects in KDE4
Summary: [865G] X Server crash in i915_dri.so on enabling desktop effects in KDE4
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: haihao
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-25 02:37 UTC by René Krell
Modified: 2009-08-24 12:30 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log.old - the zipped X server log containing the crashed session (13.20 KB, application/x-gzip)
2008-09-25 02:37 UTC, René Krell
Details
~/.xsession-errors of the crashed session (9.25 KB, text/plain)
2008-09-25 02:38 UTC, René Krell
Details
The output of the 'glxinfo' command (3.94 KB, text/plain)
2008-09-25 02:39 UTC, René Krell
Details
xorg.conf for the crashed session (6.22 KB, text/plain)
2008-09-25 02:42 UTC, René Krell
Details
Xorg.0.log.old - the zipped X server log containing the crashed session (using EXA) (6.31 KB, application/x-gzip)
2008-09-25 06:49 UTC, René Krell
Details
xorg.conf for the crashed session (using EXA) (6.22 KB, text/plain)
2008-09-25 06:51 UTC, René Krell
Details
xorg.conf for the crashed session (using EXA, now the right one, sorry) (6.22 KB, text/plain)
2008-09-25 06:53 UTC, René Krell
Details
The output of 'lspci' of the according hardware (1.26 KB, text/plain)
2008-10-08 00:50 UTC, René Krell
Details
Xorg configuration and logs of the crashed session (7.32 KB, application/x-compressed-tar)
2008-10-20 01:04 UTC, René Krell
Details
Backtrace of crash (9.45 KB, text/plain)
2008-10-20 11:24 UTC, Chris Coulson
Details

Description René Krell 2008-09-25 02:37:02 UTC
Created attachment 19183 [details]
Xorg.0.log.old - the zipped X server log containing the crashed session

Hi,
enabling KDE4 desktop effects crash my X server based on Intel video drivers.

After applying the setting "Enable desktop effects" from the systemsettings
tool Xorg crashes and returns me to the KDM logon. After that, logon does no
longer work, Xorg crashes immediately again. After disabling the above setting launching systemsettings from another window manager, as twm, and restarting KDE 4.1.1+, all works as before, without desktop effects.

Hardware:
- Intel 865 G

I use the latest OpenSUSE 11.0 (x86) repositories for:
- X.org - xorg 7.4 (with XAA acceleration), Intel video driver 2.4.97, Mesa 7.2 final
- Qt - Qt 4.4.2
- KDE 4 stable desktop

Let me know if I forgot something to tell here.
Is this subject to the XAA acceleration, which you don't support any longer?
Comment 1 René Krell 2008-09-25 02:38:25 UTC
Created attachment 19184 [details]
~/.xsession-errors of the crashed session
Comment 2 René Krell 2008-09-25 02:39:08 UTC
Created attachment 19185 [details]
The output of the 'glxinfo' command
Comment 3 René Krell 2008-09-25 02:42:58 UTC
Created attachment 19186 [details]
xorg.conf for the crashed session
Comment 4 Gordon Jin 2008-09-25 04:28:29 UTC
Yes, we only support EXA. So please use EXA (though it may not help in this case) by removing below line in xorg.conf:
  Option       "AccelMethod" "XAA"

Comment 5 René Krell 2008-09-25 06:49:49 UTC
Created attachment 19192 [details]
Xorg.0.log.old - the zipped X server log containing the crashed session (using EXA)

Ok, I repeated this with the EXA acceleration, commenting out the XAA line in xorg.conf. The behaviour is the same, the Xorg Server crashes. The backtrace can be seen in the latest Xorg.0.log.old.
Comment 6 René Krell 2008-09-25 06:51:12 UTC
Created attachment 19193 [details]
xorg.conf for the crashed session (using EXA)
Comment 7 René Krell 2008-09-25 06:53:41 UTC
Created attachment 19194 [details]
xorg.conf for the crashed session (using EXA, now the right one, sorry)
Comment 8 haihao 2008-10-07 20:07:12 UTC
What is 'KDE4 desktop effects'?  Compiz?
Comment 9 René Krell 2008-10-08 00:13:14 UTC
(In reply to comment #8)
> What is 'KDE4 desktop effects'?  Compiz?

No, but it's built-in into the KWin windows manager - KWin Composite.
It offers similar features as Compiz like window transparency, transition effects (windows can zoom open or closed, or explode as you minimize them, etc.). See http://www.kde.org/announcements/4.0/desktop.php - Section "KWin - The KDE window manager" - "Desktop Effects".
Comment 10 René Krell 2008-10-08 00:44:09 UTC
Initially, I reported this to KDE, see: http://bugs.kde.org/show_bug.cgi?id=171641

Another fact:
On another hardware (Asus P5B, Intel Core 2 Duo E6300, NVidia GeForce 7 with native NVidia drivers), this feature works absolutely stable and performant.
Comment 11 René Krell 2008-10-08 00:50:06 UTC
Created attachment 19481 [details]
The output of 'lspci' of the according hardware
Comment 12 René Krell 2008-10-20 01:04:35 UTC
Created attachment 19755 [details]
Xorg configuration and logs of the crashed session

Nothing new even with the latest precompiled drivers for OpenSUSE 11.0:
- libdrm 2.4.0
---
Sun 19 Oct 2008 02:00:00 PM CEST
sndirsch@suse.de
- libdrm 2.4.0 finally available
---

- xf86-video-intel 2.4.98
Changelog:
---
Sun 19 Oct 2008 02:00:00 PM CEST
sndirsch@suse.de
- xf86-video-intel 2.4.98
  * smoke test for 2.5.0 release planned for Mon Oct 20
- obsoletes xf86-video-intel-vbe_noinit.diff
- obsoletes xf86-video-intel-crt-mode-fix.diff
---

For configuration and backtrace see attachment.
Comment 13 Chris Coulson 2008-10-20 11:24:19 UTC
Created attachment 19766 [details]
Backtrace of crash

This is a fully symbolic backtrace of the crash, from https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/277709, courtesy of tschenser
Comment 14 haihao 2008-10-20 19:44:17 UTC
The crash issue is fixed in mesa (master: b4bf9acc32ac8693b1fdf80f351523a468ba6bd1, mesa_7_2_branch:48c29b60a899877c76d643b9cd06d5277cd97b9c). But it always gets a black screen.  And it also gets a black screen with VESA video driver.
Comment 15 René Krell 2008-10-31 03:36:22 UTC
(In reply to comment #14)
> The crash issue is fixed in mesa (master:
> b4bf9acc32ac8693b1fdf80f351523a468ba6bd1,
> mesa_7_2_branch:48c29b60a899877c76d643b9cd06d5277cd97b9c). But it always gets a
> black screen.  And it also gets a black screen with VESA video driver.
> 

@sndirsch: Stefan, is the fix mentioned above already included in the latest Xorg repository for OpenSUSE 11.0? If not, would you mind to include it so that I can verify whether this fixes the reported problem, please? Thank you
Comment 16 Stefan Dirsch 2008-10-31 04:20:37 UTC
Thanks, René. I'll apply the patch to our Mesa package. The 'always gets a black screen' for any OpenGL application (Intel 855/865) is still remaining. It's tracked in Bug #17963.
Comment 17 René Krell 2008-11-04 03:46:01 UTC
@Stefan: Thanks, I checked it.

In fact, that was the mentioned patch fixed this crash for me in OpenSUSE 11.0. 

BTW: Instead of the crash, I get now the
"Failed to activate desktop effects using the given configuration options. Settings will be reverted to their previous values.

Check your X configuration. You may also consider changing advanced options, especially changing the compositing type."
message from the KDE4 systemsettings tool. I still don't know why, because in the xorg.conf there seems to be compositing enabled, but that's another issue, not to be discussed in this thread.

Thanks for the feedback and the fix.
Comment 18 Adam Jackson 2009-08-24 12:30:53 UTC
Mass version move, cvs -> git


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.