https://bugs.freedesktop.org/show_bug.cgi?id=28154
Summary: [r300g] Freeorion crash when fleet icon is clicked Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/r300 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: drakkk@centrum.cz
Created an attachment (id=35723) --> (https://bugs.freedesktop.org/attachment.cgi?id=35723) terminal output
Game Freeorion crash when clicking fleet icon: r300: Bad format r32g32_sscaled in r300_translate_vertex_data_type:419 r300: desc->channel[0].size == 32 r300_state_inlines.h:422:r300_translate_vertex_data_type: Assertion `0' failed. This works fine with r300c.
01:00.0 VGA compatible controller: ATI Technologies Inc M56P [Radeon Mobility X1600]
mesa: 0f88ce1b0a98c7cacaa0dc53bbbb1f3c379aaa6a
https://bugs.freedesktop.org/show_bug.cgi?id=28154
Pavel Ondračka drakkk@centrum.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://sourceforge.net/proj | |ects/freeorion/files/FreeOr | |ion/FreeOrion%20Version%200 | |.3.14/FreeOrion-0.3.14.1-Li | |nux-i386.tar.gz/download
https://bugs.freedesktop.org/show_bug.cgi?id=28154
Pavel Ondračka drakkk@centrum.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |28259
https://bugs.freedesktop.org/show_bug.cgi?id=28154
--- Comment #1 from Marek Olšák maraeo@gmail.com 2010-05-26 05:14:30 PDT --- This vertex format (GL_INT) is not supported by hw and we have to add some kind of fallback for this. You may workaround this bug by typing RADEON_NO_TCL=1 before the executable. This will use software vertex processing, which is slow but should handle all such corner cases.
https://bugs.freedesktop.org/show_bug.cgi?id=28154
--- Comment #2 from Pavel Ondračka drakkk@centrum.cz 2010-05-26 05:45:39 PDT --- OK thanks for explanation, but sadly I can't try this workaround now because of bug 28259. And just a cosmetic thing, would it be possible to add Drivers/Gallium/r300g bugzilla component?
https://bugs.freedesktop.org/show_bug.cgi?id=28154
--- Comment #3 from Marek Olšák maraeo@gmail.com 2010-05-26 06:53:19 PDT --- (In reply to comment #2)
OK thanks for explanation, but sadly I can't try this workaround now because of bug 28259.
I'll fix it once I get from work.
And just a cosmetic thing, would it be possible to add Drivers/Gallium/r300g bugzilla component?
I was suggesting this some time ago and was too lazy to bug admins.
https://bugs.freedesktop.org/show_bug.cgi?id=28154
Bug 28154 depends on bug 28259, which changed state.
Bug 28259 Summary: [bisected r300g] Freeorion crash at startup https://bugs.freedesktop.org/show_bug.cgi?id=28259
What |Old Value |New Value ---------------------------------------------------------------------------- Resolution| |FIXED Status|NEW |RESOLVED
https://bugs.freedesktop.org/show_bug.cgi?id=28154
Pavel Ondračka drakkk@centrum.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|[r300g] Freeorion crash |[r300g] Freeorion is slow |when fleet icon is clicked |when fleet icon is clicked
--- Comment #4 from Pavel Ondračka drakkk@centrum.cz 2010-06-07 06:58:38 PDT --- After commit ebe2b546633a3593c54190bb1f2d372d70de14cd (r300g: report vertex format support in is_format_supported) this bug has changed. Now, when the fleet icon is clicked it doesn't crash, however fps is less than one also the whole system responds very slowly. Quick look at dmesg showed this:
[drm:radeon_fence_wait] *ERROR* fence(f2d706c0:0x0000103F) 510ms timeout going to reset GPU [drm] GA reset succeed (RBBM_STATUS=0x10000140) [drm] GA_IDLE=0x07FFFFFF [drm] RB3D_RESET_STATUS=0x00001FD4 [drm] ISYNC_CNTL=0x00000033 [drm] radeon: cp idle (0x10000000) [drm] radeon: ring at 0x0000000020000000 [drm] ring test succeeded in 16 usecs [drm] GPU reset succeed (RBBM_STATUS=0x10000140) [drm:radeon_fence_wait] *ERROR* fence(f2d706c0:0x0000103F) 523ms timeout [drm:radeon_fence_wait] *ERROR* last signaled fence(0x0000103F)
repeated many times. Btw workaround with RADEON_NO_TCL=1 works, and there is only minor decrease of fps. Changing summary.
https://bugs.freedesktop.org/show_bug.cgi?id=28154
--- Comment #5 from Marek Olšák maraeo@gmail.com 2010-06-07 07:45:17 PDT --- Oh crap.. well... r32g32_sscaled still is not supported by the driver but somehow it passes ~0 as a vertex format through to hw, which in turn locks up the machine. You got lucky, the kernel managed to reset your GPU. What kernel version do you use?
https://bugs.freedesktop.org/show_bug.cgi?id=28154
--- Comment #6 from Pavel Ondračka drakkk@centrum.cz 2010-06-07 09:35:17 PDT --- Yeah, GPU reset is a great thing. My kernel: 2.6.33.5-112.fc13
https://bugs.freedesktop.org/show_bug.cgi?id=28154
Pavel Ondračka drakkk@centrum.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|[r300g] Freeorion is slow |[r300g] Freeorion crash |when fleet icon is clicked |when fleet icon is clicked
--- Comment #7 from Pavel Ondračka drakkk@centrum.cz 2010-06-08 02:20:24 PDT --- With commit c1d91c490120b11fd1522b94d338e70fb38a82fb things have returned to original behavior (application crash).
https://bugs.freedesktop.org/show_bug.cgi?id=28154
--- Comment #8 from Marek Olšák maraeo@gmail.com 2010-06-08 19:36:42 PDT --- The driver should no longer crash.
https://bugs.freedesktop.org/show_bug.cgi?id=28154
Pavel Ondračka drakkk@centrum.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|[r300g] Freeorion crash |[r300g] Freeorion is |when fleet icon is clicked |missing some effects | |(r32g32_sscaled not | |supported)
--- Comment #9 from Pavel Ondračka drakkk@centrum.cz 2010-06-09 00:02:58 PDT --- (In reply to comment #8)
The driver should no longer crash.
Yes, no crash now. Still some effects are missing. I will keep this open until r32g32_sscaled software fallback is implemented.
https://bugs.freedesktop.org/show_bug.cgi?id=28154
--- Comment #10 from Marek Olšák maraeo@gmail.com 2010-06-13 08:55:41 PDT --- I've committed the fallback, can you try now?
https://bugs.freedesktop.org/show_bug.cgi?id=28154
--- Comment #11 from Pavel Ondračka drakkk@centrum.cz 2010-06-13 12:11:16 PDT --- Everything looks good, closing. Thank you Marek.
https://bugs.freedesktop.org/show_bug.cgi?id=28154
Pavel Ondračka drakkk@centrum.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
dri-devel@lists.freedesktop.org