Bug 89831 - [r600] r600_asm.c:310:assign_alu_units: Assertion `0' failed.
Summary: [r600] r600_asm.c:310:assign_alu_units: Assertion `0' failed.
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
Depends on:
Reported: 2015-03-31 04:39 UTC by Jacob Litewski
Modified: 2018-03-06 18:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

Backtrace from wine (11.43 KB, text/plain)
2015-03-31 04:39 UTC, Jacob Litewski
proposed fix (5.54 KB, patch)
2015-03-31 05:28 UTC, Dave Airlie
Details | Splinter Review
Backtrace from wine after applying proposed patch (11.43 KB, text/plain)
2015-03-31 15:26 UTC, Jacob Litewski

Description Jacob Litewski 2015-03-31 04:39:10 UTC
Created attachment 114743 [details]
Backtrace from wine

When I try to load a world in Space Engineers with mesa (64 bit and 32 bit), wine, and the Radeon open source driver compiled with Gallium Nine support, and mesa compiled with the --enable-debug flag, it crashes with the supplied backtrace.

pastebin of the TSGI code it spits into the console: http://pastebin.com/6eeuDs9A

full console logs: https://drive.google.com/file/d/0Bx0XCc8l_ekmZU04djJkN1FfOWM/view?usp=sharing

Without using the Gallium Nine driver, the game works as anticipated.
Comment 1 Dave Airlie 2015-03-31 05:28:36 UTC
Created attachment 114746 [details] [review]
proposed fix
Comment 2 Jacob Litewski 2015-03-31 15:25:02 UTC
The game still crashes for me with the proposed fix. Attaching the backtrace from wine and the logs generated with 

WINEDEBUG=+d3dadapter9,+d3d9 TSGI_PRINT_SANITY=1 NINE_TGSI_DUMP=1 R600_DEBUG=all WINEPREFIX="/home/hackhalo2/.local/share/wineprefixes/steam" wine C:\\windows\\command\\start.exe steam://rungameid/244850 2>&1 | tee ~/SE_Logs.txt
Comment 3 Jacob Litewski 2015-03-31 15:26:01 UTC
Created attachment 114768 [details]
Backtrace from wine after applying proposed patch
Comment 5 Gert Wollny 2018-03-06 18:28:40 UTC
This has been fixed a long time ago with ad84689f737edefe

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.