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

CS2 missing some resolutions and refresh rate options

Open caemputer opened this issue 2 years ago • 20 comments

System information

https://gist.github.com/c4em/95d9776a4e4decc0dee46f8fa6949138

Please describe your issue in as much detail as possible:

Some resolutions are missing when enabling fullscreen mode as a workaround for #3262. Most notably, the option to set the resolution to 1440x1080, which was available during the beta on Windows. Also missing is the 144hz option when selecting any aspect ratio that is not native. Currently, it only goes up to 75hz, even though 144hz is supported by my monitor and system.

Steps for reproducing this issue:

  1. Enable fullscreen mode
  2. Set the aspect ratio to 4:3
  3. Try to set the refresh rate to any value above 75hz

caemputer avatar Sep 27 '23 22:09 caemputer

can confirm, only 75hz available for choosing when i have a 144hz monitor. Video: rx 6600 Processor: ryzen 5 5600x OS: linux mint

PabloBerrettoni avatar Sep 27 '23 22:09 PabloBerrettoni

Wayland or X?

KeironO avatar Sep 27 '23 22:09 KeironO

X11. I have not tried this in Wayland.

caemputer avatar Sep 27 '23 22:09 caemputer

I'm also unable to play 4:3 stretched. Only shows 60hz when 1280x960 is selected. FullScreen works with only 60hz the -vulkan flag, But without the vulkan flag, my screen is visible as such: image

i'm currently using the following launch parameters -novid -nojoy -freq 144 -w 1280 -h 960 -sdlaudiodriver pipewire

brianliu108 avatar Sep 28 '23 03:09 brianliu108

So I found a workaround to use unlisted resolutions at high refresh. You must first create and assign new modes using xrandr. Then use the launch parameters -vulkan -sw -w 1280 -h 960 -sdlaudiodriver pipewire.

After the game's launched, you then have to manually change the game to fullscreen mode instead of windowed.

brianliu108 avatar Sep 28 '23 14:09 brianliu108

Based!

KeironO avatar Sep 28 '23 20:09 KeironO

Using this workaround with a 2 monitor setup (X11 on AMD) I get the following issue:

I can get 4:3 stretched resolution on my main monitor but when CS2 loses focus (or the mouse leaves the window), that monitor resets (as if it were changing resolution) and then shows a black screen.

The mouse cannot be moved from the second monitor to the main one until I reset its resolution (usually to native).

Once the resolution is restored, CS2 is in what looks like 4:3 windowed with no border but in the options it says it's in fullscreen. Changing from fullscreen to windowed and back to fullscreen restores the 4:3 stretch at the expected resolution.

These things may be linked so hopefully it gives some more clues.

Chopper1337 avatar Nov 11 '23 09:11 Chopper1337

On Linux Mint 21.2 i can't set the 4:3 on 144hz anymore, only 60hz (can't even find anymore 1280x960 in the settings)

pingwin9 avatar Nov 29 '23 19:11 pingwin9

it's been 3 month after the issue was tracked and nothing has been done? how is it possible? why are we have to be forced to play native resolution to achieve 144hz?

pingwin9 avatar Jan 10 '24 21:01 pingwin9

proton-8 fix the mouse movement for me. but VAC does not permit online play :/

Uriel-Alves avatar Jan 29 '24 23:01 Uriel-Alves

valve are you kidding? the biggest linux issue still not solved. I have tried 5 minutes ago and smaller resolution showed in windowed.

0xdeface avatar Feb 19 '24 09:02 0xdeface

valve are you kidding? the biggest linux issue still not solved. I have tried 5 minutes ago and smaller resolution showed in windowed.

Seems like they don't care. It's 5 month i'm forced to play 16:9 and can't play 4:3!

pingwin9 avatar Feb 19 '24 20:02 pingwin9

Still not fixed...

HateJoysticks avatar Mar 02 '24 15:03 HateJoysticks

Reproducible, fedora Linux 39. Someone's got a fix?

nmateo avatar Jun 12 '24 21:06 nmateo

https://github.com/hyprwm/hyprland-plugins/tree/main/csgo-vulkan-fix There is a workaround for Hyprland users using this plugin that tricks cs2 in to thinking that a specified resolution is the native one. This allows both to set the resolution you want and also lets you select the native refresh rate. But this workaround currently only works on Hyprland until other window managers implement a similar feature.

caemputer avatar Jul 10 '24 11:07 caemputer