You are not logged in.
So, I've recently gone over to Linux, and I've run into a few issues, but nothing that couldn't be fixed. However, now there's something that could make me have to go back to windows if I don't get it to work, so here it goes:
First off, I have a triple monitor setup, main display in the middle, a secondary monitor on the right, and finally a vertical display on the left. Running off a Nvidia GTX 1070.
Now then, I've had issues with certain games, some I've found so far are Payday 2 and Poly Bridge, which launch on the wrong monitor, this makes at least Poly Bridge unplayable due to the change in resolution (going from a vertical/portrait mode display to a normal display) even when I move them over to my main display. I've made sure that the middle display is set as primary, multiple times, in different ways, but they still launch on the vertical/left display. So I've been searching a bit and came across this:
https://wiki.archlinux.org/index.php/mu … reen_games
Many games require their window to appear at (0,0) when running in full-screen. If the screen you have at (0,0) - the left-most one - is not one you wish to game on, it is almost impossible to move a full-screen game onto a different screen.
I have a feeling this is what makes the games launch on the left display, and I really need a way to get around this. The only thing that makes me think it can be something else is that even running in windowed mode it still launches on the left display, but what do I know. Does anyone know of a way to fix this/get around?
Offline
Maybe you can use xrandr in a script to disable the 2 other monitors when the game runs, and re-enable them after it finish
For example if the names of the monitors are VGA0, VGA1, VGA2, something like this:
#!/bin/bash
xrandr --output VGA0 --off
xrandr --output VGA2 --off
wine "/path/of/the/game.exe" #or just the path if is native game
xrandr --autoYou can get the names if you run xrandr in a terminal. Check the wiki about xrandr and how to use it though, because the last command (xrandr --auto), doesn't arrange the monitors so you will need to adjust it.
I'm using the xorg way now and it tooks me some time and resource to set it for my system, but I think the xrandr way is easier.
Last edited by zaxdan69 (2020-08-25 15:57:03)
Offline
The thing is, I use the other monitors while gaming, the left one to read/watch discord chat in a server I'm mod on and/or to find videos to watch quickly, and then the right one to watch said videos. Is it possible to maybe set a different screen layout, and change between a "Gaming" and "Standard" layout with a keybind or something? My assumption is that these games launch at the position (0,0) so if I'm able to move my left monitor either below or to the right of my main display, then maybe it could work.
Or, actually, I just thought of something, since I have 3 monitors, is there any way to let the mouse go off the right side of my right monitor, and over to the left side of my left monitor? So the mouse could go to the right forever and just keep going through the monitors in a loop if I wanted to? If that was possible I could just make my left monitor appear as the right in my settings, and still be able to go right to enter the main display.
Offline
Then maybe is better to use a second xserver/session as I do. This way you can switch between them via alt+ctl+Fn keys.
https://wiki.archlinux.org/index.php/Ga … een_setups
Last edited by zaxdan69 (2020-08-25 17:34:57)
Offline
Hmm, that may actually work, guess I gotta find out how to do that then. Only thing after that is; for some reason when I launch a fullscreen game is seems to load a display layout (no idea where it loads it from). When trying to turn off my left monitor through the Nvidia X Server it turns off, and then everything just reset once I started a game, same when just moving them around and saving it.
Offline
Did you run the game like this:
xinit /usr/bin/xonotic-glx -- :1 vt$XDG_VTNRIf yes, then the default xorg conf file is used, so you need again to disable the other drivers. So you must again use the xrandr command before run the game. Try to put the commands inside .xinitrc
xrandr --output VGA0 --off
xrandr --output VGA2 --offLast edited by zaxdan69 (2020-08-25 19:29:56)
Offline
I was just trying to run the games while having the other displays either off or moved to another position before you responded, so I just launched them through Lutris or Steam, I'm not really sure what's going on there. I'm gonna look at using multiple X Session again tomorrow when I have time.
Offline
I did look at it a bit, but when I tried it, something just didn't work (don't even know if I did it right)
Anyways, I've physically made some changes to my layout, so I don't need to do any more.
Offline