Created attachment 84671 [details] Kwin backtrace I run Slackware64-current systems on several workstations using AMD processors and graphic cards. I usually compile my own very recent kernels (currently 3.11-rc*) and I regularly (about once every two weeks) compile git version of libdrm, mesa and xf86-video-ati. I noticed that with recent versions of mesa, kwin, KDE's compositor and windows manager, crashed immediately at boot and only worked when I disabled the OpenGL effects. The last version of mesa that worked was of the 2013/08/08. By just changing mesa to a more recent version, kwin would segfault, for the first time in years, with KDE 4.10.5 as well as 4.11. My other systems, which have a fairly similar OS settings, do not have these issues but they use the r600g driver while my old laptop, the one which crash, still use r300g. I've attached to this kwin backtrace which clearly shows that kwin crash while working with r300_dri.so, as well as the startx output. I don't have debug binaries unfortunately.
Created attachment 84672 [details] Startx output
Can you bisect?
I'm no git expert but this seems simple enough. It may take a bit of time though as this is a slow laptop (8 years old).
According to bisect, the commit that cause the crashes is this one : git bisect good 98d2498404ba69a3efc1c765b1a1885d151181ed # first bad commit: [a3ae5dc7dd5c2f8893f86a920247e690e550ebd4] draw: make sure that the stages setup outputs I've attached the full git bisect log output. Whatever Kwin does in the R300 driver, the above commit seems to trigger an issue.
Created attachment 84696 [details] Git bisect log output
Created attachment 84748 [details] [review] possible fix Could you please test this patch?
I'll see what I can do.
I did a git pull to be as possible up to date and applied the patch. It does indeed seem to fix Kwin crash at startup. Congratulations!
As far as I'm conceredn this bug can be closed as fixed.
fixed in: http://cgit.freedesktop.org/mesa/mesa/commit/?id=89a665eb5fa176f68223bf54a472d6a0567c3546
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.