https://bugs.winehq.org/show_bug.cgi?id=54068
Bug ID: 54068 Summary: ddraw:ddraw1, ddraw:ddraw2, ddraw:ddraw4, ddraw:ddraw7 - test_cursor_clipping() gets an unexpected clip rect on Windows 10 2004+ Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
ddraw:ddraw1, ddraw:ddraw2, ddraw:ddraw4, ddraw:ddraw7 - test_cursor_clipping() gets an unexpected clip rect on Windows 10 2004+:
ddraw1.c:14351: Test failed: Expect clip rect (0,0)-(1920,1080), got (0,0)-(1536,864).
See 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
This failure happens systematically on Windows 10 2004 to 22H2 running on QEmu's virtual GPU. However it does not happen on : * Windows 11. * Dual-monitor configurations. * Windows 10 with an AMD RX550 GPU (via PCI passthrough).
https://bugs.winehq.org/show_bug.cgi?id=54068
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=54068
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzhang@codeweavers.com
--- Comment #1 from Zhiyi Zhang zzhang@codeweavers.com --- Does the system happen to have a 125% display scaling? 1920/1.25 = 1536.0 1080/1.25 = 864.0
https://bugs.winehq.org/show_bug.cgi?id=54068
--- Comment #2 from François Gouget fgouget@codeweavers.com --- Created attachment 73856 --> https://bugs.winehq.org/attachment.cgi?id=73856 w10pro64v2004 display information
The failure happens on w10pro64v2004 (among others), which has the default 100% scaling as shown in this screenshot. I never changed the scaling in the VMs so I expect the others test configurations are the same.
Further notes based on w10pro64v2004 tests: * I get this failure even if I run just ddraw:ddraw1 on its own... * ... even if I run just test_cursor_clipping(). * After the test the scaling is still 100%.