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

4:3 Mouse Scaling in windowed Mode isn't working correctly.

Open meskaleanbeats opened this issue 1 year ago • 5 comments

Your system information

  • System information from steam (Steam -> Help -> System Information) in a [gist] (https://gist.github.com/meskaleanbeats/41b0ac3999129c2d922771e6df9f6988):
  • Have you checked for system updates?: Yes.

Please describe your issue in as much detail as possible:

When playing 4:3 @ 1280x960 165hz (i guess any 4:3 resolution) the Mouse Scaling isn't working properly. The X and Y-Axis aren't scaling the same way thus make aiming from bottom to top slower than from left to right. Describe what you expected should happen and what did happen. Scale correctly.

Steps for reproducing this issue:

  1. Select Resolution 1280x960 (4:3)
  2. Use windowed Mode
  3. 165hz

meskaleanbeats avatar Oct 18 '23 20:10 meskaleanbeats

Especially, when you're in scope (I thought my mouse stopped working)

uunnxx avatar Oct 18 '23 22:10 uunnxx

PROBLEMS I HAD:

  • cant set properly both resolution and refresh rate with fullscreen being enabled;
  • mouse went very slow in the game when using low res;

HOW I FIXED (my gpu is nvidia might not work for amd ones) :

1 - open nvidia-settings using sudo in terminal;

2 - go to "X server display configuration" DO NOT CHANGE NOTHING, then click the option in the bottom right "save to X configuration file", that will create a file in your /etc/X11/xorg.conf (make a backup of it);

3 - edit the xorg.conf with sudo, go under the section "Screen" and add at its end before EndSection : Option "ModeValidation" "AllowNon60hzmodesDFPModes, NoEDIDDFPMaxSizeCheck, NoVertRefreshCheck, NoHorizSyncCheck, NoDFPNativeResolutionCheck, NoMaxSizeCheck, NoMaxPClkCheck, AllowNonEdidModes, NoEdidMaxPClkCheck". Save and reboot;

4 - if the step above didnt worked and your PC is not booting to desktop, dont panic, its pretty easy to fix, just erase that line using an arch-iso booted through a pendrive, so you can edit files in your current linux, see: https://superuser.com/questions/783689/edit-file-from-boot-iso-arch-linux.

5 - if the step 3 went good, follow this tutorial: https://itslinuxfoss.com/set-custom-resolution-using-xrandr/

6 - after you created your resolution with the refresh rate you want and checked it works by typing xrandr in terminal and seeing it there, go to steam and add this to your csgo launch options: -vulkan -sw -w reswidth -h height. Mine is -vulkan -sw -w 1152 -h 864. now you can set your game to fullscreen and set refresh rate. hope it worked~

Chimitz avatar Oct 19 '23 00:10 Chimitz

Having to create a xorg.conf (especially nvidia xorg conf) is unacceptable. 4:3 had no issues with CSGO.

Irets avatar Oct 28 '23 20:10 Irets

PROBLEMS I HAD:

* cant set properly both resolution and refresh rate with fullscreen being enabled;

* mouse went very slow in the game when using low res;

HOW I FIXED (my gpu is nvidia might not work for amd ones) : .......

̶I̶ ̶t̶r̶i̶e̶d̶ ̶t̶h̶i̶s̶,̶ ̶a̶n̶d̶ ̶i̶t̶ ̶d̶i̶d̶ ̶n̶o̶t̶ ̶f̶i̶x̶ ̶t̶h̶e̶ ̶m̶o̶u̶s̶e̶ ̶s̶c̶a̶l̶i̶n̶g̶ ̶i̶s̶s̶u̶e̶,̶ ̶b̶u̶t̶ ̶i̶t̶ ̶d̶i̶d̶ ̶h̶o̶w̶e̶v̶e̶r̶ ̶a̶l̶l̶o̶w̶ ̶m̶e̶ ̶t̶o̶ ̶g̶e̶t̶ ̶h̶i̶g̶h̶ ̶r̶e̶f̶r̶e̶s̶h̶ ̶r̶a̶t̶e̶s̶ ̶a̶t̶ ̶l̶o̶w̶e̶r̶ ̶r̶e̶s̶o̶l̶u̶t̶i̶o̶n̶s̶,̶ ̶s̶o̶ ̶t̶h̶a̶n̶k̶s̶ ̶f̶o̶r̶ ̶t̶h̶a̶t̶ ̶:̶)̶

This worked for me!! Mouse-scaling issue was exclusively in fullscreen-windowed mode, setting to fullscreen with your added settings to xorg now allows me to play normal sensitivity, normal refresh rate at any resolution. Thank you <3

Amusingdock25 avatar Nov 20 '23 19:11 Amusingdock25

Reproducible, +1

BrandowLucas avatar May 27 '24 05:05 BrandowLucas