https://bugs.winehq.org/show_bug.cgi?id=51765
Bug ID: 51765 Summary: AlienShooter2 fails "X Error of failed request: BadAlloc" Product: Wine Version: 6.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: hi-angel@yandex.ru Distribution: ---
Created attachment 70669 --> https://bugs.winehq.org/attachment.cgi?id=70669 Log of running the game
Simply running the game results in error:
X Error of failed request: BadAlloc (insufficient resources for operation) Major opcode of failed request: 149 () Minor opcode of failed request: 2 Serial number of failed request: 424 Current serial number in output stream: 425
I did a bit of research, and here's what I found:
1. Game works fine with Wine on older laptop, with OpenGL compat profile 3.1. The logs are almost identical, except right after the line where AlienShooter2 crashes on newer laptop, on the older there's one more line saying "Setting line patterns is not supported in OpenGL core context" 2. Running the game with `MESA_GL_VERSION_OVERRIDE=3.1compat` does not make game produce same line on newer laptop, so am not sure it really uses same low compat profile. 3. Setting `MESA_GL_VERSION_OVERRIDE=4.5` on older laptop does not make the warning go away, which suggests wine detection of compat profile is be broken.
I built debug version of Wine, and tried debugging it, but stuck trying to get the stacktrace. gdb does not break around that place, apparently because the problem inside one of many dozens wine processes. `winedbg` is of no use either.
Any suggestions for further debugging are welcome.