LinuxQuestions.org
Register a domain and help support LQ
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 02-25-2012, 03:08 PM   #1
pdags
LQ Newbie
 
Registered: Mar 2011
Posts: 6

Rep: Reputation: 0
Slackware-current x86_64: kwin crashes with radeon, no window decorations or panel


Hi,

I have a Radeon HD 6870. Since upgrading to slackware-current with kernel 3.2.2 I've been unable to get KDE to start correctly. XFCE works just fine. I'm pretty sure everything was working properly with the 2.6.38.7 kernel, but I honestly can't remember if that's the version I was on before updating.

When I run startx, KDE appears to start, but then no panel is displayed and any applications I start are missing the window decorations and cannot be moved. Starting an alternative window manager (like xfwm4) or switching compositing to XRender lets me use KDE, but I'd still like to know what's actually wrong.

I've tried compiling newer kernels (up to 3.3.0-rc4) and no love. I tried recompiling the 3.2.2 kernel with the missing firmware for evergreen cards referenced on X.org but still no luck. I don't think I'm getting that far anyway.

Here's the output from trying to run kwin in a console:

Code:
kwin(14747) KWin::CompositingPrefs::detectDriverAndVersion: GL vendor is "Advanced Micro Devices, Inc." 
kwin(14747) KWin::CompositingPrefs::detectDriverAndVersion: GL renderer is "Mesa DRI R600 (BARTS 6738) 20090101  TCL DRI2" 
kwin(14747) KWin::CompositingPrefs::detectDriverAndVersion: GL version is "2.1 Mesa 7.10.2" 
kwin(14747) KWin::CompositingPrefs::detectDriverAndVersion: Detected driver "radeon" , version "20090101" 
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.
I'm assuming this is related from dmesg:
Code:
[  615.527078] [drm:evergreen_cs_packet_next_reloc] *ERROR* No packet3 for relocation for packet at 275.
[  615.527082] radeon 0000:08:00.0: bad SET_CONTEXT_REG 0x28C74
[  615.527084] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
I'm hoping I've missed something obvious, so all suggestions are greatly appreciated!

Thanks,
Pierce
 
Old 02-26-2012, 03:57 AM   #2
sberthelot
LQ Newbie
 
Registered: Feb 2012
Location: France
Distribution: Slackware
Posts: 9

Rep: Reputation: Disabled
Unhappy

Hi,

I have the same problem with a Radeon HD 6450 (R600).
For now I have switched kde from OpenGL to Xrender and it works (though it should use less to no hardware acceleration)

kwin sends packets with less parameters than expected to the kernel, I wonder whether it actually uses libdrm or something similar for that.
What version of kde are you using ?

If you can get a shell you may switch settings using :
Code:
kcmshell4 kwincompositing
Launching kwin again made it work for me. Maybe you can get more debug attaching it to gdb or similar. The backtrace may show what lib is involved if not kwin directly (I suspect libdrm 2.4.25 to be too old for kernel 3.2.x)

If I have some time soon I'll try Unofficial Mesa 7.11 slackbuild for Slackware with Gallium3D activated for R600

I'm interested in feedback if you find the component involved (apart from the kernel )
 
1 members found this post helpful.
Old 02-26-2012, 06:05 AM   #3
sberthelot
LQ Newbie
 
Registered: Feb 2012
Location: France
Distribution: Slackware
Posts: 9

Rep: Reputation: Disabled
Thumbs up

Ok I managed to get it to work (and also get better performance it seems) using Mesa 7.11.2 and the slackbuild on the link above.
Note that I had to build/install llvm also (as stated in the post)

OpenGL is working for me on Caicos (R600 - Radeon HD6450) using Gallium 0.4 (Mesa 7.11.2).
I hope Pat is going to integrate the new version of Mesa, at least in "testing" on -current soon ...
 
Old 02-26-2012, 09:32 AM   #4
pdags
LQ Newbie
 
Registered: Mar 2011
Posts: 6

Original Poster
Rep: Reputation: 0
That seems to have solved it for me too. Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] xfce crashed and won't restart after window decorations theme change. Slackware 13.1 Holering Slackware 1 09-27-2010 06:37 PM
proprietary nvidia driver crashes slackware 13 x86_64 fancylad Slackware 15 01-24-2010 02:04 PM
Have you been running slackware-current for the first time for x86_64? If so . . . foodown Slackware 19 08-20-2009 12:06 AM
Slackware-current (x86_64) Xorg crash chaosorama Slackware 3 08-01-2009 02:09 AM
KWin crashes way too often apachedude Suse/Novell 6 04-20-2006 05:40 PM


All times are GMT -5. The time now is 06:16 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration