https://bugs.winehq.org/show_bug.cgi?id=56604
Bug ID: 56604 Summary: 32-bit OpenGL programs crash with GLX error when run on nVidia RTX3070 in Wine Product: Wine Version: 9.7 Hardware: x86-64 OS: Linux Status: RESOLVED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: m.kolesinski@gmail.com Distribution: --- Resolution: DUPLICATE Status: RESOLVED
There appears to be some sort of bug/incompatibility with Wine, 32-bit OpenGL programs, and the official nVidia graphics drivers for Linux.
When testing an old 32-bit OpenGL game based on the Quake III engine (Medal of Honor: Allied Assault, or MOHAA), I get unexpected crashes at application launch, with the following error:
X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 156 (NV-GLX) Minor opcode of failed request: 43 () Serial number of failed request: 29067 Current serial number in output stream: 29068
This occurs when testing with a 32-bit or 64-bit prefix, and has occurred on every version of Wine (and Proton) I've ever tried, going back several years, up to the current version (9.7). I have also tried numerous versions of the nVidia drivers, and am currently on the latest version (550.76-1). I am using Arch Linux.
The game runs without this issue on the integrated AMD GPU (Ryzen 5800h APU). The error occurs only for Wine programs. The error occurs if using the discrete (RTX 3070 laptop) GPU in "dedicated" mode, as well as in hybrid mode ("prime-run ...").
Non-wine 32-bit OpenGL programs do not experience this problem. E.g. glxgears32 works fine on the discrete GPU. Similarly, 64-bit e.g. Vulkan games work fine on the integrated and discrete GPU.
This same game in a native Linux binary (MOHAA) also runs without experiencing this issue (it has other issues unrelated to this, as the binary was a pre-release beta...I mention it for comparison purposes).
I have researched this problem at length, and although there are anecdotes of others running into these same errors with various OpenGL programs, there is no apparent solution and I suspect most people just give up, or end up using different hardware.
--- Comment #1 from m.kolesinski@gmail.com --- I got a cgi error about failing to send an email when submitting these and it wasn't clear if it went through. I hit back and resubmitted and lo and behold it's in there 2x.
*** This bug has been marked as a duplicate of bug 56603 ***
https://bugs.winehq.org/show_bug.cgi?id=56604
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing duplicate.