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.
Created attachment 114746 [details] [review]
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
Created attachment 114768 [details]
Backtrace from wine after applying proposed patch
on Mar 30, 2017 at 08:55:18.
(provided by the Example extension).