protonscr

High values of mouse polling rate cause severe stuttering when moving the camera

dxvkclosed wine bug
doitsujin/dxvk#1001 · opened 2019-04-05 by Zeioth · updated 2019-04-20 · 7 comments · github
ZZeioth 2019-04-05 github

When the mouse works with a polling rate of more than 125hz, games show severe stuttering and high frametimes, ONLY when the player move the camera. Everything else seem to run smooth.

Affect the next games

  • Sekiro: Polling rate 1000, or 500 cause frametimes spikes and stuttering when the player move the camera. Polling rate 125 fixes the issue.
  • Quake Champions: Polling rate 1000 cause frametimes spikes and stuttering when the camera move quickly. Polling rate 125 fixes the issue.
  • The witcher 3: Polling rate 1000 cause frametimes spikes when the camera move too fast, but it doesn't produce stuttering. Polling rate 125 fixes the issue.
  • Doom 2016: Polling rate 1000 cause frametimes spikes and stuttering when the camera move too fast. Polling rate 125 or 500 fixes the issue.

It doesn't affect the next games

  • Bioshock: Infinite: Linux native OpenGL game. Runs perfect with any polling rate.
  • Portal 1: Linux native OpenGL game. Runs perfect with any polling rate.
  • Nier: Automata: Runs perfect with any polling rate. Maybe because the camera move extremely slow.

Other people reporting this bug:

Ultimate Doom FPS drops with higher mouse polling rate.
High polling mouse causes stutter in editor.

How to reproduce

In the game 'Sekiro', press the physical DPI button of your mouse, and move the camera.

System information

  • Distro: Arch antergos XFCE
  • Kernel: Linux 5.0.5.arch1-1
  • GPU: Ryzen 1700
  • Driver: 418.49.4
  • Wine version: 4.5-tkg
  • DXVK version: Tested with master and 1.0.2, but probably affects all the other versions.
  • Mouse: BenQ Zowie EC2-A
Llibcg 2019-04-05 github

This is not necessarily a DXVK issue. Did you try on Windows?

Mmisyltoad 2019-04-05 github

I have a kernel issue, please fix it in your graphics library!

ZZeioth 2019-04-06 github

Not necessarily, but I want to hear doitsujin opinion about the issue. Worst case scenario, we'll find out the right place to report it. Please, try to reproduce the issue.

ZZeioth 2019-04-06 github

I've been able to reproduce it in Doom 2016, which doesn't use DXVK. So most likely is a Wine issue. Any recommendation to make this reach the right eyes?

Mmisyltoad 2019-04-06 github

So most likely is a Wine issue.

Testing a few (true) native games would be a good idea here.

Ddoitsujin maintainer 2019-04-06 github

I don't really see the point in reporting this here at all, especially if Doom is affected. I'm aware of this problem and am affected myself, but it's not like there's if (mousePollingRate > 125) makeEverythingSlow in my code.

Please report this on the proton bug tracker.

ZZeioth 2019-04-06 github

Issue moved to Proton:
https://github.com/ValveSoftware/Proton/issues/2455

And Wine:
https://forum.winehq.org/viewtopic.php?f=8&t=32235

ISSUE FIXED:
Bug solved by flashing the last available version of my bios (B350 tomahawk arctic). More info here:
https://github.com/ValveSoftware/Proton/issues/2455#issuecomment-485168755