LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Nvidia dual monitor setup problems getting second monitor to work (https://www.linuxquestions.org/questions/slackware-14/nvidia-dual-monitor-setup-problems-getting-second-monitor-to-work-896939/)

tradet 08-12-2011 05:43 AM

Nvidia dual monitor setup problems getting second monitor to work
 
Hi,

I've got two identical 21,5" widescreen monitors connect via dvi to a single nvidia geforce 550GTX Ti.

From a fresh slackware install both monitors worked in the console before starting X, but after I installed the newest nvidia driver (280.13) the second monitor is dead in it's tracks. I disabled the nuveau driver via an option from nvidias installer if that matters.

I've tried to edit my xorg.conf and it looks like this:
Code:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 280.13  (buildmeister@swio-display-x86-rhel47-03.nvidia.com)  Wed Jul 27 17:15:58 PDT 2011

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

Section "Files"
    FontPath        "/usr/lib64/X11/fonts/misc/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/misc/"
    FontPath        "/usr/lib64/X11/fonts/Type1/"
    FontPath        "/usr/lib64/X11/fonts/Speedo/"
    FontPath        "/usr/lib64/X11/fonts/100dpi/"
    FontPath        "/usr/lib64/X11/fonts/75dpi/"
    FontPath        "/usr/lib64/X11/fonts/cyrillic/"
    FontPath        "/usr/lib64/X11/fonts/TTF/"
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 "Monitor"
    Identifier    "Monitor1"
    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"
EndSection

Section "Device"
    Identifier    "Device1"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
EndSection

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

Section "Screen"
    Identifier    "Screen1"
    Device        "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    SubSection    "Display"
        Depth      24
    EndSubSection
EndSection

I tried to add a Screen1 and a Monitor1 but with little result.

My end goal is to run xmonad dual screen with one tilted in portrait mode, but I figure the first step is to make the monitor display something.

I'm currently running xfce but I plan to switch to xmonad completely or run xmonad purely as a window manager.

I'm running a fresh install of slackware 13.37 64bit with multilib installed.

I tried to search for dual screens and monitors and I did find a lot of links but I didn't manage to find anything that works for me.

When I ran 'nvidia-settings' I got the error: The control display is undefined; please run 'nvidia-settings --help' for usage information.

But I didn't get much from the help there..

Any help and tips are very much welcome,

Thanks in advance.

sycamorex 08-12-2011 05:55 AM

Remove your xorg.conf (back it up first), reinstall nvidia binary blob so that it'd create a clean xorg.conf and then run nvidia-settings (as root).

tradet 08-12-2011 06:38 AM

Thank you, that did the trick!


All times are GMT -5. The time now is 08:13 PM.