cancel
Showing results for 
Search instead for 
Did you mean: 
hendersj
Stadia Player
Stadia Player

Mouse input is broken

I scanned through the mouse-related questions, and none of them seemed to really reflect what I'm seeing.  I use Stadia on Chrome on a Linux system (openSUSE Leap 15.2) with a Wacom tablet and its cordless mouse.  Up until a couple of weeks ago, it worked fine and was completely usable.

But something changed - I'm not sure what - and now the mouse is pulled rapidly to the edges of the screen.  I tried both in Destiny 2 and Control, and in both games, once the mouse is captured, it's dragged *hard* to the edges of the screen.  I can move it around the center of the screen using very, *very* controlled and small movements, but it's just completely unusable for gaming.

Outside Stadia, the mouse works perfectly fine.  The mouse acceleration is as expected, nice and smooth, and it's not pulled to the edges of the screen.  It's only once the pointer is captured by Stadia that the acceleration is "cranked up to 11" (figure of speech, there, not an actual setting) and this "pull" happens.

How can I fix this?  I'm a long-time Linux user (going on 20 years), and I've never seen an app have this kind of issue before.

0 Kudos
12 Replies
Barthandelus
Silver Stadia Guide
Silver Stadia Guide

Hello @hendersj,

What's your mouse polling rate ?
I had a similar issue (the same, but not always, like 1sc every 5sc) when my polling rate was 1000Hz, fixed using 125Hz.

1 Kudo
hendersj
Stadia Player
Stadia Player

Thanks, I'll give that a try.   It looks like my setting is 250Hz. Weird that it worked fine up until a couple weeks ago.

0 Kudos
hendersj
Stadia Player
Stadia Player

Unfortunately, that doesn't seem to be working for me, but I noticed that after I made the recommended configuration changes (taken from https://wiki.archlinux.org/title/mouse_polling_rate), the polling rate wasn't changed after a reboot, but if I made the changes after doing an unload/reload of usbhid (which required a reload of the wacom driver as well), the output from systool showed the mousepoll rate set to what I wanted, but the output from the grep command showed no change in the Spd or Ivl values (Ivl still = 4ms, which corresponds to 250 Hz).

0 Kudos
Barthandelus
Silver Stadia Guide
Silver Stadia Guide

Hello @hendersj,

Could you please provide us a video caption of your incident ?

0 Kudos
hendersj
Stadia Player
Stadia Player

Sure thing - I've got two captures, both from Destiny 2 - I see the same behavior in other games as well.

For this first capture:

https://stadia.google.com/capture/5ba8893e-a330-43d1-a114-0903fbb143fa

I managed to get into a first-person view area and got the mouse centered, took a couple steps forward, and then moved the mouse to look around.  The rest of the clip is my attempt to get it re-centered.

For this second clip:

https://stadia.google.com/capture/e7e3f313-31ed-42fc-a8af-fdd5e78afe56

I spent the first 15s trying to get the mouse just to the center of the character screen.  At the end, I managed to click "Triumphs" and spent the rest trying to click on either of the flashing icons.

Thanks again!

0 Kudos
Barthandelus
Silver Stadia Guide
Silver Stadia Guide

Hello @hendersj,

Ok now I understand. it's not really the same incident people does have with mouse.
Most people have their camera moving straight forward, like if it was teleporting.

It's not your incident. It's most likely that your mouse slides, it seems to take a bit time to reach a corner, isn't it ?
We saw it clearly on your second video.

Could you please try to disable mouse acceleration ? Maybe it's sending something it shouldn't to Stadia ?

EDIT : Just in case of.. when your mouse goes from top right to top left corner of your screen, are you moving your mouse all along the movement, or does it continue to move alone, after you did stop to move your mouse ? Not sure I'm clear.

0 Kudos
hendersj
Stadia Player
Stadia Player

Actually, it's kinda the opposite - the mouse is dragged to the edges and corners.  Getting to the center of the window is very difficult (in Destiny 2, the mouse is used for looking rather than moving; the keyboard is used for lateral movement).

The puzzling thing for me is that it worked just fine up until about 3-4 weeks ago.  I have tried disabling acceleration to no avail.

To answer the question in your edit.  If I take my hand off the mouse, it stops moving only if it hits a corner.  See:

https://stadia.google.com/capture/60460de6-abb1-42d0-90bd-db185dbf5aea

The diagonal movement at the end is with my hand completely removed from the mouse.  I just tried one other thing (as it's a Wacom Intuos 4, the mouse is powered by induction through the tablet itself - the mouse itself has no internal power source) - which was removing it from the pad.  With no input from the mouse device itself, the pointer does stop.  But if I leave it on the pad and just stop touching the mouse, it does keep moving as seen in the video.  All of my hand movements through all three videos are very minimal as well - I'm moving the mouse no more than a few millimetres at any time.  It's almost like the mouse resolution has had a multiplier added to it.

Outside Stadia, the acceleration and movement operates without issue.

0 Kudos
Barthandelus
Silver Stadia Guide
Silver Stadia Guide

Hello @hendersj,

That's a strange incident.

Could you please try with another mouse but with the same configs ?
If it's the same, it's probably due to network (like the frames are sended multiples times ?) If it's not it came from the mouse itself.

0 Kudos
hendersj
Stadia Player
Stadia Player

Tried a Bluetooth mouse, and it behaved properly - so it seems to be something with the Wacom, just have to figure out what changed to break it now.  Thanks for the help!

1 Kudo
Barthandelus
Silver Stadia Guide
Silver Stadia Guide

Hello @hendersj,

If you find out what cause this incident, don't hesitate to share here !
It will probably be usefull for more than one Stadian. :thumbs_up:

0 Kudos
hendersj
Stadia Player
Stadia Player

Will do - I've done an upgrade to openSUSE Leap 15.3, but that hasn't affected it, so I've taken it to the openSUSE forums to see if I can get some pointers there - failing that, I'll ask the Wacom linux driver developer's mailing list.  No doubt it's something similar to the polling rate fix that's describe on the Arch Linux wiki, but it's going to have to be something other than a configuration for usbhid, since that didn't work when I tried it (makes sense, that would be a more generic driver than the wacom driver).

1 Kudo
hendersj
Stadia Player
Stadia Player

Just a quick update - I spent some time a few weeks ago working with the driver developers who work on the linuxwacom driver - turns out that my tablet is plugged into an xHCI USB adapter, which doesn't allow changing the polling interval.  I need to find some time to test on an EHCI port, but ultimately with the way things are set up, it would be ideal if this could be addressed in Stadia directly (the EHCI ports are on the front of my machine, and I use a USB switchbox to switch my keyboard and mouse between two systems, and my tablet would need to be disconnected from the switchbox because of cable lengths on the switch - the cable for the keyboard and mouse connections isn't long enough to reach the front and back of the machine, and I wouldn't want to use both front ports since they're intended for flash drives and the like).

0 Kudos