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(a)winehq.org Reporter: rockorequin(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.