Gaming mouse causes stutter in games

Questions about Wine on Linux
Locked
june18
Newbie
Newbie
Posts: 4
Joined: Sat Oct 24, 2020 2:52 am

Gaming mouse causes stutter in games

Post by june18 »

When I play FFXIV and press a special button on my mouse (Logitech G402), the game will always stutter briefly. It does not stutter when I don't use those buttons, it only occurs for a moment after pressing it, like pressing the buttons will cause the game to hang for a moment or something.

Console shows this message everytime a special mouse button is pressed:

Code: Select all

0138:fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x4090409, 0000: semi-stub!
The buttons are mapped to "7", "8" and "9" (regular text key strokes). Since the message says "keyboard layout" I figured I'd try setting my layout to English US and try again but the same problem occurs. The message appears both in-game and in the launcher (not that I need the buttons there). I normally use Gnome but I tried in openbox too and that didn't change it.

Does anyone know what could be causing this?
june18
Newbie
Newbie
Posts: 4
Joined: Sat Oct 24, 2020 2:52 am

Re: Gaming mouse causes stutter in games

Post by june18 »

Anyone...?
steveebey73742
Level 2
Level 2
Posts: 16
Joined: Mon Apr 03, 2017 5:31 pm

Re: Gaming mouse causes stutter in games

Post by steveebey73742 »

What version of wine? Have you checked bug reports? I think I remember seeing an issue, about raw input in one of the older versions of wine. Do you compile, or use a distro version? Are you running wine, or wine-staging? What distro and version number of Linux are you running? What hardware are you running on? You need to help us, so we can help you.
june18
Newbie
Newbie
Posts: 4
Joined: Sat Oct 24, 2020 2:52 am

Re: Gaming mouse causes stutter in games

Post by june18 »

steveebey73742 wrote: Wed Oct 28, 2020 9:32 am What version of wine? Have you checked bug reports? I think I remember seeing an issue, about raw input in one of the older versions of wine. Do you compile, or use a distro version? Are you running wine, or wine-staging? What distro and version number of Linux are you running? What hardware are you running on? You need to help us, so we can help you.
Arch with linux-5.4.72-1-lts, nvidia-lts 455.28-7, wine-staging 5.19 from official Arch multilib repo, I just updated to 5.20 and the problem persists. I checked WineHQ Bugzilla and there don't seem to be any related existing bug reports. https://bugs.winehq.org/show_bug.cgi?id=42796 appears similar on first glance but they're talking about 3 specific lines that repeat, when for me it is only

Code: Select all

03d0:fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x4090409, 0000: semi-stub!
every 1-2 seconds even when I spam the extra buttons. Relevant hardware as I said is Logitech mouse G402. i7-4790k, Nvidia 970, which I don't know if they're really relevant as this seems to be an issue between Wine and X11.
june18
Newbie
Newbie
Posts: 4
Joined: Sat Oct 24, 2020 2:52 am

Re: Gaming mouse causes stutter in games

Post by june18 »

This problem also appears for me in Doom (2016) via Steam/Proton.
steveebey73742
Level 2
Level 2
Posts: 16
Joined: Mon Apr 03, 2017 5:31 pm

Re: Gaming mouse causes stutter in games

Post by steveebey73742 »

you might try to build wine from source, and include --with-x in the configure statement. Also check that X has the proper hardware driver for the mouse, and that it is not just using a generic mouse driver.
Locked