steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

Streaming Linux to Linux - Mouse far too sensitive (using laptop trackpad?) - Witcher 2, Goat Simulator, ...

Open apocalyptech opened this issue 11 years ago • 11 comments

I'm not sure if this would be a bug in Witcher 2 or in Steam, but when I use In-Home streaming (from Linux to Linux), the mouse in Witcher 2 becomes extraordinarily sensitive, to the point where it's quite difficult to use the menus. The in-game mouse sensitivity setting was already quite low, and setting it to its minimum level doesn't really help much.

I've started up a few other games (XCOM, Portal 2, etc) and the mouse was fine in those, so it's something related to just that game, though I suppose it's possible it could be happening in others as well.

Both are on steam package version 1410299342.

apocalyptech avatar Sep 14 '14 04:09 apocalyptech

Hello, I've found out that this appears to be the case with Goat Simulator as well. Steam version 1412284859 now.

apocalyptech avatar Oct 04 '14 01:10 apocalyptech

Hm, seems there's a thread on the Steam forums about this as well: http://steamcommunity.com/groups/homestream/discussions/1/540736587115642793/

The most recent post there posits that the problem is related to hardware vs. software cursors. Apparently a game that lets you choose works great with hardware cursors, but extremely sensitive with software.

apocalyptech avatar Oct 04 '14 03:10 apocalyptech

Oh, and one other thing to note: also in that thread, it was mentioned that the problem might be limited to trackpads on laptops, which seems to be the case as well. If I use the little mouse-nub thing on my laptop keyboard, instead of the trackpad, the mouse sensitivity is fine.

apocalyptech avatar Oct 04 '14 03:10 apocalyptech

Another interesting (IMO) datapoint in Borderlands 2, which exhibits both behaviors - when the game is in "menu" mode (the main screen, map, inventory, etc) the mouse works totally fine, but when you're ingame itself, the mouse is extremely sensitive. In the menu system, the mouse cursor appears as the OS cursor itself.

apocalyptech avatar Oct 31 '14 23:10 apocalyptech

Any updates on this? This issue occurs on all games Ive tried so far (GTA V, Euro Trucksim 2, Garrys Mod and all other games)

jh97uk avatar Sep 02 '15 23:09 jh97uk

Over a year later, and this bug is still open? Hello Valve? @slouken hows the fix going?

justin8 avatar Dec 24 '15 13:12 justin8

Yep, me too. And only my trackpad, if I plug in my USB mouse it's okay. Streaming Terraria (yes, I know it runs native on Linux now, but it's a good example) is a good example of a completely uncontrollable game with a trackpad.

A couple of theories I tried:

  • Wondered if it had something to do with report rate (i.e. the trackpad is reporting faster than the mouse, and the other side is accelerating per event or something). Doesn't seem to be the case, as my mouse reports much faster than my trackpad:
SynPS/2 Synaptics TouchPad: Latest   100Hz, Average   100Hz
SynPS/2 Synaptics TouchPad: Latest   166Hz, Average   101Hz
SynPS/2 Synaptics TouchPad: Latest    71Hz, Average   100Hz
SynPS/2 Synaptics TouchPad: Latest   100Hz, Average   100Hz
SynPS/2 Synaptics TouchPad: Latest    50Hz, Average   100Hz
SynPS/2 Synaptics TouchPad: Latest   100Hz, Average   100Hz
SynPS/2 Synaptics TouchPad: Latest   100Hz, Average   100Hz
Razer  Razer Orochi 2013: Latest  1000Hz, Average   909Hz
Razer  Razer Orochi 2013: Latest   500Hz, Average   901Hz
Razer  Razer Orochi 2013: Latest  1000Hz, Average   901Hz
Razer  Razer Orochi 2013: Latest  1000Hz, Average   921Hz
Razer  Razer Orochi 2013: Latest  1000Hz, Average   921Hz
Razer  Razer Orochi 2013: Latest  1000Hz, Average   921Hz
Razer  Razer Orochi 2013: Latest  1000Hz, Average   929Hz
  • Wondered if it had to do with accel curves. Usually trackpads have a device-specific acceleration curve enabled by default ("Device Accel Profile: 1" in xinput). I tried setting it to the standard X curve of 0 (also used by my mouse) to no effect.
:; xinput set-prop 'SynPS/2 Synaptics TouchPad' 'Device Accel Profile' 0
  • Further, xinput acceleration settings seem to have no effect whatsoever. Tried setting the constant deceleration factor (default 2.5 on my trackpad) very high, so it is unusably slow (maybe 10 pixels per inch). Still uncontrollably fast in streaming.
:; xinput set-prop 'SynPS/2 Synaptics TouchPad' 'Device Accel Constant Deceleration' 100
  • Wondered if somehow it was reading the trackpad directly in addition to through X. "Floated" the trackpad device, removing it from controlling the X pointer. Doesn't work at all in steam streaming anymore:
:; xinput float 'SynPS/2 Synaptics TouchPad'

Looking at the raw evdev output isn't helpful, as the touchpad is reported in absolute coordinates and pressure data. The X11 synaptics driver must convert this into relative motion information.

Anyway, I did some legwork. I'd try to do more, but obviously I can't look inside the streaming client. Please try to fix this or at least acknowledge what you think might be going on. It's really irritating having to plug a mouse into my laptop to be able to stream anything that doesn't use a hardware cursor. Thanks, @slouken , @gdrewb-valve , Valve.

bdowning avatar Feb 06 '16 17:02 bdowning

Same issue here with Linux (Debian Jessie + Native steam client on a HP EliteBook 8730w) to Windows 10 while playing Homeworld 2 Remastered.

People on the forums report a workaround with enabling hardware cursor (obviously won't work for mouse-controlled-POV games). Sadly HW2 doesn't have that option.

DoogeJ avatar Aug 13 '16 12:08 DoogeJ

Interesting! So today I installed Borderlands 2 directly on my laptop -- I'd ordinarily just use in-home streaming for it, but I'm going to be away from home this weekend. B2 was one of the games which had the Synaptics super-sensitive issue when in-home-streaming. As it turns out, the synaptics touchpad was actually waaay too sensitive when running the game locally, as well!

I wonder if it's actually an issue with the way the driver talks to the games themselves, rather than something specific with in-home streaming.

apocalyptech avatar Feb 22 '18 22:02 apocalyptech

the bug is still there

installgentoo avatar May 08 '18 19:05 installgentoo

Is this still an issue with modern Linux and Steam?

Managor avatar Jun 09 '25 22:06 Managor