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

[Linux] Mouse sensitivity changes after minimizing game

Open benedeusz opened this issue 12 years ago • 7 comments

When I want to minimize game after death I'm pressing Alt-Tab, game is minimized then. After maximizing my horizontal mouse sensitivity is about twice higher and vertical sensitivity is about twice lower than normal. After pressing ESC button I can move my mouse only on yellow area from screen: http://i.imgur.com/fzBapaO.jpg I can fix that after moving CS:GO window to another desktop, and then move it back to default one. By moving window I mean Gnome option when I move mouse to top-left corner and all windows appears in preview. Game is in fullscreen mode. My screen setup: http://i.imgur.com/ZzTt0AC.png.

System information: https://gist.github.com/benedeusz/78a0d2b320dfc61ff2b2

benedeusz avatar Sep 25 '14 23:09 benedeusz

Hello,

I think we experience similar issues.

When I minimize CSGO while playing fullscreen on a lower resolution than my desktop (e. g. 800x600), the game cannot be maximized again. It just shows a 800x600 window with a detail of the full game vision.

The mouse sensitivity change is a consequence of this. There is a problem with mouse sensitivity using the fullscreen option (its different to windowed mode). I think by minimizing the game you kinda switch from fullscreen to windowed (because of the bug) which results in the sensitivity change.

Generally, there should not be any mouse sensitivity changes when switching from fullscreen to windowed, or when chaning to resolutions which have the same aspect ratio.

RM0cRu avatar Sep 26 '14 18:09 RM0cRu

I got exactly the same problem using Archlinux with a GTX 670 and Gnome 3.12

Locat avatar Sep 27 '14 19:09 Locat

I have this as well in both CS:GO as well as other Source games, and I have also noticed that it switches to a smaller window, and I've caught this before by joining a game mode, alt+tabbing while it finds a server, then trying to open it while it loads the map. Even though the window is smaller than the desktop resolution, I can see that it's still running at the set resolution in-game, just down-scaling (probably to prevent further instability associated with changing resolution in general). Should also note that the window is 4:3 in spite of having a 16:10 desktop resolution, I don't know if it uses a 16:9 resolution on 16:9 displays, but this seems to explain the bizarre difference in vertical and horizontal sensitivities.

Not exactly sure why the window it switches to is a different size in the first place, but it seems to me that this could be fixed by having it be the same size as the desktop resolution (not the one set in-game as it already scales to the desktop res regardless).

Bucky21659 avatar Sep 28 '14 04:09 Bucky21659

Temporary fix: Set your desktop to your desired ingame resolution before starting the game. This is impractical, but at least it reduces those scaling/mouse problems.

PS: There still seems to be a slight negative acceleration at low mouse speeds which only occurs in CSGO.

RM0cRu avatar Oct 03 '14 16:10 RM0cRu

Sorry if this is an obvious question, but I don't actually see anywhere I can put in an absolute mouse sensitivity (even if I could I didn't know that it would be calculated the same as it is in the game). On Ubuntu 14.04 I only see two bars with no numerical value assigned to them, one is for sensitivity and the other is for acceleration. I do have a start-up script that disables mouse acceleration and sets the acceleration factor to 0 (for good measure), so do I need to write another to set it with xinput?

Bucky21659 avatar Oct 03 '14 19:10 Bucky21659

Can someone please confirm this is still an issue since the 64 bit client update?

Tele42 avatar Jun 24 '16 14:06 Tele42

Closing pending feedback.

Tele42 avatar Jul 25 '16 12:07 Tele42