https://bugs.winehq.org/show_bug.cgi?id=53248
Bug ID: 53248 Summary: ddraw:ddraw1, ddraw:ddraw2, ddraw:ddraw4, ddraw:ddraw7 - test_coop_level_mode_set() sometimes fails on Windows due to DDERR_SURFACELOST Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
ddraw:ddraw1, ddraw:ddraw2, ddraw:ddraw4, ddraw:ddraw7 - test_coop_level_mode_set() sometimes fails on Windows due to DDERR_SURFACELOST. There are two variants:
ddraw1.c:3504: Test failed: Got unexpected hr 0x887601c2. or ddraw1.c:3542: Test failed: Failed to create surface, hr 0x887601c2.
https://test.winehq.org/data/patterns.html#ddraw:ddraw1 https://test.winehq.org/data/patterns.html#ddraw:ddraw2 https://test.winehq.org/data/patterns.html#ddraw:ddraw4 https://test.winehq.org/data/patterns.html#ddraw:ddraw7
These failures: * Happen on the Windows 8 TestBot VMs * Don't happen on the Windows 10 TestBot VMs * Happened on the cw-rx460 Windows 10 2009+ configurations. * Did not happen on cw-gtx560.
So they appear to be very dependent on the Windows driver which is to be expected I guess.
https://bugs.winehq.org/show_bug.cgi?id=53248
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=53248
--- Comment #1 from François Gouget fgouget@codeweavers.com --- The test configuration mix has changed a bit since this was filed so here is an update. Over the past 8 months these failures have happened exclusively on:
* w8 & w864: the Windows 8 TestBot VMs * w11pro64-amd: the Windows 11 AMD RX6600 TestBot VM * fgtb-w10pro64-rx550: my Windows 10 AMD RX550 VM
So this failure is still specific to Windows 8 and the AMD driver.
https://bugs.winehq.org/show_bug.cgi?id=53248
--- Comment #2 from François Gouget fgouget@codeweavers.com --- Note that the "Failed to create surface" failures are always followed by a crash:
ddraw4.c:3731: Test failed: Failed to create surface, hr 0x887601c2. ddraw4.c:3731: this is the last test seen before the exception 0d0c:ddraw4: unhandled exception c0000005 at 004EC3F0
This makes sense:
3713 IDirectDrawSurface4_Release(primary); ... 3730 hr = IDirectDraw4_CreateSurface(ddraw, &ddsd, &primary, NULL); 3731 ok(SUCCEEDED(hr), "Failed to create surface, hr %#lx.\n",hr); 3732 hr = IDirectDrawSurface4_GetSurfaceDesc(primary, &ddsd);
So their effect is a bit different from the "unexpected hr 0x887601c2" failures.
https://bugs.winehq.org/show_bug.cgi?id=53248
--- Comment #3 from François Gouget fgouget@codeweavers.com --- Also the "Failed to create surface" failures only happen on Windows 8. Only the "unexpected hr 0x887601c2" ones can also happen on AMD graphics cards. So these two issue may actually be different after all.