Bug 253969 - Kwin hangs when I apply new configuration
Summary: Kwin hangs when I apply new configuration
Status: RESOLVED DUPLICATE of bug 241402
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.3.2
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-12 14:06 UTC by msnkipa
Modified: 2010-10-13 11:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description msnkipa 2010-10-12 14:06:23 UTC
Version:           4.3.2 (using KDE 4.5.2) 
OS:                Linux

When I change configuration: fonts, desktop effects etc and apply my changes kwin hangs. If I kill kwin and start it again it begin to work properly with new configuration. Where is the secret? How can I diagnose this problem?

PS: OpenSUSE 11.3, Xorg 7.5 + xserver 1.8 + libdrm 2.4.22 + intel driver 2.13 + Mesa 7.8.2

Reproducible: Always

Steps to Reproduce:
Cahange desktop effects or font
Comment 1 msnkipa 2010-10-12 14:11:57 UTC
Also I have such beautiful output from kwin:
misha@tosh-u300:~/KDE/4.5/build/l10n-kde4/ru> kwin
kwin(25783) KWin::CompositingPrefs::detectDriverAndVersion: GL vendor is "Tungsten Graphics, Inc" 
kwin(25783) KWin::CompositingPrefs::detectDriverAndVersion: GL renderer is "Mesa DRI Intel(R) 965GM GEM 20100328 2010Q1 " 
kwin(25783) KWin::CompositingPrefs::detectDriverAndVersion: GL version is "2.1 Mesa 7.8.2" 
kwin(25783) KWin::CompositingPrefs::detectDriverAndVersion: Detected driver "intel" , version "20100328" 
couldn't create image from  "/home/diau/overlay.png" 
/*Here I change desktop effects*/
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setPen: Painter not active
QPainter::setPen: Painter not active
QPainter::setPen: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setPen: Painter not active
QPainter::setPen: Painter not active
QPainter::setPen: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setPen: Painter not active
QPainter::setPen: Painter not active
QPainter::setPen: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setPen: Painter not active
QPainter::setPen: Painter not active
QPainter::setPen: Painter not active
QPainter::end: Painter not active, aborted
/*Here its hung and I need to switch to the console and kill it.*/
kwin(25783) KWin::CompositingPrefs::detectDriverAndVersion: GL vendor is "Tungsten Graphics, Inc" 
kwin(25783) KWin::CompositingPrefs::detectDriverAndVersion: GL renderer is "Mesa DRI Intel(R) 965GM GEM 20100328 2010Q1 " 
kwin(25783) KWin::CompositingPrefs::detectDriverAndVersion: GL version is "2.1 Mesa 7.8.2" 
kwin(25783) KWin::CompositingPrefs::detectDriverAndVersion: Detected driver "intel" , version "20100328"
Comment 2 Thomas Lübking 2010-10-12 15:21:29 UTC
you need to move to a VT (crtrl+alt+f1), run "gdb" and "attach" to the kwin pid.
then "bt" (backtrace) to see where it "hangs", but this is very much likely bug #241402

you need to update mesa to >= 7.9rc2 or (inferior solution / workaround) place

export LIBGL_ALWAYS_INDIRECT=1

into ~/.xprofile, then logout/login

i'll set this one a dupe for the moment, if the above solutions do /not/ work, please reset to "unconfirmed"

*** This bug has been marked as a duplicate of bug 241402 ***
Comment 3 msnkipa 2010-10-13 11:29:55 UTC
OK this problem goes away when I install Mesa 7.9, but there is another.