Skip to contentSkip to conversation

New: Recent Mesa git make Kwin crash with AMD R300g driver

Bug 68585 [email protected] 1 participant 11 messages Aug 26, 2013 – Sep 1, 2013

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=68585

Priority: medium
Bug ID: 68585
Assignee: [email protected]
Summary: Recent Mesa git make Kwin crash with AMD R300g driver
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 68585] Recent Mesa git make Kwin crash with AMD R300g driver

https://bugs.freedesktop.org/show_bug.cgi?id=68585

--- Comment #1 from Richard Van Den Boom <[email protected]> --- Created attachment 84672
--> https://bugs.freedesktop.org/attachment.cgi?id=84672&action=edit
Startx output

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 68585] Recent Mesa git make Kwin crash with AMD R300g driver

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=68585

--- Comment #2 from Alex Deucher <[email protected]> --- Can you bisect?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 68585] Recent Mesa git make Kwin crash with AMD R300g driver

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=68585

--- Comment #3 from Richard Van Den Boom <[email protected]> --- 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).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 68585] Recent Mesa git make Kwin crash with AMD R300g driver

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=68585

--- Comment #4 from Richard Van Den Boom <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 68585] Recent Mesa git make Kwin crash with AMD R300g driver

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=68585

--- Comment #5 from Richard Van Den Boom <[email protected]> --- Created attachment 84696
--> https://bugs.freedesktop.org/attachment.cgi?id=84696&action=edit
Git bisect log output

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 68585] Recent Mesa git make Kwin crash with AMD R300g driver

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=68585

--- Comment #6 from Marek Olšák <[email protected]> --- Created attachment 84748
--> https://bugs.freedesktop.org/attachment.cgi?id=84748&action=edit
possible fix

Could you please test this patch?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 68585] Recent Mesa git make Kwin crash with AMD R300g driver

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=68585

--- Comment #7 from Richard Van Den Boom <[email protected]> --- I'll see what I can do.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 68585] Recent Mesa git make Kwin crash with AMD R300g driver

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=68585

--- Comment #8 from Richard Van Den Boom <[email protected]> --- 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!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 68585] Recent Mesa git make Kwin crash with AMD R300g driver

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=68585

--- Comment #9 from Richard Van Den Boom <[email protected]> --- As far as I'm conceredn this bug can be closed as fixed.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 68585] Recent Mesa git make Kwin crash with AMD R300g driver

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=68585

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from Alex Deucher <[email protected]> --- fixed in:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=89a665eb5fa176f68223bf54a472d6a0567c3546

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel