https://bugs.winehq.org/show_bug.cgi?id=51047
Bug ID: 51047 Summary: Significant performance regression in The Sims 2 Product: Wine Version: 5.14 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: sashok.olen@gmail.com CC: zzhang@codeweavers.com Regression SHA1: 9905a5a81d6baf59e992c5b2a8ea92ee4054e5d6 Distribution: ArchLinux
Hi, through regression testing I've discovered that commit 9905a5a81d6baf59e992c5b2a8ea92ee4054e5d6 Author: Zhiyi Zhang zzhang@codeweavers.com Date: Fri Jul 24 17:23:21 2020 +0800
winex11.drv: Add XRandR 1.4 display settings handler.
which was first included in 5.14 release, caused The Sims 2 - Ultimate Collection from Origin (no longer available for purchase) to experience a significant reduction in performance. For instance, in my save game, in Living Mode, frames per second drop from around 70 in Wine 5.13 to around 5 in Wine 5.14, and in Neighborhood mode, they drop from around 140 to 40 (can't give precise numbers due to The Sims 2 lacking any internal benchmarking tools, but the significant difference in FPS is always there and it's very noticeable and consistent). Should note that this issue applies both to WineD3D and third-party DXVK D3D9 implementation (for wined3d, you need staging with this game), and that I've previously discovered through an apitrace recording that this game seems to call IDirect3DDevice9::GetDisplayMode very often, sometimes 100 times per draw call, which could be related, seeing how the regression is in winex11. As this game is no longer available for purchase, I'm willing to temporarily lend my Origin account with this game for testing purposes. However, I think it's also available through Internet Archive, though not sure how legal that is.