You are not logged in.

#1 2013-06-24 23:35:28

DelusionalLogic
Member
Registered: 2013-05-07
Posts: 40

[Solved]Multimonitor gaming

I've been running Arch for some time on my laptop. Since i had to format anyway i decided to go ahead and give arch a try on my main gaming rig.

This setup has 2 monitors, with a nvidia card. At this point you mighy have realized that that means i will be using twinview. I am. The problem is that this extends the x session to be the width of both monitors, which means that games render on both monitors (In my case it actually renders at the width of the two by starting on my secondary monitor)

I've looked at the wiki and tried to extract the little information there is no this subject. I've tried setting "metamethods", but the information in the article is so sparse i doubt i did it correctly, This is what i came up with:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 319.23  (buildmeister@swio-display-x86-rhel47-11)  Thu May 16 20:17:21 PDT 2013

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option "Metamodes" "1920x1080,1920x1200; 1920x1080,NULL;"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

The other option specified on the article is to run a seperate X server, this seems like a good idea, except i'm kinda picky and prefer to have my second monitor available to have a video running on, or a website up. And at the same time i enjoy being able to alt+tab out of a game.

What options do i have to enable the features that i have, while still having the game on one monitor. Is there any program like shiftwindow for linux to maximize windowed applications?

Last edited by DelusionalLogic (2013-06-25 11:52:14)

Offline

#2 2013-06-25 11:52:05

DelusionalLogic
Member
Registered: 2013-05-07
Posts: 40

Re: [Solved]Multimonitor gaming

Searching around a bit it turns out that openbox actually has the functionality of shitwondow itself.

To enable this functionality you need to bind a key to the action "ToggleFullscreen". An example keybind can be found on the OB wiki here: http://openbox.org/wiki/Help:Actions#ToggleFullscreen

This fixed my problem.

Offline

Board footer

Powered by FluxBB