https://bugs.winehq.org/show_bug.cgi?id=49700
Bug ID: 49700 Summary: Apps crash on discrete NVIDIA card with X error BadMatch: NV-GLX when emulated virtual desktop is enabled Product: Wine Version: 5.14 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: rockorequin@hotmail.com Distribution: ---
I'm running Ubuntu 20.04, wine-devel 5.14, nvidia 450.57-0ubuntu0~0.20.04.2 on an Optimus system with prime-select set to on-demand. I'm also running dxvk-1.7.1 because the games I've tried crash without it.
With a clean wine prefix except for the graphics set to emulate a virtual desktop of 1920x1080, running a game with the command "__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia wine <exe file"> fails with an error like this:
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: 334 Current serial number in output stream: 335
With a clean wine prefix (ie no virtual emulated desktop), the games run without issue, and in wine 5.0.1 they run with and without an emulated desktop.
Both dx9 and dx11 games crash - I don't think DirectX is relevant here because the crash is when the game first tries to create a 3d window.
https://bugs.winehq.org/show_bug.cgi?id=49700
slswww@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |slswww@free.fr
--- Comment #1 from slswww@free.fr --- Hi,
Same error happens with BrickLink Studio (Unity-based application) on a Debian Sid, Debian’s Wine 7.0~repack-10 & WineHQ’s 7.19~bookworm-1, NVidia 510.85.02-5.
The error comes & go with Wine versions. Unfortunately, I didn’t note which versions, but early staging 7 worked, then it didn’t.
I’m available for any further info or test.