d10sfan Oct 4, 2013 @ 9:39am
[Linux] Dual Monitor Issue
Having an issue where my second monitor turns off when playing the game. Could this be fixed so it still runs only on the primary monitor, but leaves the second one on?
Showing 1-15 of 18 comments
< >
d10sfan Oct 4, 2013 @ 9:56am 
Also, trying to change the graphic settings crashes the game
lordhavoc Oct 4, 2013 @ 6:57pm 
This is a standard behavior on Linux unfortunately that secondary monitors shut off when a game wants to change the video mode.

There are solutions in development, but I recommend playing it in a window to solve this problem.
d10sfan Oct 4, 2013 @ 7:01pm 
Works fine on lots of other games on Linux (Unity games, source games, etc)
lordhavoc Oct 4, 2013 @ 7:04pm 
Okay the longer answer is that those games use SDL2, and in particular they request the SDL_FULLSCREEN_DESKTOP window flag, darkplaces engine (which powers Steel Storm) supports this flag in the SDL2 build of the client and also in the GLX client (without SDL2), but the build used in steel storm is SDL1.2 based because SDL2 is still pretty new. The GLX client lacks joystick support, so that's awkward as well.

When I was working at Valve, SDL2 was still pretty raw, and I put it to use in implementing Steam Big Picture Mode, I also had it supported in my darkplaces engine, but it was decidedly "not ready" at the time.

This is why I say "solutions in development". Your post got the ball rolling again on this issue with regards to Steel Storm development, it hasn't come up with many issues due to the (unfortunate) reality that most Linux users are either accustomed to this behavior (it's been this way since the 1990s) or don't use multiple monitors to begin with.
d10sfan Oct 4, 2013 @ 7:06pm 
Thanks for the explanation. Would be great if this could be fixed for this and future games if at all possible. Seems like more Linux users are starting to use dual monitors now

I would run it in windowed mode, but trying to change settings crashes the game.
d10sfan Oct 4, 2013 @ 7:09pm 
Is there a log or output that could help determine why it's crashing? Also, can the settings be modified manually?
lordhavoc Oct 4, 2013 @ 7:17pm 
Just pick windowed mode in the menu and then exit the game, do not hit Apply, and it won't crash. It will apply on next run.

The crash is likely the Steam Community Overlay, we've had a bunch of reports of that crashing the game.
d10sfan Oct 4, 2013 @ 7:26pm 
I was able to get around the crash by temporaly disabling the overlay. Thanks!

Is there a way to set a custom resolution in windowed mode?
lordhavoc Oct 4, 2013 @ 7:32pm 
Due to weirdness with the profile system, the only way to get it to "stick" properly when you set a custom resolution is to open the console (shift-escape) and type the following:
vid_width 1280
vid_height 720
vid_conwidth 1066 // for 16x9 aspect use 1066, for 16x10 aspect use 960, for 4x3 aspect use 800 (basically the math is 600 * vid_width / vid_height)

Then toggle the Show FPS checkbox or any other setting, which will save it to the per-player profile configuration file, and you can then Apply or exit.
d10sfan Oct 5, 2013 @ 10:36am 
Ok, tried that and it changed the size of what was being rendered in-game, but didn't seem to change the window size. I'd like to set a resolution of 1920x1030
lordhavoc Oct 5, 2013 @ 11:05am 
vid_width and vid_height are the window size. Are you sure you hit Apply afterward?
d10sfan Oct 5, 2013 @ 9:13pm 
Yes, I entered the commands and then clicked Show FPS and toggle, and it didn't change. I had the window set with the options to 1680x1050, so a change should have been fairly visible.
lordhavoc Oct 6, 2013 @ 4:47am 
Hitting Apply is necessary to change video settings unless you want to quit and restart the game.
d10sfan Oct 6, 2013 @ 8:23am 
I meant to say I hit apply too....
lordhavoc Oct 6, 2013 @ 12:15pm 
It works here and everywhere else that I've ever tried it.

vid_width 1920
vid_height 1030
vid_restart

How about that? You'll still need to toggle show fps afterward to get it to save to config though.
Showing 1-15 of 18 comments
< >
Per page: 15 30 50