csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

Please update bundled SDL2 to 2.0.4 to fix double mouse sensitivity on Linux

Open btegs opened this issue 10 years ago • 25 comments

According to https://np.reddit.com/r/linux_gaming/comments/3zggjn/csgo_mouse_sensitivity_on_linux/ a newer version of SDL was released that fixes the double sensitivity in games like Global Offensive. This has been an issue with the game for a while and it is good that this may be the fix.

Since CS: GO and other Source games on Linux use SDL2 and choose to bundle the libraries instead of using the system one, is there a way the included libraries could be updated to SDL2 2.0.4 to have the sensitivity on par with the Windows version?

btegs avatar Jan 06 '16 06:01 btegs

They are at 2.0.4.

This isn't an issue.

If your sense is usually .65 then make it 1.3. What's the issue here. On 6 Jan 2016 19:33, "btegs" [email protected] wrote:

According to https://np.reddit.com/r/linux_gaming/comments/3zggjn/csgo_mouse_sensitivity_on_linux/ a newer version of SDL was released that fixes the double sensitivity in games like Global Offensive. This has been an issue with the game for a while and it is good that this may be the fix.

Since CS: GO and other Source games on Linux use SDL2 and choose to bundle the libraries instead of using the system one, is there a way the included libraries could be updated to SDL2 2.0.4 to have the sensitivity on par with the Windows version?

— Reply to this email directly or view it on GitHub https://github.com/ValveSoftware/Counter-Strike-Global-Offensive/issues/570 .

JoshuaMurphynz avatar Jan 06 '16 06:01 JoshuaMurphynz

Why is sensitivity doubled in some Source engine games when compared to Windows? I know we can all set the sensitivity to double what we are used to, but will something like this be fixed soon or when CS: GO is eventually using Source 2?

btegs avatar Jan 06 '16 07:01 btegs

There are many SDL related issues in CS:GO...

0xBADEAFFE avatar Jan 06 '16 07:01 0xBADEAFFE

they are already aware of it: https://github.com/ValveSoftware/Counter-Strike-Global-Offensive/issues/568 see davidw-valve's comment

nitzanparnafes avatar Jan 06 '16 10:01 nitzanparnafes

How can CS: GO be using 2.0.4 when it was released on January 2nd, 2016? The libSDL2-2.0.so.0 file that CS: GO currently uses is dated from May 2015.

As as test, I backed up libSDL2-2.0.so.0 and dropped in libSDL2-2.0.so.0.4.0 from 2.0.4 in the directory and created a symlink to it named libSDL2-2.0.so.0.

I have the DPI switch on my SteelSeries Sensei RAW to 450 DPI and to get 900 sens, I would have to do 2.0 on Windows and 1.0 on Ubuntu to get 900. With this newer SDL, I can use 2.0 on Ubuntu and it now seems to match the Windows one and does not double it. I noticed this when I loaded up the game with 1.0 sensitivity and my mouse movement seemed to be halved.

Has anyone else tested this? I ended up using the newer .so file from https://www.archlinux.org/packages/extra/x86_64/sdl2/ and it seemed to work.

btegs avatar Jan 06 '16 15:01 btegs

We are intending to ship a new version of SDL with the next CS:GO update.

davidw-valve avatar Jan 06 '16 22:01 davidw-valve

Thanks for the update David.

Is the update arriving this week? Also, are you updating the other Source engine games on Linux with the updated SDL2?

btegs avatar Jan 07 '16 02:01 btegs

Arrived today :^)

Close?

10se1ucgo avatar Jan 08 '16 02:01 10se1ucgo

It seems that since the update, mouse is very unresponsive when moving it very slowly. I can move my mouse a solid 2 inches before my crosshair will start moving (if I do it slowly).

It makes it impossible to hold any angle while playing the game.

Can you look into that please?

jpleau avatar Jan 08 '16 03:01 jpleau

How do you reproduce On 8 Jan 2016 16:06, "Jason Pleau" [email protected] wrote:

It seems that since the update, mouse is very unresponsive when moving it very slowly. I can move my mouse a solid 2 inches before my crosshair will start moving (if I do it slowly).

It makes it impossible to hold any angle while playing the game.

Can you look into that please?

— Reply to this email directly or view it on GitHub https://github.com/ValveSoftware/Counter-Strike-Global-Offensive/issues/570#issuecomment-169880014 .

JoshuaMurphynz avatar Jan 08 '16 03:01 JoshuaMurphynz

@not83 that was a fast answer ;)

Not sure how I can describe how to reproduce the problem besides literally filming it (which I can't do at the moment).

I'm running with Mouse Raw Input set to On, and Mouse accel set to 0.

I tried setting my in-game sensitivity to 10 (I usually play at 1.8), moving my mouse in fast motions moves the crosshair very fast. But moving the mouse very slowly (ie: to adjust your crosshair to aim for a headshot instead of a shot over the head) results in the crosshair not moving at all. I can keep moving slowly and crosshair won't move.

If this helps, some info:

https://gist.github.com/jpleau/2e28d9099562f54846ef

Mouse is a SteelSeries Rival. Everything was working fine prior to today's update

jpleau avatar Jan 08 '16 03:01 jpleau

I will try to run the game with an old version of SDL (the one I have on my system is 2.0.2), I don't remember exactly how do it when lauching games, I'll post back whenever I find it

jpleau avatar Jan 08 '16 03:01 jpleau

@jpleau I am experiencing the exact same thing. I first checked whether it was a mouse issue or a strange update on my side but both the os and the mouse(Steelseries Sensei Raw) worked prefectly fine. I just updated and it seems to me that it's the issue with the new SDL but I could be wrong. Fine movements do not get recognized and the cross-hair only moves horizontally and vertically.

AtomiCharge avatar Jan 08 '16 03:01 AtomiCharge

I'm having the same issue also as @jpleau, the crosshair doesn't move if the mouse is moved very slowly, making the game unplayable. Also a steelseries mouse the KANA v2.

sadger avatar Jan 08 '16 03:01 sadger

Should we make a new issue so it can get reviewed separately?

sadger avatar Jan 08 '16 04:01 sadger

Please On 8 Jan 2016 17:17, "William Gatens" [email protected] wrote:

Should we make a new issue so it can get reviewed separately?

— Reply to this email directly or view it on GitHub https://github.com/ValveSoftware/Counter-Strike-Global-Offensive/issues/570#issuecomment-169888703 .

JoshuaMurphynz avatar Jan 08 '16 04:01 JoshuaMurphynz

@jpleau Are you using libinput with your mouse? I also use a Sensei RAW as well and my performance is now on par with the Windows version. When you do xinput --list-props XX (XX is your mouse ID), do you see something like this? This is Ubuntu 15.10.

http://pastebin.ubuntu.com/14434860/

btegs avatar Jan 08 '16 13:01 btegs

@btegs here's my output: http://pastebin.ubuntu.com/14438069/

I have libinput 1.1.3 installed, I don't think it's using it though

jpleau avatar Jan 08 '16 14:01 jpleau

@btegs I do not have "xserver-xorg-input-libinput " installed though (I'm on Debian unstable)

I will try it when I come back home tonight and report back, thanks !

jpleau avatar Jan 08 '16 14:01 jpleau

@btegs using libinput doesn't solve the problem. My xinput list-props is now similar to yours, but moving the mouse still cause the same problem.

It's definitely something on the SDL side (or how it's initialized in CS:GO), it was fine before yesterday

jpleau avatar Jan 08 '16 17:01 jpleau