Open tYGjQCsvVI opened 9 years ago
Sounds like we want to limit the application to the total xorg resolution, instead of the target display resolution when overriding the dimensions of the game, I wonder if libsdl2 has an abstracted method of getting this.
Confirmed for CS:GO on 2017-03-10 and for other Source games including CS:S. It seems like there is no way to make it span multiple monitors.
This person is also having this issue: https://www.reddit.com/r/SteamOS/comments/5ydyvb/can_anybody_help_me_get_counterstrike_source/
tl;dr:- -w and -h command line arguments don't let you go over your screen's resolution. This occurs in both CS:GO and CS:S (I haven't tested other source games, but, I have to assume it's the same).
Longer version:- Some users like to play games over multiple monitors. There are two ways of going able this, setting our X screen to emulate one huge monitor consisting of our physical monitors (Which is a huge pain for anything but gaming, and constantly toggling between modes isn't fun), or, setting the game into windowed mode then using an option in our window manager to fullscreen over all monitors (For instance, i3's
fullscreen global
command, which is what I use). This is all great and works in nearly every game, except for CS:GO, which thinks it's smarter than the user and defaults back to the size of one monitor, resulting in... well... this (Three 10801920 monitors rendering a stretched out version of this):- ![10801920](https://i.imgur.com/kzm8umu.jpg)Another way of working around this is using
-w 1080 -h 607
(607 ~= 1080/169), but this results in an absolutely horrible screen resolution (Imagine this, but stretched over 3 24" portrait monitors):- ![1080607](https://i.imgur.com/xWD2aVj.jpg)_The fix (I assume) is don't limit the screen resolution if -w/-h is given._ I understand why the limitation would be there, you don't want the game rendering off the screen, but assuming the user is acting providing -w/-h, it should be assumed the user knows what (s)he's doing.