https://bugs.freedesktop.org/show_bug.cgi?id=64913
Priority: medium Bug ID: 64913 Assignee: dri-devel@lists.freedesktop.org Summary: [r600] KSP 0.20 crashes when entering settings / starting new game. Severity: normal Classification: Unclassified OS: Linux (All) Reporter: knut.tidemann@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa
Created attachment 79702 --> https://bugs.freedesktop.org/attachment.cgi?id=79702&action=edit Backtrace of crash from gdb
I tested Kerbal Space Program today (after the new 0.20 updated) and it crashes when entering 'Settings' or starting the actual game from the menu.
I've attached a backtrace, and the crash seems to be the same in both cases. Atleast the same function is involved.
I was running mesa from git. Last commit was: 7bfb4bea6562b2e69d0376f15224c3811da42167
Running kernel 3.8.8.
The last version of the game (0.19.1) works without problems.
https://bugs.freedesktop.org/show_bug.cgi?id=64913
Knut Andre Tidemann knut.tidemann@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|[r600] KSP 0.20 crashes |[r600g] KSP 0.20 crashes |when entering settings / |when entering settings / |starting new game. |starting new game.
https://bugs.freedesktop.org/show_bug.cgi?id=64913
--- Comment #1 from Knut Andre Tidemann knut.tidemann@gmail.com --- I can also add that I have a Radeon HD 5670.
https://bugs.freedesktop.org/show_bug.cgi?id=64913
--- Comment #2 from Patrik Plihal patrik.plihal@gmail.com --- crosslinking http://forum.kerbalspaceprogram.com/showthread.php/24529-The-Linux-compatibi...
https://bugs.freedesktop.org/show_bug.cgi?id=64913
--- Comment #3 from Krzysztof A. Sobiecki sobkas@gmail.com --- Created attachment 80585 --> https://bugs.freedesktop.org/attachment.cgi?id=80585&action=edit Way to big patch to "fix" this small problem
I was too lazy to fix all pipe_sampler_view_reference so in the meantime I introduced pipe_sampler_view_reference_old. It's not a fix.
/** * Similar to pipe_sampler_view_reference() but always set the pointer to * NULL and pass in an explicit context. Passing an explicit context is a * work-around for fixing a dangling context pointer problem when textures * are shared by multiple contexts. XXX fix this someday. */ static INLINE void pipe_sampler_view_release
It does the same thing and I think It might have a same problem.
https://bugs.freedesktop.org/show_bug.cgi?id=64913
Krzysztof A. Sobiecki sobkas@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #80585|0 |1 is obsolete| |
--- Comment #4 from Krzysztof A. Sobiecki sobkas@gmail.com --- Created attachment 80588 --> https://bugs.freedesktop.org/attachment.cgi?id=80588&action=edit Less broken patch
https://bugs.freedesktop.org/show_bug.cgi?id=64913
--- Comment #5 from Krzysztof A. Sobiecki sobkas@gmail.com --- Created attachment 80590 --> https://bugs.freedesktop.org/attachment.cgi?id=80590&action=edit A little shorter one
Not tested yet.
https://bugs.freedesktop.org/show_bug.cgi?id=64913
Krzysztof A. Sobiecki sobkas@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #80590|A little shorter one |Nope description| | Attachment #80590|0 |1 is obsolete| |
https://bugs.freedesktop.org/show_bug.cgi?id=64913
Krzysztof A. Sobiecki sobkas@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #80588|0 |1 is patch| |
https://bugs.freedesktop.org/show_bug.cgi?id=64913
Krzysztof A. Sobiecki sobkas@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #80588|0 |1 is obsolete| |
--- Comment #6 from Krzysztof A. Sobiecki sobkas@gmail.com --- Created attachment 80709 --> https://bugs.freedesktop.org/attachment.cgi?id=80709&action=edit Another Patch
Need more testing.
https://bugs.freedesktop.org/show_bug.cgi?id=64913
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |corey@octayn.net
--- Comment #7 from Alex Deucher agd5f@yahoo.com --- *** Bug 65803 has been marked as a duplicate of this bug. ***
https://bugs.freedesktop.org/show_bug.cgi?id=64913
--- Comment #8 from Corey Richardson corey@octayn.net --- Seems I didn't use the correct keywords when searching for duplicates. Anything I can do to help test? (I have HD6850)
https://bugs.freedesktop.org/show_bug.cgi?id=64913
--- Comment #9 from Krzysztof A. Sobiecki sobkas@gmail.com --- Compile mesa, make it usable in a system, run piglit, apply the patch, compile mesa,run KSP to check out if it fixes the problem, run piglit again and report regressions. That should be good enough. I hope.
https://bugs.freedesktop.org/show_bug.cgi?id=64913
--- Comment #10 from Knut Andre Tidemann knut.tidemann@gmail.com --- I've tested the attached patch, and it fixes the crash in kerbal space program.
I've also run the piglit r600.tests before and after patching, but it seems the results are somewhat mixed. I ran piglit once before patching and a few times afterwards and the results differed each time I ran the tests. One time the test even zombied.
https://bugs.freedesktop.org/show_bug.cgi?id=64913
--- Comment #11 from Krzysztof A. Sobiecki sobkas@gmail.com --- Does this behavior also occurred before patching?
https://bugs.freedesktop.org/show_bug.cgi?id=64913
--- Comment #12 from Knut Andre Tidemann knut.tidemann@gmail.com --- Yeah, I ran the piglit tests multiple times again without the patch applied, and the same result can be observed.
https://bugs.freedesktop.org/show_bug.cgi?id=64913
--- Comment #13 from Krzysztof A. Sobiecki sobkas@gmail.com --- Is someone interested in this patch?
https://bugs.freedesktop.org/show_bug.cgi?id=64913
--- Comment #14 from Alex Deucher agd5f@yahoo.com --- I'd suggest sending it to the mailing list (mesa-dev@lists.freedesktop.org).
https://bugs.freedesktop.org/show_bug.cgi?id=64913
--- Comment #15 from Alex Deucher agd5f@yahoo.com --- Please use git to format the patch and include a description of what the patch does and how it fixes the issue.
https://bugs.freedesktop.org/show_bug.cgi?id=64913
--- Comment #16 from Krzysztof A. Sobiecki sobkas@gmail.com --- I have done that and no one cared.
https://bugs.freedesktop.org/show_bug.cgi?id=64913
--- Comment #17 from Alex Deucher agd5f@yahoo.com --- (In reply to comment #16)
I have done that and no one cared.
Are you sure it went through? I don't don't see the patch in the archives: http://lists.freedesktop.org/archives/mesa-dev/
https://bugs.freedesktop.org/show_bug.cgi?id=64913
--- Comment #18 from Krzysztof A. Sobiecki sobkas@gmail.com --- (In reply to comment #17)
(In reply to comment #16)
I have done that and no one cared.
Are you sure it went through? I don't don't see the patch in the archives: http://lists.freedesktop.org/archives/mesa-dev/
Here it is... http://lists.freedesktop.org/archives/mesa-dev/2013-July/041799.html
https://bugs.freedesktop.org/show_bug.cgi?id=64913
--- Comment #19 from Knut Andre Tidemann knut.tidemann@gmail.com --- This issue seems to have gone away in the later git versions, without the requirement of the attached patch.
https://bugs.freedesktop.org/show_bug.cgi?id=64913
Krzysztof A. Sobiecki sobkas@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #20 from Krzysztof A. Sobiecki sobkas@gmail.com --- Then I will close the bug. If there is still a problem please reopen it.
https://bugs.freedesktop.org/show_bug.cgi?id=64913
Krzysztof A. Sobiecki sobkas@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #80709|0 |1 is obsolete| |
dri-devel@lists.freedesktop.org