LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   GL XScreensavers causing KDE crash (http://www.linuxquestions.org/questions/slackware-14/gl-xscreensavers-causing-kde-crash-871719/)

brixtoncalling 03-29-2011 10:17 AM

GL XScreensavers causing KDE crash
 
Hey,
After a recent update to Slack64 current, GL xscreensavers cause KDE to crash every single time they are run. The crash actually happens as the screensaver exits (ie it runs fine until a mouse or keyboard event, then crashes).

Here's the relevant Xorg output:
Code:

(EE) intel(0): [DRI2] DRI2SwapComplete: bad drawable

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x28) [0x4a02d8]
1: /usr/bin/X (0x400000+0x60fc9) [0x460fc9]
2: /lib64/libc.so.6 (0x7f9f0995d000+0x340b0) [0x7f9f099910b0]
3: /usr/lib64/xorg/modules/dri/i965_dri.so (0x7f9f077ed000+0x41ec0) [0x7f9f0782eec0]
4: /usr/lib64/xorg/modules/dri/i965_dri.so (0x7f9f077ed000+0x35ad1) [0x7f9f07822ad1]
5: /usr/lib64/xorg/modules/dri/i965_dri.so (0x7f9f077ed000+0x37c7a) [0x7f9f07824c7a]
6: /usr/lib64/xorg/modules/extensions/libglx.so (0x7f9f08ea0000+0x35d23) [0x7f9f08ed5d23]
7: /usr/lib64/xorg/modules/extensions/libglx.so (0x7f9f08ea0000+0x38463) [0x7f9f08ed8463]
8: /usr/bin/X (0x400000+0x2def1) [0x42def1]
9: /usr/bin/X (0x400000+0x21ffe) [0x421ffe]
10: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7f9f0997be5d]
11: /usr/bin/X (0x400000+0x21bb9) [0x421bb9]
Segmentation fault at address 0x40

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

As I said this is a fairly new problem. I think it started happening after a recent update (but not the most recent one), though it may just be I didn't notice it before because I hadn't run any GL screensavers.

I'm using the i915 Intel module.

Any ideas?

Alien Bob 03-29-2011 01:06 PM

KDE 4.5.5 (Slackware 13.37) or my own KDE 4.6.1 ?
I have the same issue, on i915 driver, with GL screensavers, but only in KDE 4.6.1 (I do not run 4.5.5)... I also tested the same screensavers in XFCE, but they are fine there.

Eric

brixtoncalling 03-29-2011 01:10 PM

Hi Eric,
This is under 4.5.5. I was actually thinking of upgrading to your 4.6.1 to see if it would solve the problem... evidently not!

I also tried another WM (i3) and GL screensavers work fine there.

Alien Bob 03-29-2011 01:13 PM

So it's probably the compositing desktop that has a bug with the Intel driver.

Eric

ponce 03-29-2011 01:15 PM

I'm having a good experience with my integrated intel chips, mesa in /testing and kernel 2.6.38.

it's just an idea, but you can try upgrading mesa to that and see if that fixes it.

Darth Vader 03-29-2011 01:21 PM

Quote:

Originally Posted by Alien Bob (Post 4307698)
So it's probably the compositing desktop that has a bug with the Intel driver.

Eric

Yep! I confirm! I hit the same bug in the past.

@OP. I suggest you to jump on 2.6.38.2 (new&better DRM) and to use Mesa 7.10.1, or, better, the GIT HEAD version.

brixtoncalling 03-29-2011 01:24 PM

I actually tried a 38.2 Kernel last night with no luck. When I get home I'll try a new Mesa as well.

Thanks all.

Alien Bob 03-29-2011 01:33 PM

The mesa in /testing made no difference to me here.

Eric

Darth Vader 03-29-2011 03:36 PM

Quote:

Originally Posted by Alien Bob (Post 4307712)
The mesa in /testing made no difference to me here.

Eric

Then, try to use the packages located here: http://ftp.darkstarlinux.ro/people/darth/MESA/

These zero-day packages, combined with 2.6.38.2 and your KDE-4.6.1 works fine for me, with a i915G / an G31 (embedded)-video. :D

If you are amazed about the MESA's package size, don't worry! It's true! It have 36,788KB. You just see the future of MESA, Gallium with all jingles & bells, including LLVM & Co. ;)

EDIT: I forgot to upload the source packages too. Now are there.

brixtoncalling 03-30-2011 08:45 AM

The Mesa in testing/ didn't work for me either. I'll take a look at Vader's next.

Darth Vader 03-30-2011 09:29 AM

Quote:

Originally Posted by brixtoncalling (Post 4308425)
I'll take a look at Vader's next.

Then, you want something fresh, right? ;)

There is the today build from Git HEAD. Remember to install/upgrade all these packages. :)

http://ftp.darkstarlinux.ro/slackware/xdrivers/


All times are GMT -5. The time now is 08:17 AM.