wine icon indicating copy to clipboard operation
wine copied to clipboard

Overwatch doest not refresh at 144hz on lutris wine 6.10-2

Open ondrani opened this issue 4 years ago • 20 comments
trafficstars

Hey, I updated wine to to lutris-6.10-2 and I noticed that game is no refreshing at 144hz even if it is set to 144hz. Changing to bordless mode and going back to fullscreen mode didnt't help. This happens only with the new lutris-6.10.-2 version

ondrani avatar Jun 13 '21 16:06 ondrani

How did you determine that it's not refreshing at that refreshrate?

tannisroot avatar Jun 16 '21 14:06 tannisroot

Simply by my eyes. The game is just not smooth. There is no difference if I set 60 hz or 144 hz. In game I have around 200 fps so it should be smooth with 144 hz but it's not. This is only on lutris-6.10-2.

ondrani avatar Jun 16 '21 16:06 ondrani

Can confirm, the frame delivery is not smooth in 6.10-2. It's so terrible it feels more like 30-40 fps gameplay.

Want to add this is an Nvidia card. The GPU usage seems to drop, some kind of CPU bottleneck causing choppy frame delivery. Almost certainly seems to be the lutris build.

SpookySkeletons avatar Jun 18 '21 04:06 SpookySkeletons

Still same with Lutris Wine 6.10-3 and Lutris Wine 6.10-3-fshack

ondrani avatar Jun 22 '21 13:06 ondrani

I can't reproduce this issue, I have my monitor overclocked to 75hz and there is a clear difference between that refreshrate and 60hz. What Desktop Environment do you use and what backend (I assume X11?). Also, does it happen with older versions?

tannisroot avatar Jun 22 '21 14:06 tannisroot

Operating System: Manjaro Linux
KDE Plasma Version: 5.22.1
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.12.10-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15,6 GiB of RAM
Graphics Processor: Radeon RX 570 Series

Also, does it happen with older versions? No it doesnt. As I said this only with the new lutris6.10-x version. Going back to lutris 6-4 or 5.7 is completely fine.

ondrani avatar Jun 22 '21 14:06 ondrani

Does this happen with regular Wine-staging 6.10?

tannisroot avatar Jun 22 '21 14:06 tannisroot

Can confirm, the frame delivery is not smooth in 6.10-2. It's so terrible it feels more like 30-40 fps gameplay.

Want to add this is an Nvidia card. The GPU usage seems to drop, some kind of CPU bottleneck causing choppy frame delivery. Almost certainly seems to be the lutris build.

Show me a screenshot of the game with DXVK_HUD envar set here with these values: image

tannisroot avatar Jun 22 '21 14:06 tannisroot

Operating System: Manjaro Linux
KDE Plasma Version: 5.22.1
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.12.10-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15,6 GiB of RAM
Graphics Processor: Radeon RX 570 Series

Also, does it happen with older versions? No it doesnt. As I said this only with the new lutris6.10-x version. Going back to lutris 6-4 or 5.7 is completely fine.

Also, does it happen with lutris-6.1-3?

tannisroot avatar Jun 22 '21 14:06 tannisroot

Operating System: Manjaro Linux
KDE Plasma Version: 5.22.1
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.12.10-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15,6 GiB of RAM
Graphics Processor: Radeon RX 570 Series

Also, does it happen with older versions? No it doesnt. As I said this only with the new lutris6.10-x version. Going back to lutris 6-4 or 5.7 is completely fine.

Also, does it happen with lutris-6.1-3?

lutris-6.1-3? No Wine-staging 6.10? yes

ondrani avatar Jun 22 '21 14:06 ondrani

Could you install downgrade utility from AUR and determine, based on your existing findings, the first wine-staging version in which this issue appeared, and the last version in which it worked normally?

tannisroot avatar Jun 22 '21 14:06 tannisroot

I moved to Kubuntu to test if the problem still remain and it is. I tried almost all wine version but still same. Maybe it is a problem in KDE. Probably it started by upgrading to Plasma 5.22. @tannisroot do you use gnome or plasma? I can try to downgrade to Plasma 5.21 and try if it works.

Should changing refresh rate in Overwatch work? If I change refresh rate in Overwatch nothing happens. In lutris 5.7, 6.0 the game feels like 144hz but still I feel some little stuttering. Any other wine version feels like 60hz.

ondrani avatar Jun 29 '21 22:06 ondrani

I tried almost all wine version but still same

What wine versions and from which sources?

Could you switch back to Manjaro and install downgrade utility from AUR and determine, based on your existing findings (6.1 is good, while 6.10 is bad), the first wine-staging version in which this issue appeared, and the last version in which it worked normally?

tannisroot avatar Jun 29 '21 23:06 tannisroot

I tried almost all wine version but still same

What wine versions and from which sources?

Could you switch back to Manjaro and install downgrade utility from AUR and determine, based on your existing findings (6.1 is good, while 6.10 is bad), the first wine-staging version in which this issue appeared, and the last version in which it worked normally?

lutris 6.1-3 is smooth on my 144hz but wine staging 6.1 is laggy as any other version of wine I tried. Only lutris 5.7 and 6.1 is working for me.

ondrani avatar Jul 01 '21 23:07 ondrani

With wine staging 6.12 I am not even able to launch the game. Fixes mentioned here doesn't work. Screenshot_20210708_003245

ondrani avatar Jul 07 '21 22:07 ondrani

Running game with manually suspended compositor and in borderless mode than the game is running at 144hz. But as of perfomance it's not the best as lutris 6.1. Like if I move a lot or running in game than it's still not smooth as lutris 6.1 or lutris 5.7.

Lutris 6.1 and 5.7 suspend the compositor automatically and it is smooth even in fullscreen mode. That's not happening with other wine/lutris wine versions.

ondrani avatar Jul 11 '21 20:07 ondrani

Running game with manually suspended compositor and in borderless mode than the game is running at 144hz. Can you rephrase that?

tannisroot avatar Jul 12 '21 07:07 tannisroot

Running game with manually suspended compositor and in borderless mode than the game is running at 144hz. Can you rephrase that?

I disabled KDE compositor by pressing ALT+SHIFT+F12 ~~Then I launched the Game, went to settings and changed display mode from fullscreen to borderless windowed.~~

Lutris 6.1 disabling compositor automaticlly and it doesnt matter if display mode is set to fullscreen or borderless mode. That's really nice because I don't need to reneable the composing each time I alt-tab from the game.

ondrani avatar Jul 12 '21 11:07 ondrani

So the problem is that wine doesnt suspend the compositor as lutris 6.1. I have to do it manually.

ondrani avatar Jul 12 '21 12:07 ondrani

On Wayland the 6.10 is running totally fine. On Xorg I have to disable composing (alt+shift+f12)

ondrani avatar Jul 13 '21 00:07 ondrani