https://bugs.winehq.org/show_bug.cgi?id=53193
Bug ID: 53193 Summary: d3d9:device - test_window_position() fails randomly in Wine Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Distribution: ---
d3d9:device - test_window_position() fails randomly in Wine. For instance:
device.c:14648: Test failed: Adapter 0: Expect window rect (0,0)-(1024,768), got (4,14)-(644,494). or device.c:14648: Test failed: Adapter 0: Expect window rect (0,0)-(1024,768), got (4,23)-(644,503). or device.c:14648: Test failed: Adapter 1: Expect window rect (1024,0)-(2048,737), got (4,14)-(644,494). or device.c:14714: Test failed: Adapter 1: Expect window rect (1024,0)-(2048,737), got (0,0)-(1024,737).
https://test.winehq.org/data/patterns.html#d3d9:device
Sometimes one can get failures for both adapter 0 and 1. It is also not limited to multi-monitor configurations. For instance fgtb-debian11 which is a single monitor configuration still gets the adapter 0 failure from time to time.
https://bugs.winehq.org/show_bug.cgi?id=53193
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=53193
--- Comment #1 from François Gouget fgouget@codeweavers.com --- These failures have more expected and actual window dimensions. For instance looking at just the values for adapter 0:
$ egrep "Test failed: Adapter 0: Expect window rect " */*/report | sed -e 's/^.*://' | sort -u Expect window rect (0,0)-(1024,737), got (0,0)-(640,480). Expect window rect (0,0)-(1024,737), got (4,14)-(644,494). Expect window rect (0,0)-(1024,737), got (4,15)-(644,495). Expect window rect (0,0)-(1024,768), got (0,0)-(640,480). Expect window rect (0,0)-(1024,768), got (4,14)-(1028,782). Expect window rect (0,0)-(1024,768), got (4,14)-(644,494). Expect window rect (0,0)-(1024,768), got (4,15)-(644,495). Expect window rect (0,0)-(1024,768), got (4,23)-(644,503). Expect window rect (0,0)-(640,480), got (4,15)-(644,495).
This may depend in part on the resolution previous tests have left the screen in.
https://bugs.winehq.org/show_bug.cgi?id=53193
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|d3d9:device - |d3d8:device & d3d9:device - |test_window_position() |test_window_position() |fails randomly in Wine |fails randomly in Wine
--- Comment #2 from François Gouget fgouget@codeweavers.com --- test_window_position() also fails in d3d8:device:
device.c:10745: Test failed: Adapter 0: Expect window rect (0,0)-(1024,737), got (4,14)-(644,494). device.c:10775: Test failed: Adapter 1: Expect window rect (1024,0)-(2048,737), got (0,0)-(1024,737).
https://test.winehq.org/data/patterns.html#d3d8:device