You are not logged in.

#1 2014-08-14 16:25:49

kyeana
Member
Registered: 2010-01-26
Posts: 36

Nvidia settings

Hello,

I'm trying to get nvidia working with seperate X screens. Eventually I want to get this working with three monitors, but am trying with just two right now as I have been having problems. I really like composting and three monitors, which is why I want to use seperate X screens instead of xinerama.

I'm using the nvidia drive from the repos (nvidia 340.24-3), with a GeForce GT 430. I've used nvidia-settings to generate the xorg.conf, but only one monitor is actually coming up. The light turns on for my second monitor, and I can move my mouse over to it, but I can't right click on it or open up applications on it or anything, and the awesome menu bar does not appear.  I've also tried an xorg.conf that I had working under debian for the same hardware, but that is not working either. The xorg.conf looks like:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 340.24  (buildmeister@swio-display-x64-rhel04-07)  Wed Jul  2 15:50:31 PDT 2014

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
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      "Ancor Communications Inc ASUS VS238"
    HorizSync       24.0 - 83.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Ancor Communications Inc ASUS VS238"
    HorizSync       24.0 - 83.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 430"
    BusID          "PCI:3:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 430"
    BusID          "PCI:3:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DVI-I-2: 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" "DVI-I-3: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

and the xrandr -q looks like this:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
DVI-I-2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 509mm x 286mm
   1920x1080     60.00*+
   1680x1050     59.95  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x800      59.81  
   1280x720      60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   640x480       75.00    59.94  
HDMI-0 disconnected (normal left inverted right x axis y axis)

Any ideas on what I might be missing here? Not sure if it's related or at all helpful, but composting isn't working right now either. That said, I have been focused on getting the seperate X screens working, so I haven't really had a change to troubleshoot compositing yet. Only tried running xcompmgr and had the opacity/shadows not work.

Thanks

Last edited by kyeana (2014-08-14 16:57:44)

Offline

#2 2014-08-14 18:10:12

Buddlespit
Member
From: Chesapeake, Va.
Registered: 2014-02-07
Posts: 501

Re: Nvidia settings

It appears to me that you're specifying two different video cards. I would say you might have better luck if you get rid of one of your devices and one of your screens. This is a copy of my dual-monitor xorg.conf:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 340.24  (buildmeister@swio-display-x64-rhel04-07)  Wed Jul  2 15:50:31 PDT 2014

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
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 S202HL"
    HorizSync       30.0 - 80.0
    VertRefresh     50.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 550 Ti"
    BusID          "PCI:1:0:0"
EndSection

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

This tells xorg that my screen0 is displaying in 3200x900, or the sum of my two 1600x900 monitors.

Offline

#3 2014-08-14 18:16:24

kyeana
Member
Registered: 2010-01-26
Posts: 36

Re: Nvidia settings

Thanks for the reply, but what I'm looking to get working is separate X screens. I've got three monitors over two video cards, and I would like each of them to have their own X screen. This way I could keep compositing with all three of my monitors. I can get my setup working with xinerama (which is what I'm doing in the mean time), but obviously lose compositing if I go this route.

Offline

#4 2014-08-14 18:28:01

Buddlespit
Member
From: Chesapeake, Va.
Registered: 2014-02-07
Posts: 501

Re: Nvidia settings

OK, then you're devices are set up incorrectly:

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 430"
    BusID          "PCI:3:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 430"
    BusID          "PCI:3:0:0"
    Screen          1
EndSection

You're using the same busID for both cards, which pretty much makes it the same card.
BTW, xinerama is disabled on my system too. I believe there's an option in nvidia-settings to set up multiple screens.

Offline

#5 2014-08-14 18:58:15

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Re: Nvidia settings


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

#6 2014-08-14 19:02:12

Buddlespit
Member
From: Chesapeake, Va.
Registered: 2014-02-07
Posts: 501

Re: Nvidia settings

Ya, I'm reading it right now and was going to post the link.... Ya beat me to it!

Offline

Board footer

Powered by FluxBB