ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.25k stars 175 forks source link

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

Open apocalyptech opened 10 years ago

apocalyptech commented 10 years ago

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 commented 10 years ago

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

apocalyptech commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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.

jh97uk commented 9 years ago

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)

justin8 commented 8 years ago

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

bdowning commented 8 years ago

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:

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
:; xinput set-prop 'SynPS/2 Synaptics TouchPad' 'Device Accel Profile' 0
:; xinput set-prop 'SynPS/2 Synaptics TouchPad' 'Device Accel Constant Deceleration' 100
:; 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.

DoogeJ commented 8 years ago

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.

apocalyptech commented 6 years ago

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.

installgentoo commented 6 years ago

the bug is still there