https://bugs.winehq.org/show_bug.cgi?id=53484
Bug ID: 53484 Summary: dxgi:dxgi times out on the debiant VM Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Distribution: ---
dxgi:dxgi times out on the debiant VM:
dxgi:dxgi:04b4 done (258) in 120s
https://test.winehq.org/data/patterns.html#dxgi:dxgi
The timeouts started on 2022-07-27 and have been systematic since. Yet neither the VM configuration nor the test have changed around that date. So the timeouts are most likely caused by some change in Wine.
Also when adding timing information (WINETEST_TIME) I did not see any place where the test would get stuck for several seconds. The discrepancy between debian11 and debiant is just that the test was already slower on debiant:
Up to 2022-07-26 debian11 took 16 s and debiant 70 s Since 2022-07-27 debian11 takes 96 s and debiant times out
So on 2022-07-27 something caused a 5x slowdown and because debiant was already 4x slower than debian11 it now times out.
https://bugs.winehq.org/show_bug.cgi?id=53484
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=53484
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |546638a8751feb0956c7b7705b4 | |865ad2484d287 Keywords| |regression
--- Comment #1 from François Gouget fgouget@codeweavers.com --- A bisect shows that the commit below causes the dxgi:dxgi run time to go from 70 to ~150 seconds on debiant; thus causing the timeout. This is probably because registry access is too slow.
commit 546638a8751feb0956c7b7705b4865ad2484d287 Author: Rémi Bernon rbernon@codeweavers.com Date: Fri Jul 1 06:56:54 2022 +0200
win32u: Read and cache adapter modes from the registry.
dlls/win32u/sysparams.c | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-)
https://bugs.winehq.org/show_bug.cgi?id=53484
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon@codeweavers.com
--- Comment #2 from Rémi Bernon rbernon@codeweavers.com --- This looks to be fixed since some time ago already.
https://bugs.winehq.org/show_bug.cgi?id=53484
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #3 from François Gouget fgouget@codeweavers.com --- Yes. It looks like it was fixed on 2022-10-14 though the exact commit is unidentified (the debiant configuration has not been modified since 2022-08-08 so the fix cannot come from this side).
More precisely: * Up to 2022-10-13 dxgi:dxgi timed out systematically on debiant. * From 2022-10-14 to 2022-10-24 it took about 80s to run. * On 2022-10-17 it still timed out on fg-deb64 (my i7-4790K desktop). * On 2022-10-18 it timed out on fg-deb64 and latestmaster, and crashed on debian11 and debiant. * On 2022-10-24 it timed out on master. * And since 2022-10-25 it takes about 50s to run.
So I'd say it's really fixed since 2022-10-25. But that still does not point to a specific commit.
https://bugs.winehq.org/show_bug.cgi?id=53484
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.21.