Some of my games when running in Wine crash on start, either immediately on startup like Skydrift, or during the initial loading screen.
Terminal output + Wine backtrace:
The other game that crashes with an identical backtrace is named 'How to Survive', but no demo is available for this title.
The crash is present with the software renderer too (LIBGL_ALWAYS_SOFTWARE=1)
The problem doesn't occur with the binary Nvidia drivers (340.76), and reverting the following commit fixes the crash for me:
Author: Laura Ekstrand <firstname.lastname@example.org>
Date: Tue Feb 3 14:47:00 2015 -0800
main: _mesa_blit_framebuffer updates its arbitrary framebuffers.
Previously, we used _mesa_update_state to update the currently bound
framebuffers prior to performing a blit. Now that _mesa_blit_framebuffer
uses arbitrary framebuffers, _mesa_update_state is not specific enough.
To reproduce the problem in the demo version you need Wine (preferably the latest development version) and a Steam account. The game should run out-of-the-box after installation.
This patch reliably fixes the problem for me:
Please let me know if you need further logs.
Fedora 22 32-bit
VGA compatible controller: NVIDIA Corporation G92 [GeForce GTS 250] (rev a2) (prog-if 00 [VGA controller])
The following patch by Ilia Mirkin also fixes the crash for me:
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 79fa018..f7d8028 100644
@@ -1638,6 +1638,8 @@ handle_first_current(struct gl_context *ctx)
/* We can use this to help debug user's problems. Tell them to set
* the MESA_INFO env variable before running their app. Then the
* first time each context is made current we'll print some useful
The 2 different patches equally fix the crash for me in those 2 games.
I can't reproduce this bug anymore: both games start properly with current mesa. Tried with wine 1.7.45 (the version available at the time when this bug report was opened) and with current wine 1.7.53: the bug doesn't occur in either version.
OpenGL vendor string: nouveau
OpenGL renderer string: Gallium 0.4 on NV92
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.1.0-devel (git-3994ef5)
OpenGL core profile shading language version string: 3.30