LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Nvidia dual monitor on SuSe10 (https://www.linuxquestions.org/questions/linux-hardware-18/nvidia-dual-monitor-on-suse10-407364/)

koy 01-24-2006 08:23 AM

Nvidia dual monitor on SuSe10
 
I've been trying for ages now to get my two monitors (one 17 inch LCD connected with an analog->DVI adapter; one 20 inch LCD connected directly to DVI) that are connected to my geforce7800GT to work.

I've fiddled around with the X11 config file for ages, and searched these forums and tried out loads of different stuff (tried Xinerama, and Nvidia TwinView), but I just can't get more than one monitor working at a time.

My config file atm is:

Code:

Section "ServerLayout"
    Identifier    "Multihead Layout"
    Screen    0  "Screen0" RightOf "Screen1"
    Screen    1  "Screen1" 0 0
    InputDevice    "Keyboard[0]" "CoreKeyboard"
    InputDevice    "Mouse[1]" "CorePointer"
    Option        "Clone" "off"
    Option        "Xinerama" "on"
EndSection

Section "Files"
    InputDevices      "/dev/ttyS0"
    InputDevices      "/dev/ttyS1"
    InputDevices      "/dev/ttyS2"
    InputDevices      "/dev/ttyS3"
    InputDevices      "/dev/ttyS4"
    InputDevices      "/dev/ttyS5"
    InputDevices      "/dev/ttyS6"
    InputDevices      "/dev/ttyS7"
    InputDevices      "/dev/ttyS8"
    InputDevices      "/dev/psaux"
    InputDevices      "/dev/logibm"
    InputDevices      "/dev/sunmouse"
    InputDevices      "/dev/atibm"
    InputDevices      "/dev/amigamouse"
    InputDevices      "/dev/atarimouse"
    InputDevices      "/dev/inportbm"
    InputDevices      "/dev/gpmdata"
    InputDevices      "/dev/mouse"
    InputDevices      "/dev/usbmouse"
    InputDevices      "/dev/adbmouse"
    InputDevices      "/dev/input/mice"
    InputDevices      "/dev/input/event0"
    InputDevices      "/dev/pointer0"
    InputDevices      "/dev/pointer1"
    InputDevices      "/dev/pointer2"
    InputDevices      "/dev/pointer3"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/local"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
    FontPath        "/usr/X11R6/lib/X11/fonts/URW"
    FontPath        "/usr/X11R6/lib/X11/fonts/Speedo"
    FontPath        "/usr/X11R6/lib/X11/fonts/PEX"
    FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
    FontPath        "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/latin2/Type1"
    FontPath        "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/kwintv"
    FontPath        "/usr/X11R6/lib/X11/fonts/truetype"
    FontPath        "/usr/X11R6/lib/X11/fonts/uni:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/CID"
    FontPath        "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/hellas/Type1"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/xtest"
    FontPath        "/opt/kde3/share/fonts"
EndSection

Section "Module"
    Load          "extmod"
    Load          "type1"
    Load          "glx"
    Load          "freetype"
    Load          "dbe"
    Load          "v4l"
EndSection

Section "ServerFlags"
    Option        "AllowMouseOpenFail"
EndSection

Section "InputDevice"
    Identifier    "Keyboard[0]"
    Driver        "kbd"
    Option        "Protocol" "Standard"
    Option        "XkbLayout" "ch"
    Option        "XkbModel" "pc102"
    Option        "XkbRules" "xfree86"
    Option        "XkbVariant" "fr"
EndSection

Section "InputDevice"
    Identifier    "Mouse[1]"
    Driver        "mouse"
    Option        "Buttons" "7"
    Option        "Device" "/dev/input/mice"
    Option        "Name" "ImExPS/2 Logitech Explorer Mouse"
    Option        "Protocol" "explorerps/2"
    Option        "Vendor" "Sysp"
    Option        "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
    Identifier    "Monitor[0]"
    VendorName    "ACR"
    ModelName      "ETL1408010 AL2021"
    DisplaySize    406    305
    HorizSync      30.0 - 62.0
    VertRefresh    50.0 - 75.0
    Option        "DPMS"
EndSection

Section "Monitor"
        Identifier  "Monitor[1]"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
        Option      "DPMS"
EndSection


Section "Device"
    Identifier    "Device[0]"
    Driver        "nvidia"
    VendorName    "NVidia"
    BoardName      "0x0092"
    Screen          0
EndSection

Section "Device"
    Identifier    "Device[1]"
    Driver        "nvidia"
    VendorName    "NVidia"
    BoardName      "0x0092"
    Screen          1
EndSection


Section "Screen"
    Identifier    "Screen0"
    Device        "Device[0]"
    Monitor        "Monitor[0]"
    DefaultDepth    24
    SubSection    "Display"
        Viewport  0 0
        Depth      24
        Modes      "1600x1200"
    EndSubSection
EndSection

Section "Screen"
    Identifier    "Screen1"
    Device        "Device[1]"
    Monitor        "Monitor[1]"
    DefaultDepth    24
    SubSection    "Display"
        Viewport    0 0
        Depth      24
        Modes      "1280x1024"
    EndSubSection
EndSection

But only my 17inch is showing something. (I manged to fiddle around and get the 20 inch to show me a picture earlier, but then my 17inch was black)

I had a look at my X log and it gives me stuff like:

Code:

(II) NVIDIA(0): Connected display device(s): CRT-1, DFP-0
(WW) NVIDIA(0): Multiple displays connected, but only one display allowed;
(WW) NVIDIA(0):      using first display

and the resolution, which should be 1280x1024 doesn't seem to work:

Code:

(II) NVIDIA(0): Virtual screen size determined to be 1280 x 960
(**) NVIDIA(0): Display dimensions: (406, 305) mm
(WW) NVIDIA(0): Probed monitor is 330x270 mm, using Displaysize 406x305 mm

but I could prolly fix that later, more important would be to get both screens working at the same time :)

Anyone know why it's not working? What I'm doing wrong?

HappyTux 01-24-2006 11:00 AM

You need a BusID "PCI:1:0:0" in both Device sections to find the proper numbers to use look into the log for similar to this.

Code:

(--) PCI: (0:10:0) Brooktree Corporation Bt878 Video Capture rev 17, Mem @ 0xfdffd000/12
(--) PCI:*(1:0:0) nVidia Corporation NV35 [GeForce FX 5900XT] rev 161, Mem @ 0xfb000000/24, 0xe8000000/27

In this section you should change to.

Code:

Section "ServerLayout"
    Identifier    "Multihead Layout"
    Screen    0  "Screen0" 0 0
    Screen    1  "Screen1" LeftOf "Screen0"
    InputDevice    "Keyboard[0]" "CoreKeyboard"
    InputDevice    "Mouse[1]" "CorePointer"
    Option        "Clone" "off"
    Option        "Xinerama" "on"
EndSection

For the display size problem remove that from the first monitor section and you should probably put in the proper refresh rates for the second monitor.

koy 01-24-2006 12:14 PM

Wow! it worked :D

Tanx a lot for that HappyTux, I knew it was something as simple as that :)


All times are GMT -5. The time now is 05:39 PM.