Steam for Linux – Killing Floor & Red Orchestra – Nvidia Dual Monitor Problem

posted by Matt Adams

I ran into some problems running Killing Floor and Red Orchestra on my Nvidia dual monitor setup. The games would run at 800×600 on my secondary monitor, not exactly ideal. Luckily this was an easy fix that will hopefully help out someone that runs into the same problem.

First off you’ll need to edit your xorg config file.

sudo gedit /etc/x11/xorg.conf

I have a primary monitor on the right running @ 1920×1080 and a secondary monitor on the left running at 1680×1050. Here’s what mine looked like.

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DFP: nvidia-auto-select +1680+0, CRT: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

What I did was add “DFP: 1920×1080 +0+0″ to the metamodes option as seen below. Whats going on here is I’m setting a metamode so that full screen games at a resolution of 1920×1080 will run on my primary (DFP) monitor.

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DFP: nvidia-auto-select +1680+0, CRT: nvidia-auto-select +0+0; DFP: 1920x1080 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Once you have that saved, there’s have 1 more step to go. You’ll need to edit your games ini file.

Killing Floor

sudo gedit /home/matt/.killingfloor/System/KillingFloor.ini

Red Orchestra

sudo gedit /home/matt/.redorchestra/System/RedOrchestra.ini

*substitute matt for your username

Scroll down untill you find a section that looks like this and change the resolutions to match what you set in your xorg file.

[SDLDrv.SDLClient]
WindowedViewportX=1920
WindowedViewportY=1080
FullscreenViewportX=1920
FullscreenViewportY=1080
MenuViewportX=1920
MenuViewportY=1080

That’s it. Now reboot and give it a try!

  • unknown

    please note – this will disable your CRT monitor

    • unknown

      oh yea, you can try to run the game windowed without borders by disabling them via your window manager – works fine for me

    • MattIn4D

      Yes, this example will disable the secondary (CRT) monitor but only while the game is running full screen on the primary monitor. Wasn’t a problem for me at the time, personally thought it was less distracting. I no longer have 2 monitors or I would search for an alternative solution.