I’ve been gaming exclusivity on Arch Linux for some time now, but one thing that I have been longing for is Triple Monitor Gaming that our M$ Windows counterparts have been enjoying for some time now. I have an Nvidia GTX 760 in my rig (yes I know out dated at this point but still is no slouch) which supports quad displays just fine on Linux – I currently have 3 displays connected; however Nvidia does not “support” Stereoscopic Surround on Linux (shame on them).
Today I finally figured out how to make this work. I was actually trying to fix another graphics issue (games opening on wrong monitor) and came across Jakejw93 youtube video on how to enable gaming across all 3 monitors.
It all boils down to one line in the nvidia xorg configuration file.
For Arch Linux, if you have not already done so, generate 20-nvidia.conf using nvidia-settings GUI – this should be saved to:
Then change the following line:
Option "Xinerama" "0"
Option "Xinerama" "1"
Finally reboot. When you log back in to your desktop, you’ll find that the desktop is spanned much like the window$ desktop would be with Surround enabled (but looks much better and is much more functional). The usual caveats apply such as making a window full screen or maximize spans it across panels. But what this also means is all games (that launch full screen) now have the proper Surround monitor resolution set, naturally play at that resolution [5760×1080], and are no different than doing the same on some other OSes.
To revert back, simply remove the Xinerama line entirely or change its value back to “0” and reboot (my file did not auto-magically get edited like Jakejw93’s). Your displays will act normally again. So the biggest pain in the ass with this setup is you have to reboot each time – or completely restart X11, regardless all open applications will be closed. This is probably because of the way X11 is designed (it’s actually rather fragile), I’m also willing to bet this is why it is a completely undocumented feature on Nvidia’s part. Maybe this type of stuff will be resolved in the next set of display managers Mir/Wayland.
All things aside, its nice to now play games on all 3 of my panels again…. Now I just need to setup a 4th panel so I can monitor system stats while gaming :).
Thanks Jakejw93 for sharing this wonderful piece of information.