https://bugs.freedesktop.org/show_bug.cgi?id=68585
Priority: medium Bug ID: 68585 Assignee: dri-devel@lists.freedesktop.org Summary: Recent Mesa git make Kwin crash with AMD R300g driver Severity: normal Classification: Unclassified OS: Linux (All) Reporter: rvdb@cryptolab.net Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Drivers/Gallium/r300 Product: Mesa
Created attachment 84671 --> https://bugs.freedesktop.org/attachment.cgi?id=84671&action=edit 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.
https://bugs.freedesktop.org/show_bug.cgi?id=68585
--- Comment #1 from Richard Van Den Boom rvdb@cryptolab.net --- Created attachment 84672 --> https://bugs.freedesktop.org/attachment.cgi?id=84672&action=edit Startx output
https://bugs.freedesktop.org/show_bug.cgi?id=68585
--- Comment #2 from Alex Deucher agd5f@yahoo.com --- Can you bisect?
https://bugs.freedesktop.org/show_bug.cgi?id=68585
--- Comment #3 from Richard Van Den Boom rvdb@cryptolab.net --- 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).
https://bugs.freedesktop.org/show_bug.cgi?id=68585
--- Comment #4 from Richard Van Den Boom rvdb@cryptolab.net --- 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.
https://bugs.freedesktop.org/show_bug.cgi?id=68585
--- Comment #5 from Richard Van Den Boom rvdb@cryptolab.net --- Created attachment 84696 --> https://bugs.freedesktop.org/attachment.cgi?id=84696&action=edit Git bisect log output
https://bugs.freedesktop.org/show_bug.cgi?id=68585
--- Comment #6 from Marek Olšák maraeo@gmail.com --- Created attachment 84748 --> https://bugs.freedesktop.org/attachment.cgi?id=84748&action=edit possible fix
Could you please test this patch?
https://bugs.freedesktop.org/show_bug.cgi?id=68585
--- Comment #7 from Richard Van Den Boom rvdb@cryptolab.net --- I'll see what I can do.
https://bugs.freedesktop.org/show_bug.cgi?id=68585
--- Comment #8 from Richard Van Den Boom rvdb@cryptolab.net --- 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!
https://bugs.freedesktop.org/show_bug.cgi?id=68585
--- Comment #9 from Richard Van Den Boom rvdb@cryptolab.net --- As far as I'm conceredn this bug can be closed as fixed.
https://bugs.freedesktop.org/show_bug.cgi?id=68585
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #10 from Alex Deucher agd5f@yahoo.com --- fixed in: http://cgit.freedesktop.org/mesa/mesa/commit/?id=89a665eb5fa176f68223bf54a47...
dri-devel@lists.freedesktop.org