https://bugs.winehq.org/show_bug.cgi?id=47431
Bug ID: 47431 Summary: Steam and wineserver too high CPU usage Product: Wine Version: unspecified Hardware: x86 URL: https://steamcdn-a.akamaihd.net/client/installer/Steam Setup.exe OS: Linux Status: NEW Keywords: regression Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: zzhang@codeweavers.com Regression SHA1: 074abfe097e31d382772aaa5fc8fdee45bbc2656 Distribution: ArchLinux
Created attachment 64778 --> https://bugs.winehq.org/attachment.cgi?id=64778 terminal output
Steam.exe and the wineserver processes consume much more cpu power than they used to, even when Steam is idling. On my rather old system equipped with a dual-core AMD processor, htop shows that Steam.exe constantly consumes 35-40% cpu power, wineserver 55-60%. This was tested with the game library page opened and while Steam was idling. Before the regression: Steam.exe: 12-15%, wineserver: 5-6 %. It's not just the Steam client that reacts more slowly to mouse input, e.g. when browsing through the list of installed games, but every game started inside Steam has a noticeable performance hit.
The commit that caused the problem:
commit 074abfe097e31d382772aaa5fc8fdee45bbc2656 Author: Zhiyi Zhang zzhang@codeweavers.com Date: Tue Jun 25 16:38:38 2019 +0800
winex11.drv: Use generic EnumDisplayMonitors.
The problem happens both in Wine's fullscreen and virtual desktop mode. I have a single monitor setup and using XFCE on Arch Linux.
wine-4.11-192-g90a1e5d943 OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GT 730/PCIe/SSE2 OpenGL core profile version string: 4.6.0 NVIDIA 418.52.10