Summary: | KWin crash when changing desktop effects configuration | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Nikos Chantziaras <realnc> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED UPSTREAM | ||
Severity: | crash | CC: | simon.lewis |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Nikos Chantziaras
2010-07-16 06:53:48 UTC
I'm sorry to say, but it is crashing in the OpenGL driver. There is nothing we can do about it. Feel free to report the crash at bugs.freedesktop.org hmmmm... a) there were at least 2 bugs around this in dri2, one fixed in january, one in april. (but "git" does not mean "stable" at all :-) b) more interesting for kwin is however line #20 "0x0000003080ab6489 in KWin::Workspace::fallbackToXRenderCompositing" - and why opengl stops working after a context restart this is probably a driver bug, but doesn't cause the crash @nikos a) please try swapping the event dispatcher by runnig either QT_NO_GLIB=1 kwin --replace & or QT_NO_GLIB="" kwin --replace & and attempt to trigger the crash (rational: the fallback is called via a 0ms singleshot timer and the invocation bahaviour actually differs with the event dispatcher, maybe this can carry things across the fb swap, bypassing the dri2 bug condition %-\ ) b) run kwin (like above) from a textshell (konsole) and watch the output when attempting to change a relevant setting, maybe there's some useful hint on why GL fails... (In reply to comment #2) > @nikos > a) please try swapping the event dispatcher by runnig either > QT_NO_GLIB=1 kwin --replace & > or > QT_NO_GLIB="" kwin --replace & > > and attempt to trigger the crash Trying that crashes kwin immediately and KDE becomes useless since after that kwin keeps crashing and restarting a few times, and after a while compositing gets disabled. ok, sorry but then the driver is far too much broken*, in a far guess, i suspect kms... *apparently it cannot create a glcontext more than once, tried any opengl games/glxgears? I have the same problem on Fedora 12 with KDE SC 4.5.2 installed from KDE-Forge's fc12 stable repo. Kwin freezes when accepting any changes made to desktop defects options under KDE's system settings. Is there a work around as I am not sure if the 4.5.3 update will make it into KDE-Forge fc12 repo...? that's probably not the same bug. you likely experience bug #241402 and to workaround, "export LIBGL_ALWAYS_INDIRECT=1" in ~/.xprofile should do, but this was a mesa bug and updating mesa to >= 7.9rc2 should fix it (In reply to comment #6) > that's probably not the same bug. you likely experience bug #241402 and to > workaround, "export LIBGL_ALWAYS_INDIRECT=1" in ~/.xprofile should do, but this > was a mesa bug and updating mesa to >= 7.9rc2 should fix it Hello Thomas Thanks for your quick reply - I was able to build and install x86_64 rpms for libdrm 2.4.21 and mesa 7.8.2 including a patch for bug #241402 kwin no longer freezes when changing desktop effect options - nice one. I could not build mesa 7.9.x as you suggested but 7.8.2 with patch seems to work. Also I noticed that i686 versions of mesa 7.7 are installed - probably during the initial installation - I don't know how to build i686 rpms on his fc12 x86_64 laptop. Anyway everything is working OK my laptop so I guess I will leave it as is for now. Once again many thanks for your help. Best regards, Simon |