https://bugs.winehq.org/show_bug.cgi?id=51311
Bug ID: 51311 Summary: opengl32:opengl fails on AMD GPUs (cw-rx460) Product: Wine Version: 6.10 Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: opengl Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
opengl32:opengl has five systematic failures on cw-rx460 which is our only test machine with an AMD GPU:
https://test.winehq.org/data/patterns.html#opengl32:opengl
opengl.c:374: Test failed: expected count == 1, got 0 opengl.c:529: Test failed: Sharing of display lists passed for a context which already shared lists before opengl.c:696: Test failed: Expected no PFD_GENERIC_FORMAT/_ACCELERATION to be set for WGL_FULL_ACCELERATION_ARB: iPixelFormat=216, dwFlags=78! opengl.c:1704: Test failed: Expected default swap interval 1, got 0 opengl.c:1742: Test failed: Expected default swap interval 1, got 0
These five failures happen on all available Windows versions (8.1 to 10 2009) and graphics driver versions (19.11.3 to 21.4.2). But they do not happen on any machine with other GPUs (e.g. cw-gtx560 and all QEmu VMs). So this looks like some specific Radeon / AMD GPU behavior.
https://bugs.winehq.org/show_bug.cgi?id=51311
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=51311
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|opengl32:opengl fails on |opengl32:opengl fails on |AMD GPUs (cw-rx460) |AMD GPUs
--- Comment #1 from François Gouget fgouget@codeweavers.com --- These failures can now be reproduced on the w11pro64_amd VM:
opengl.c:1960: OpenGL renderer: AMD Radeon RX 6600 opengl.c:1961: OpenGL driver version: 4.6.14800 Compatibility Profile Context 22.5.1 30.0.15021.11005 opengl.c:1962: OpenGL vendor: ATI Technologies Inc. opengl.c:1884: Test failed: Failed to copy GL context, last error 0. opengl.c:423: Test failed: expected count == 1, got 0 opengl.c:468: SetPixelFormat on main device context succeeded opengl.c:578: Test failed: Sharing of display lists passed for a context which already shared lists before opengl.c:745: Test failed: Expected no PFD_GENERIC_FORMAT/_ACCELERATION to be set for WGL_FULL_ACCELERATION_ARB: iPixelFormat=318, dwFlags=78! opengl.c:1057: hread 0000000008010952, hdc 0000000008010952 opengl.c:150: nOnscreenFormats: 318 opengl.c:151: Total number of pbuffer capable pixelformats: 462 opengl.c:160: Selected iPixelFormat=1 opengl.c:185: iPixelFormat returned by GetPixelFormat: 1 opengl.c:186: PixelFormat from wglChoosePixelFormatARB: 1 opengl.c:198: Selected iPixelFormat: 319 opengl.c:214: iPixelFormat returned by GetPixelFormat: 1 opengl.c:215: PixelFormat from wglChoosePixelFormatARB: 319 opengl.c:1753: Test failed: Expected default swap interval 1, got 0 opengl.c:1791: Test failed: Expected default swap interval 1, got 0
The same set of failures also happens on the fgtb-w10pro64-rx550 VM which has Windows 10 22H2 and an AMD RX550 GPU.
Note that this test crashes on the w11pro64_nv VM which prevents a proper comparison with the NVIDIA case (see bug 54103).