https://bugs.winehq.org/show_bug.cgi?id=43049
Bug ID: 43049 Summary: League of Legends: massive performance regression Product: Wine Version: 2.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx9 Assignee: wine-bugs@winehq.org Reporter: hevanen@googlemail.com Distribution: ---
League of Legends ran at about 80-150 fps with wine-staging 2.4, with 2.6 and 2.7 it runs at ~20 fps and since 2.8 the game is just a slideshow (4-5 fps, though the in-game fps counter still claims 15-20 fps). These figures are with CSMT enabled.
It is worth noting that the first few seconds of the game run at decent frame rates and more importantly, that alt+tabbing out of the game and back temporarily boosts the frame rate back to 80 fps. It then quickly falls back to 5-20 fps over the next ~5 seconds. This makes it seem like some resources are not being properly released or something similar.
I also tested with vanilla wine 2.8 and the behavior is very similar, so it's not a staging-only problem.
The graphics card is a RX 470 with the RadeonSI driver.
https://bugs.winehq.org/show_bug.cgi?id=43049
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Downgrading wine makes it run faster again? Just to make sure it's a regression.
Then, could you run a Regression test (https://wiki.winehq.org/Regression_Testing)?
If not, I could look into it the coming days. It would be useful to know the commit that introduced the issue.
https://bugs.winehq.org/show_bug.cgi?id=43049
--- Comment #2 from David K. hevanen@googlemail.com --- Yes, downgrading to 2.4 or 2.4-staging restores performance. 2.5 is the first bad release.
I have tried to run a regression test, but while setting up a LXC container for the 32-bit build, I ran into the problem described here: https://forum.winehq.org/viewtopic.php?f=8&t=28274 I haven't had time yet to look into it further.
https://bugs.winehq.org/show_bug.cgi?id=43049
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- Thanks for testing. Unfortunately I can't seem to get it working at all, the game simply doesn't start or can't connect to the server. Need to look into that first before I can try bisecting it for this issue. There's still a lot of other issues plaguing the new client.
https://bugs.winehq.org/show_bug.cgi?id=43049
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx9 |-unknown
https://bugs.winehq.org/show_bug.cgi?id=43049
David K. hevanen@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #4 from David K. hevanen@googlemail.com --- This has been fixed at some point. It seemed to be caused by certain spell effects which permanently reduced the frame rate until using Alt+Tab.
However, a test with patch 8.12 and Wine 3.10-staging got me a relatively stable 150 fps without any major frame drops. As of patch 8.13, LoL has an anti-cheat protection that does not work with Wine, so it would be hard to test it now in any case.
https://bugs.winehq.org/show_bug.cgi?id=43049
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.12.