https://bugs.winehq.org/show_bug.cgi?id=52180
Bug ID: 52180 Summary: Significant performance regression in The Sims 2 Product: Wine Version: 6.23 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: sashok.olen@gmail.com CC: huw@codeweavers.com, jacek@codeweavers.com Regression SHA1: c4b258eff75d54fdc0eb9b1843db5f77318f836c Distribution: ---
Hi, between Wine 6.22 and Wine 6.23, The Sims 2 suffered a significant performance decrease. Through bisect, I've discovered multiple changes that contributed to this. Here is the progress of performance degradation between 6.22 and 6.23 version, tested on a machine with AMD Ryzen 3800X by loading into the "Pleasant" family in the "Pleasantville" neighborhood and focusing on one of the household members and zooming the camera out all the way out during clear weather. The graphical backend used during tests was DXVK due to Wined3d not working with the game (only wine-staging does, and even that has a lot of graphical issues and is a lot slower). And while Sims 2 doesn't have a built-in benchmark tool, I've found that the value differences have been quite consistent and reliably reproduced. wine-6.22 - 47-44 fps commit d7133c97d91a0dbc746a4c9711831f45704c8b43 - 9-1 fps commit 318673405c6296342ef49177de26440f69a4b0be - 44-39 fps commit c4b258eff75d54fdc0eb9b1843db5f77318f836c - 36-30 fps wine-6.23 - 36-30 fps
I was not sure which commit to specify as the offender so I specified c4b258eff75d54fdc0eb9b1843db5f77318f836c as one. It should be noted that the game suffered a similar performance regression in the past (see https://bugs.winehq.org/show_bug.cgi?id=51047), which might be related or give a clue as to what the issue is. And while it's not really relevant, it should be noted that the game is generally very CPU-bound and runs quite a lot slower with wine+DXVK than Windows10+DXVK, roughly 2-3 times slower. In case it might be useful, here's an apitrace of the game: https://drive.google.com/file/d/158QpcQ98n2h2xCSkpvPFpiwqYkydIRqk/view?usp=s...