https://bugs.winehq.org/show_bug.cgi?id=43685
Bug ID: 43685 Summary: Many games fail to start or run without audio using the git version of Wine Product: Wine Version: 2.16 Hardware: x86 OS: Linux Status: NEW Keywords: regression Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: julliard@winehq.org Regression SHA1: a0f64e1231a88417fe8b6e3eb459b2c8a098aec6 Distribution: ---
I have problems running many of my games in the current git version (wine-2.16-77-g917e86dd7a).
Some of the affected games crash after start (without a usable backtrace), other games do run but audio doesn't work in these games. In the terminal I see at least 3 different errors:
1. for the games that crash there are lots of these errors before the crash: err:d3d:wined3d_debug_callback 0x1943e0: "GL_OUT_OF_MEMORY error generated. Failed to allocate CPU address space mapping for texture (consider building 64-bit app).". err:d3d:wined3d_debug_callback 0x1943e0: "GL_INVALID_VALUE error generated. Size and/or offset out of range.". (0) : fatal error C9008: out of memory - malloc failed
2. the games that run without audio are showing this in the terminal: mmap() failed: Cannot allocate memory Failed to create permanent mapping for memfd region with ID = 2216594112 Ignoring received block reference with non-registered memfd ID = 2216594112 ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
3. for some games the crash is preceded by these: err:module:load_builtin_dll failed to load .so lib for builtin L"DBGHELP.DLL": /home/gyebro/sources/wine-git/dlls/dbghelp/dbghelp.dll.so: failed to map segment from shared object err:module:load_builtin_dll failed to load .so lib for builtin L"DBGHELP.DLL": /home/gyebro/sources/wine-git/dlls/dbghelp/dbghelp.dll.so: failed to map segment from shared object wine: Unhandled page fault on read access to 0x00000000 at address 0x7dcaadec (thread 0045), starting debugger...
The problem doesn't occur before
commit a0f64e1231a88417fe8b6e3eb459b2c8a098aec6 Author: Alexandre Julliard julliard@winehq.org Date: Wed Sep 6 09:58:18 2017 +0200
ntdll: Allocate views out of a memory block instead of using a heap.
Many games built on the Unreal Engine 3 will fail due to this commit. One example is Alien Breed: Impact. This game has a demo on Steam, but I couldn't try if the demo has the same problem as the full version. http://store.steampowered.com/app/22610/Alien_Breed_Impact/
wine-2.16-77-g917e86dd7a (32-bit) Arch Linux 64-bit Nvidia binary driver 384.69
I tried these games with nouveau/mesa-17.1.8 too, with similar results. Instead of showing those ""GL_OUT_OF_MEMORY error generated..." errors in the terminal, many games fail with such errors: X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 155 (GLX) Minor opcode of failed request: 3 (X_GLXCreateContext) Value in failed request: 0x0 Serial number of failed request: 189 Current serial number in output stream: 193