https://bugs.winehq.org/show_bug.cgi?id=53316
Bug ID: 53316 Summary: WGL context sharing does not work on Intel driver Product: Wine Version: 7.12 Hardware: x86-64 OS: Windows Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: trass3r@gmail.com
Originally encountered when testing DK2: https://bugs.winehq.org/show_bug.cgi?id=44260#c8
3de8:trace:d3d:texture2d_blt dst_texture 00B11400, ... 3de8:warn:d3d:context_create_wgl_attribs Failed to create a WGL context with wglCreateContextAttribsARB, last error 0xaa. 3de8:err:d3d:wined3d_context_gl_create_wgl_ctx Failed to create a WGL context.
0xaa is ERROR_BUSY, which is returned because the context to be shared by the new context in the helper thread is still current in the main thread.
See https://github.com/roxlu/windows-opengl-context#solution- https://bugzilla.gnome.org/show_bug.cgi?id=792407#c2 https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/blob/master/ext/qt...
Tested on Win11, Intel UHD620 Driver 30.0.101.3113 with wine reg add 'HKCU\Software\Wine\Direct3D' /v csmt /t REG_DWORD /d 0
The problem does not occur when replacing the driver with GLonD3D12 from https://github.com/pal1000/mesa-dist-win