(Polling rate >= 1000) Produce stuttering in all wine games

Questions about Wine on Linux
Locked
zeioth
Level 1
Level 1
Posts: 5
Joined: Thu Mar 28, 2019 8:36 am

(Polling rate >= 1000) Produce stuttering in all wine games

Post by zeioth »

Description: Any game running over Wine will stutter under the next conditions:

How to reproduce
  • The polling rate on the mouse is 1000hz.
  • The player moves the camera.
  • The issue is solved when the mouse use a polling rate of 125hz
  • I recommend you to test this issue with the game Sekiro, since the issue is extremely noticeable in this game.
This issue doesn't affect linux native games. This fact has been tested with the games:
  • Bioshock: Infinite
  • Portal 1
This issue does Affect the next Wine (non DXVK) games:
  • Doom 2016
This issue does affect the next wine games:
  • Sekiro
  • Quake Champions
  • The witcher 3
  • Quake Champions
  • Paladins
To find more details about this issue, please read this:
https://github.com/ValveSoftware/Proton ... -480502473
Cybermax
Level 4
Level 4
Posts: 218
Joined: Fri Dec 01, 2017 5:26 pm

Re: (Polling rate >= 1000) Produce stuttering in all wine ga

Post by Cybermax »

If someone with knowledge how to fix this is EVER going to even set a status other than "unconfirmed" on this issue, you HAVE to post a bug on bugzilla.

When did it start happening?
Logs?
Bisect exct patch this happened with
Is it reproducible with a CLEAN wine-devel? No staging, esync, dxvk, proton++ cos wine devs cant do anything about that anyway.
And so on and so forth.

And if you ARE lucky and it is reproducible with a clean standard wine-devel, it might get fixed :)
zeioth
Level 1
Level 1
Posts: 5
Joined: Thu Mar 28, 2019 8:36 am

Re: (Polling rate >= 1000) Produce stuttering in all wine ga

Post by zeioth »

Cybermax thank you for your response:

When did it start happening? Since forever, it affects all wine versions (I've tested from 3.16 to 4.5)

Logs? They don't show anything special, but here you have https://pastebin.com/raw/66UxXyHC

Bisect exct patch this happened with: This behaviour have been always there so there's nothing I can bisect.

Is it reproducible with a CLEAN wine-devel? No staging, esync, dxvk, proton++ cos wine devs cant do anything about that anyway:
Yes, I've tested Doom 2016 with pure wine 4.5, running it with the command:
WINEPREFIX="~/doom" "~/doom/drive_c/Games/Doom 2016/DOOMx64vk.exe" > ~/doom2016.log

Video showing the issue: https://youtu.be/5dAHbvSS-P8
from 0:00 to 0:20 - Polling rate 1000 -> You can see severe suttering in the frametimes graph.
from 0::20 to 0:20 - Polling rate 125 -> Everything is fine here.

(In case you were wondering, yes, the issue also happen when I'm not recording video)
Cybermax
Level 4
Level 4
Posts: 218
Joined: Fri Dec 01, 2017 5:26 pm

Re: (Polling rate >= 1000) Produce stuttering in all wine ga

Post by Cybermax »

Good. I see you posted a bug for this: https://bugs.winehq.org/show_bug.cgi?id=46976

Hopefully someone is able to figure something out :)
Locked