LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-16-2010, 12:03 AM   #1
zvzi
Member
 
Registered: Aug 2003
Location: Malaysia
Distribution: slackware
Posts: 71

Rep: Reputation: 17
random x crashes (with kwin + compositing)


x has been crashing at random with kwin+compositing since i updated to current (the major X updates, nov 14). everytime it does i get this message:

[drm] Num pipes: 1
[drm] Setting GART location based on new memory map
[drm] Loading R500 Microcode
[drm] Num pipes: 1
[drm] writeback test succeeded in 1 usecs

seems that the gpu resets itself. only solutions that work right now is either turning off compositing or using kms.

i've tried recompiling libdrm/mesa/xorg-video-ati, using a fresh .kde folder, mesa 7.8.1/7.8.2 and the problem still persists. am running out of ideas and wondering if anyone else is having the same issues..

thanks
 
Old 12-16-2010, 12:14 AM   #2
kurtwall
LQ Newbie
 
Registered: Dec 2010
Location: In an apartment
Distribution: Slackware 13.1
Posts: 12

Rep: Reputation: 1
If you roll back, does the problem persist?
 
Old 12-16-2010, 01:23 AM   #3
zvzi
Member
 
Registered: Aug 2003
Location: Malaysia
Distribution: slackware
Posts: 71

Original Poster
Rep: Reputation: 17
is there a way or feature to roll back to certain dates? or do i have to roll back on each package individually?
 
Old 12-16-2010, 04:24 AM   #4
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
The output you posted is completely normal. It happens when you switch between X and the console. Have you taken a look in your /var/log/Xorg.0.log file to see what it says about the crashes?

Adam
 
Old 12-16-2010, 07:05 AM   #5
zvzi
Member
 
Registered: Aug 2003
Location: Malaysia
Distribution: slackware
Posts: 71

Original Poster
Rep: Reputation: 17
i thought that the messages were normal before this, but that's the only logs i can trace everytime kde crashes back to the login screen. kde starts up fine and Xorg.0.log looks normal but i'll have a look again at the next crash.
 
Old 12-16-2010, 07:49 AM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Try this:
Code:
sed -i s/OpenGLIsUnsafe=false/OpenGLIsUnsafe=true/ ~/.kde/share/config/kwinrc
and please give us a feedback.

HTH,

Last edited by Didier Spaier; 12-16-2010 at 07:50 AM.
 
Old 12-17-2010, 08:48 AM   #7
zvzi
Member
 
Registered: Aug 2003
Location: Malaysia
Distribution: slackware
Posts: 71

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by Didier Spaier View Post
Try this:
Code:
sed -i s/OpenGLIsUnsafe=false/OpenGLIsUnsafe=true/ ~/.kde/share/config/kwinrc
and please give us a feedback.

HTH,
i typed in the command but there wasn't any output. i'm not familiar with the sed command but i understand that changes the 'OpenGLIsUnsafe=false' to true right? KDE had changed the config to 'true' before and i had to manually change it to 'false' to enable desktop effects, otherwise it won't allow the effects to be enabled. i've never had any issues with this particular configuration before this.

Last edited by zvzi; 12-17-2010 at 08:58 AM.
 
Old 12-17-2010, 05:35 PM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by zvzi View Post
i typed in the command but there wasn't any output. i'm not familiar with the sed command but i understand that changes the 'OpenGLIsUnsafe=false' to true right?
Right. sed doesn't output anything but in case of an error (and in you case the command did nothing as you already had 'OpenGLIsUnsafe=true')
Quote:
KDE had changed the config to 'true' before and i had to manually change it to 'false' to enable desktop effects, otherwise it won't allow the effects to be enabled. I've never had any issues with this particular configuration before this.
What puzzles me is that here (Slackware-current as well) if I remove ~/.kde and then launch KDE I find 'OpenGLIsUnsafe=false' in kwinrc
I have a nVidia GPU, not an Ati one , could that be the cause of this different KDE's behavior ???

In my case KDE crashes at startup with either 'nv' or 'vesa' X drivers, it only startx correctly with the 'nouveau' X driver, unless I set 'OpenGLIsUnsafe=true'. But again, I have a nVidia GPU.

Last edited by Didier Spaier; 12-17-2010 at 05:36 PM.
 
Old 12-18-2010, 01:45 AM   #9
zvzi
Member
 
Registered: Aug 2003
Location: Malaysia
Distribution: slackware
Posts: 71

Original Poster
Rep: Reputation: 17
a copy of Xorg.0.log after the crash
Attached Files
File Type: log Xorg.0.log (52.7 KB, 7 views)
 
Old 12-18-2010, 01:56 AM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
I don't see anything wrong here. Are you sure these data were output after the crash, not at X startup ? ...May be you have something interesting in /var/log/messages or /var/log/syslog ?
 
Old 12-18-2010, 02:06 AM   #11
zvzi
Member
 
Registered: Aug 2003
Location: Malaysia
Distribution: slackware
Posts: 71

Original Poster
Rep: Reputation: 17
i think it looks fine because x crashes back to the login screen..i'll change to init 3 and post another logfile
 
Old 12-18-2010, 06:57 AM   #12
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Perhaps it's not X that is crashing, but KDE itself. Check ~/.xsession-errors

Adam
 
Old 12-19-2010, 03:38 PM   #13
zvzi
Member
 
Registered: Aug 2003
Location: Malaysia
Distribution: slackware
Posts: 71

Original Poster
Rep: Reputation: 17
started kde in init 3 and reproduced the crash..this copy of Xorg.0.log contains the errors.
Attached Files
File Type: log Xorg.0.log (185.7 KB, 12 views)

Last edited by zvzi; 12-19-2010 at 03:43 PM.
 
Old 12-19-2010, 03:41 PM   #14
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Perhaps try enabling KMS.

Adam
 
Old 12-19-2010, 03:50 PM   #15
zvzi
Member
 
Registered: Aug 2003
Location: Malaysia
Distribution: slackware
Posts: 71

Original Poster
Rep: Reputation: 17
i can confirm that enabling KMS solves the problem. only reason i'm hesitant to use KMS is because of some flickering issues. i was wondering if the problem lies in xorg 1.9.2 and if it's safe to revert to the 1.7.7
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kwin compositing resizing slow Mr Marmmalade Linux - Desktop 4 12-16-2010 02:00 PM
The [siren]compositing[/siren] window manager wars: Compiz vs. Mutter vs. Kwin vs. Xfwm Kenny_Strawn Linux - Desktop 15 11-03-2010 09:44 AM
KWin crashes way too often apachedude SUSE / openSUSE 6 04-20-2006 05:40 PM
Swing application crashes kwin Clemente Programming 0 02-21-2006 08:50 AM
random crashes byte.chaser Debian 34 07-01-2005 11:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration