Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] CSGO doesn't honour Primary monitor declaration #2065

Closed
BloodyIron opened this issue Apr 9, 2019 · 6 comments
Closed

[Bug] CSGO doesn't honour Primary monitor declaration #2065

BloodyIron opened this issue Apr 9, 2019 · 6 comments
Labels

Comments

@BloodyIron
Copy link

  • Ubuntu 18.10 + Default Gnome
  • GTX 960 + 418.56
  • Launch parameters: SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 %command% -nojoy -noipx
  • 3x1920x1080, all landscape

CSGO is Windowed Borderless.

Whenever I launch the game it runs on my Left monitor, but environment has Middle monitor set as Primary/Default.

Also, have to use -nojoy as I have a Roccat Tyon and one of my mouse buttons show up as a Joystick axis, and game crashes immediately lol (other issue).

@ericek111
Copy link

ericek111 commented Apr 9, 2019

Related: #60

One way is to add "sdl_displayindex 1" (try 0, 1, 2) to your config (~/.steam/steam/userdata/243111572/730/local/cfg/config.cfg) and lock it read-only with sudo chattr +i config.cfg.

@kisak-valve
Copy link
Member

Hello @BloodyIron, please give #60 (comment) a try, and if it helps, that effectively makes this a duplicate of #60.

@BloodyIron
Copy link
Author

I'll try it out, but I'd like to point out that gets undone when uninstalling/reinstalling the game. Something I do frequently as I'm on NVMe storage (limited space). I'll try that right now though! :D

@BloodyIron
Copy link
Author

Okay, so that config file already had "sdl_displayindex 1". I launched the game, went to the in-game console and executed "sdl_displayindex 0" then "quit" in the in-game console. The config.cfg file showed "sdl_displayindex 0". Launched the game, it now comes up on the "Primary" monitor (middle), as desired.

I'm not sure where the "1" value came from, as I do not recall adjusting that recently, if ever?

Any more you want me to test, or?

@kisak-valve
Copy link
Member

Thanks, that confirms this is the same issue as #60. At some point it got set to target the unexpected monitor, then kept using it from the config. Feel free to add your experience to to that issue report.

Closing in favor of #60.

@BloodyIron
Copy link
Author

@kisak-valve thanks for your help! :D Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants