You are not logged in.

#1 2014-07-09 00:52:53

rzrscm
Member
Registered: 2012-11-17
Posts: 95

[SOLVED] Issues with dual-screen setup...

I got my gaming monitor hooked up and dual-screen configured, and it works as you'd expect initially...My desktop shows on both screens and I can move windows between them.  The problem is that when I try to launch a program in fullscreen on the gaming monitor, it goes to my main monitor instead and the gaming monitor just goes blank.  SNES9x and mplayer go to fullscreen on the gaming monitor, but everything else I tested (MAME, ZSNES, DOOM) does not.  PCSX also technically works, but the image is offset and it also changes the resolution of my main monitor.

I'm also unable to run xrandr...It just says "RandR extension is missing"...xrandr worked just fine before I configured the dual-screen setup.  I also just noticed that I get "Xlib:  extension "RANDR" missing on display ":0"." in my terminal when I launch applications...So I'm going to go along and look into that.  It seems like this issue would be solved by activating TwinView and disabling Xinerama, but TwinView isn't going to give me what I want.

Here's my 10-monitor.conf config...I used nvidia-settings to create the file and the only change I made was changing Xinerama to 1.  The gaming monitor is a CRT PVM.

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "1"
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"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Acer X203H"
    HorizSync       31.0 - 80.0
    VertRefresh     55.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "NEC"
    HorizSync       31.5 - 48.4
    VertRefresh     56.2 - 72.2
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8400 GS"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8400 GS"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DVI-I-1: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "VGA-0: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

I'm not sure what other info would be useful to help solve this problem, so I'll add info as requested.

Last edited by rzrscm (2014-07-09 01:35:26)

Offline

#2 2014-07-09 01:22:02

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] Issues with dual-screen setup...

Does running the applications with DISPLAY variable help?

env DISPLAY=:0.1 pcsx

Setting the gaming monitor as primary output with xrandr might also help, if you get it running again. Take a look at dmesg about any warnings or errors and what modules are loaded.

Offline

#3 2014-07-09 01:31:00

rzrscm
Member
Registered: 2012-11-17
Posts: 95

Re: [SOLVED] Issues with dual-screen setup...

emeres wrote:

Does running the applications with DISPLAY variable help?

env DISPLAY=:0.1 pcsx

Setting the gaming monitor as primary output with xrandr might also help, if you get it running again. Take a look at dmesg about any warnings or errors and what modules are loaded.

I actually just started experimenting with DISPLAY, and it works how I want it to.  I'm going to play with that a little bit (write scripts to launch my programs on that screen) to get the result I want.  So, I think this issue is solved.  Thanks.

Offline

#4 2014-07-09 01:32:06

rzrscm
Member
Registered: 2012-11-17
Posts: 95

Re: [SOLVED] Issues with dual-screen setup...

Nevermind...My keyboard works on the gaming monitor with games and stuff, just not with urxvt.

Last edited by rzrscm (2014-07-09 01:36:20)

Offline

#5 2014-07-09 01:39:16

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] Issues with dual-screen setup...

Do you run a window manager or a desktop environment on the gaming monitor?

Instead of making scripts for every application, you could just start a terminal with a specific environment set up, where DISPLAY is already exported.

Edit: too slow.

Last edited by emeres (2014-07-09 01:40:06)

Offline

#6 2014-07-09 02:20:49

rzrscm
Member
Registered: 2012-11-17
Posts: 95

Re: [SOLVED] Issues with dual-screen setup...

emeres wrote:

Do you run a window manager or a desktop environment on the gaming monitor?

Instead of making scripts for every application, you could just start a terminal with a specific environment set up, where DISPLAY is already exported.

Edit: too slow.

I ended up just making an alias to export DISPLAY so I can just run that in the terminal that I want to launch programs to the gaming monitor from.

Offline

Board footer

Powered by FluxBB