[Bug 46976] New: All games suffer from moderated to severe stuttering with mouse polling ~1000

classic Classic list List threaded Threaded
19 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 46976] New: All games suffer from moderated to severe stuttering with mouse polling ~1000

Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=46976

            Bug ID: 46976
           Summary: All games suffer from moderated to severe stuttering
                    with mouse polling ~1000
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: xinput
          Assignee: [hidden email]
          Reporter: [hidden email]
      Distribution: ---

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


How to reproduce:
    * Use a mouse with a polling rate of 1000.
    * Open any game with wine, using any frametimes measurement tool.
    * Move the camera quickly in circles. You will experience severe stuttering
and frametimes spikes.
    * The issue is solved when the mouse use a polling rate of 125hz


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
    * And every other game I've tested


Wine versions tested:
    * 3.16 stating + dxvk 0.61 (Can reproduce)
    * 3.18 stating + dxvk 0.61 (Can reproduce)
    * 3.20 tkg + dxvk 0.61 (Can reproduce)
    * 4.0 + dxvk 0.61 (Can reproduce)
    * 4.5 + dxvk 0.61 (Can reproduce)
    * 4.5 + dxvk 1.0.2 (Can reproduce)
    * 4.5 (Can reproduce) -> Pure wine on command line, no lutris, dxvk... etc.
    * esync-staging-pba-3.16 + dxvk 0.61 -> This build doesn't present FPS
drops when the player move the camera. In sekiro, the camera jiggers instead.
All other games run without camera stuttering.


Video demostration: https://youtu.be/5dAHbvSS-P8


To find more details about this issue, please read:
* https://github.com/ValveSoftware/Proton/issues/2455#issuecomment-480502473
* https://forum.winehq.org/viewtopic.php?f=8&t=32235


Personal notes:
Feel free to ask me anything you need. I'm willing to help as much as I can.
Regards.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 46976] All games suffer from moderated to severe stuttering with mouse polling ~1000

Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=46976

--- Comment #1 from [hidden email] ---
Doom 2016 is recommended for testing this issue, since it provides it own
frametimes tool, and run on pure wine out of the box (you can enable the
frametimes tool in the in-game settings).

You can run the game with:
WINEPREFIX="~/doom" "~/doom/drive_c/Games/Doom 2016/DOOMx64vk.exe" >
~/doom2016.log

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 46976] All games suffer from moderated to severe stuttering with mouse polling ~1000

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=46976

--- Comment #2 from [hidden email] ---
System info:
* Distro: Arch Antergos (XFCE+Xorg)
* CPU: Ryzen 1700
* Memory: 16 Gb
* GPU: Nvidia 1070
* Mouse: Zowie EC2 B

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 46976] All games suffer from moderated to severe stuttering with mouse polling ~1000

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=46976

pattietreutel <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 46976] All games suffer from moderated to severe stuttering with mouse polling ~1000

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=46976

--- Comment #3 from [hidden email] ---
Proof that my mouse is actually running at 1000hz:
https://i.imgur.com/qiFh8EU.png

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 46976] All games suffer from moderated to severe stuttering with mouse polling ~1000

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=46976

Taha <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #4 from Taha <[hidden email]> ---
I can't reproduce this with wine 4.5 with Doom (2016). I also play Unreal
Tournament 4 and this bug doesn't happen there either. I tried both 1000 Hz and
125 Hz and there was no difference.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 46976] All games suffer from moderated to severe stuttering with mouse polling ~1000

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=46976

--- Comment #5 from Taha <[hidden email]> ---
System info:
* Distro: Arch (KDE+Xorg)
* CPU: i5 6400t
* Memory: 16 Gb
* GPU: Nvidia 1060
* Mouse: Logitech G305

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 46976] All games suffer from moderated to severe stuttering with mouse polling ~1000

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=46976

--- Comment #6 from Taha <[hidden email]> ---
Does the bug still occur if you manually disable the compositor in XFCE? I am
going to try Quake Champions using proton to see if I can reproduce it there.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 46976] All games suffer from moderated to severe stuttering with mouse polling ~1000

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=46976

--- Comment #7 from [hidden email] ---
It's reproducible with, and without the compositor enabled. Also, this bug
seems to be much more obvious in games frame capped for some reason.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 46976] All games suffer from moderated to severe stuttering with mouse polling ~1000

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=46976

--- Comment #8 from [hidden email] ---
Same bug, on Sekiro:
https://www.youtube.com/watch?v=r9iIK2k19QM&feature=youtu.be

(Sorry for the video quallity)

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 46976] All games suffer from moderated to severe stuttering with mouse polling ~1000

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=46976

--- Comment #9 from Taha <[hidden email]> ---
I couldn't reproduce with Quake Champions with or without the FPS cap. esync is
disabled since that game doesn't play nicely with it. I am running linux 4.19.
I'll try Sekiro since it seems to have very visible spikes.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 46976] All games suffer from moderated to severe stuttering with mouse polling ~1000

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=46976

--- Comment #10 from [hidden email] ---
In sekiro you will notice it inmediately using mouse polling 1000, even without
the frametimes graph.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 46976] All games suffer from moderated to severe stuttering with mouse polling ~1000

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=46976

Olivier F. R. Dierick <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #11 from Olivier F. R. Dierick <[hidden email]> ---
Hello,

Possible duplicate of bug 33643.

Regards

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 46976] All games suffer from moderated to severe stuttering with mouse polling ~1000

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=46976

--- Comment #12 from Taha <[hidden email]> ---
Could not reproduce with Sekiro either:
https://www.youtube.com/watch?v=uE0_NZUzf-E

Mouse rate: https://i.imgur.com/797BoLx.jpg

I ran the game with Lutris's tkg-protonified-faudio-4.5 with DXVK and without
esync. I am not using a legit copy so that might be why but I couldn't
reproduce with the free quake champions either

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 46976] All games suffer from moderated to severe stuttering with mouse polling ~1000

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=46976

--- Comment #13 from [hidden email] ---
Thank you for your response Taha. I'm gonna do my best to isolate the issue.
Could you please post the output of journalctl -f when you plug the mouse?

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 46976] All games suffer from moderated to severe stuttering with mouse polling ~1000

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=46976

--- Comment #14 from Taha <[hidden email]> ---
https://pastebin.com/raw/BBZm7mw2

Isolating this issue seems like a major pain. I would personally try a
different computer first or maybe dual boot (with different configurations like
a different distro or DE) and use a different mouse.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 46976] All games suffer from moderated to severe stuttering with mouse polling ~1000

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=46976

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #15 from [hidden email] ---
Indeed! But I think I solved the issue!!

I tested my mouse in another laptop, and I couldn't reproduce the issue. It
seemed to be a hardware issue somehow. So I checked my motherboard's page:
https://i.imgur.com/lqglwOo.png

And bingo. After flashing the update, the stuttering issue dissapeared. I think
we can close this issue. I'll inform all the other people affected and
hopefully it will solve their problem too. I gave you a lot of work. Thank you
so much Taha.

Solution tested with:

* Sekiro
* Quake Champions
* Doom 2016

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 46976] All games suffer from moderated to severe stuttering with mouse polling ~1000

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=46976

Olivier F. R. Dierick <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WORKSFORME                  |NOTOURBUG

--- Comment #16 from Olivier F. R. Dierick <[hidden email]> ---
Hello,

Glad to know that you found a fix for your issue.

I change the resolution to NOTOURBUG, because the cause was identified as a bug
in the firmware.

Regards

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 46976] All games suffer from moderated to severe stuttering with mouse polling ~1000

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=46976

Alistair Leslie-Hughes <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #17 from Alistair Leslie-Hughes <[hidden email]> ---
Closing.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.