https://bugs.winehq.org/show_bug.cgi?id=54223
--- Comment #6 from CHECK_1234 CHECK_1234543212345@protonmail.com --- (In reply to Béla Gyebrószki from comment #5)
Could you please perform a regression test to find out which commit is to blame? https://wiki.winehq.org/Regression_Testing
I can reproduce the performance drop between 7.0 and 8.0-rc2 on Nvidia drivers 525.47.04. Using the method described in comment #0 I'm experiencing ~35% drop in FPS in Unigine Heaven when comparing Wine-7.0 to 8.0-rc2 (Quality: Low, Resolution: 1280x720,Fullscreen: Unchecked).
OS: Arch Linux Kernel: linux-zen 6.1.1.zen1-1 CPU: Ryzen 5 5600X GPU: GTX 1660S 6 GB GPU driver: NVIDIA 525.47.04 Window Manager: XFCE 4.18 Compositor: disabled
In my case the performance drop is due to commit 7c844cd3c9c465bdeaf3d98d6da5f2f5e460e650 Also mentioned in bug #53408.
I also noticed that the performance penalty in recent Wine occurs when cpu frequency-scaling is enabled in the OS. When the cpu is set to a constant frequency, instead of dynamically changing, then current Wine 8.0-rc2 scores better in Unigine Heaven than 7.0 does.
Update 2:(In reply to Béla Gyebrószki from comment #5)
Could you please perform a regression test to find out which commit is to blame? https://wiki.winehq.org/Regression_Testing
I can reproduce the performance drop between 7.0 and 8.0-rc2 on Nvidia drivers 525.47.04. Using the method described in comment #0 I'm experiencing ~35% drop in FPS in Unigine Heaven when comparing Wine-7.0 to 8.0-rc2 (Quality: Low, Resolution: 1280x720,Fullscreen: Unchecked).
OS: Arch Linux Kernel: linux-zen 6.1.1.zen1-1 CPU: Ryzen 5 5600X GPU: GTX 1660S 6 GB GPU driver: NVIDIA 525.47.04 Window Manager: XFCE 4.18 Compositor: disabled
In my case the performance drop is due to commit 7c844cd3c9c465bdeaf3d98d6da5f2f5e460e650 Also mentioned in bug #53408.
I also noticed that the performance penalty in recent Wine occurs when cpu frequency-scaling is enabled in the OS. When the cpu is set to a constant frequency, instead of dynamically changing, then current Wine 8.0-rc2 scores better in Unigine Heaven than 7.0 does.
Update 2: commit 86f0ae8efb17ce688986971d24c3e25840a2beef ( https://gitlab.winehq.org/wine/wine/-/commit/7c844cd3c9c465bdeaf3d98d6da5f2f... ) caused this performance regression according to git bisect
⬤ System Information:
OS: Ubuntu 22.10 Kernel: 6.1.0 CPU: Ryzen 7 1700 GPU: XFX RX580 4GB Window Manager: OpenBox Compositor: No Compositor, Xorg TearFree Disabled
⬤ Commit that caused this performance regression found!
I decided to do the git bisect and compile wine following that "Regression Testing - WineHQ Wiki" guide.
I noticed that when I stopped doing ./configure in between "git bisect good" or "git bisect good", wine compiled faster.
When it finished bisecting, this commit caused this severe performance regression
------------------------------------------------------------------- commit 86f0ae8efb17ce688986971d24c3e25840a2beef (refs/bisect/bad) Author: Zebediah Figura zfigura@codeweavers.com Date: Tue Feb 8 20:34:03 2022 -0600
wined3d: Use the chunk allocator for GL uniform buffers.
Signed-off-by: Zebediah Figura zfigura@codeweavers.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org -------------------------------------------------------------------
Wow, you were right about commit 86f0ae8efb17ce688986971d24c3e25840a2beef ( https://gitlab.winehq.org/wine/wine/-/commit/7c844cd3c9c465bdeaf3d98d6da5f2f... ) causing this severe performance regression! Thanks for helping to solve this problem!
⬤ Conclusion
Hopefully someone can fix this severe performance regression caused by commit 86f0ae8efb17ce688986971d24c3e25840a2beef ( https://gitlab.winehq.org/wine/wine/-/commit/7c844cd3c9c465bdeaf3d98d6da5f2f... )
If this problem is not fixed by the time Wine 8.0 stable gets released and proton updates to Wine 8.0. anyone using "PROTON_USE_WINED3D=1" on a DirectX11 Steam game might have this severe performance regression. Hopefully this can get fixed quickly before Wine 8.0 stable gets released.