nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   NVIDIA Dual Monitor Setup On Debian (http://www.nvnews.net/vbulletin/showthread.php?t=132727)

joel112 05-09-09 04:30 PM

NVIDIA Dual Monitor Setup On Debian
 
Hi,

I'm having issues getting my triple head setup on debian.

Debian Lenny
Driver Version: 173.14.09
Card: 2 x GeForce 7600GS
Monitor: 3 x Dell 2007FP

I've managed to get it working by reducing the resolutions on the Twinview screen to 1280x1024 for both screens. However If I increase it to 1600x1200, the first screen goes to 1280x1024 and the second goes to 800x600. Notable lines from the Xorg.log

I've had to set the second monitor up using a vga->dvi converter, if I have both connected via DVI to the card, it fails to detect the second screen, it does it on both cards. The screen on the second card works fine.

Code:

(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "ConnectedMonitor" "CRT-1, DFP"
(**) NVIDIA(0): Option "TwinView" "True"
(**) NVIDIA(0): Option "TwinViewOrientation" "RightOf"
(**) NVIDIA(0): Option "MetaModes" "CRT-1: 1600x1200, DFP-0: 1600x1200"
(**) NVIDIA(0): Option "HorizSync" "CRT-1: 40-70;  DFP-0: 40-70"
(**) NVIDIA(0): Option "VertRefresh" "CRT-1: 60;  DFP-0: 60"
(**) NVIDIA(0): Enabling RENDER acceleration
(**) NVIDIA(0): TwinView enabled
(**) NVIDIA(0): ConnectedMonitor string: "CRT-1, DFP"
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0):    enabled.
(WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-1
(II) NVIDIA(0): NVIDIA GPU GeForce 7600 GS (G73) at PCI:1:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 524288 kBytes
(--) NVIDIA(0): VideoBIOS: 05.73.22.33.00
(II) NVIDIA(0): Detected PCI Express Link width: 16X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce 7600 GS at PCI:1:0:0:
(--) NVIDIA(0):    CRT-1
(--) NVIDIA(0):    DELL 2007FP (DFP-0)
(--) NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock
(--) NVIDIA(0): DELL 2007FP (DFP-0): 330.0 MHz maximum pixel clock
(--) NVIDIA(0): DELL 2007FP (DFP-0): Internal Dual Link TMDS
(II) NVIDIA(0): Display Devices found referenced in MetaMode: CRT-1, DFP-0
(II) NVIDIA(0): Assigned Display Devices: CRT-1, DFP-0
(WW) NVIDIA(0): No valid modes for "CRT-1:1600x1200,DFP-0:1600x1200";
(WW) NVIDIA(0):    removing.
(WW) NVIDIA(0):
(WW) NVIDIA(0): Unable to validate any modes; falling back to the default mode
(WW) NVIDIA(0):    "nvidia-auto-select".
(WW) NVIDIA(0):
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):    "nvidia-auto-select"
(II) NVIDIA(0): Virtual screen size determined to be 2304 x 1024
(WW) NVIDIA(0): Unable to get display device CRT-1's EDID; cannot compute DPI
(WW) NVIDIA(0):    from CRT-1's EDID.
(==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
(==) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.

Xorg.conf

Code:

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

Section "Files"
    RgbPath        "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
    Load          "dbe"
    Load          "extmod"
    Load          "type1"
    Load          "freetype"
    Load          "glx"
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    "Dell"
    ModelName      "2007FPb"
    HorizSync      30.0 - 110.0
    VertRefresh    50.0 - 150.0
    Option        "DPMS"
EndSection

Section "Monitor"
    Identifier    "Monitor1"
    VendorName    "Dell"
    ModelName      "2007FPb"
    HorizSync      30.0 - 110.0
    VertRefresh    50.0 - 150.0
    Option        "DPMS"
EndSection

Section "Device"
    Identifier    "Device0"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
    BusID          "PCI:1:0:0"
    Option "ConnectedMonitor" "CRT-1, DFP"
EndSection

Section "Device"
    Identifier    "Device1"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
    BusID          "PCI:4:0:0"
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option        "TwinView" "True"
    Option "HorizSync"  "CRT-1: 40-70;  DFP-0: 40-70"
    Option "VertRefresh" "CRT-1: 60;  DFP-0: 60"
    Option        "MetaModes" "CRT-1: 1280x1024, DFP-0: 1280x1024"
    Option        "TwinViewOrientation" "RightOf"
    SubSection    "Display"
        Depth      24
    EndSubSection
EndSection

Section "Screen"
    Identifier    "Screen1"
    Device        "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option        "MetaModes" "1600x1200, 1600x1200"
    SubSection    "Display"
        Depth      24
    EndSubSection
EndSection

Anyone any ideas why this doesnt work?

Thanks In Advance

Joel

JaXXoN 05-09-09 07:22 PM

Re: NVIDIA Dual Monitor Setup On Debian
 
Hi!

Seems like you are having some kind of problems with the I2C connection for the
second display. You may try to force the card to use a certain resolution or timing
by applying the "CustomEDID" option: Acquire the EDID with nvidia-settings,
place the resulting file edid.bin into /etc/X11 and add Option "CustomEDID"
"DFP-1:/etc/X11/edid.bin" to the screen section.

Alternatively, you can use the "ExactModeTimingsDVI" option, i.e. your
monitor and screen sections for the first card might look like this:

Code:

Section "Monitor"
    Identifier    "Monitor0"
    VendorName    "Dell"
    ModelName      "2007FPb"
    HorizSync      31-81
    VertRefresh    56-76
    # 1600x1200 @ 60.00 Hz (GTF) hsync: 74.52 kHz; pclk: 160.96 MHz
    Modeline "1600x1200"  160.96  1600 1704 1880 2160  1200 1201 1204 1242  -HSync +Vsync
    Option        "DPMS"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "UseEDID" "False"
    Option "ExactModeTimingsDVI" "True"
    Option "TwinView" "True"
    Option "TwinViewOrientation" "RightOf"
    Option "MetaModes" "1600x1200,1600x1200"
    SubSection "Display"
        Depth 24
    EndSubSection
EndSection

The timing for the modeline was calculated with "gtf".

More details:
http://www.nvnews.net/vbulletin/show...8&postcount=14

regards

Bernhard

joel112 05-10-09 05:55 AM

Re: NVIDIA Dual Monitor Setup On Debian
 
Thanks,

Now I get the same resolution on both screens, but on 1024x768. My NVIDIA settings does not have an option to save the edid. I had a look for the read-edid utility, but that looks to be x86 only and I'm running x64 Debian.

I think there must be some kind of limitation on this card, as the second card is the same make/model, and that one does not detect the second screen via DVI on the second DVI port.

Log:

Code:

(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "UseEDID" "False"
(**) NVIDIA(0): Option "ConnectedMonitor" "CRT-1, DFP"
(**) NVIDIA(0): Option "TwinView" "True"
(**) NVIDIA(0): Option "TwinViewOrientation" "RightOf"
(**) NVIDIA(0): Option "MetaModes" "CRT-1: 1600x1200, DFP-0: 1600x1200"
(**) NVIDIA(0): Option "HorizSync" "CRT-1: 40-70;  DFP-0: 40-70"
(**) NVIDIA(0): Option "VertRefresh" "CRT-1: 60;  DFP-0: 60"
(**) NVIDIA(0): Option "ExactModeTimingsDVI" "True"
(**) NVIDIA(0): Enabling RENDER acceleration
(**) NVIDIA(0): TwinView enabled
(**) NVIDIA(0): ConnectedMonitor string: "CRT-1, DFP"
(**) NVIDIA(0): Ignoring EDIDs
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0):    enabled.
(II) NVIDIA(GPU-0): Not probing EDID on CRT-1.
(II) NVIDIA(GPU-0): Not probing EDID on DFP-0.
(II) NVIDIA(0): NVIDIA GPU GeForce 7600 GS (G73) at PCI:1:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 524288 kBytes
(--) NVIDIA(0): VideoBIOS: 05.73.22.33.00
(II) NVIDIA(0): Detected PCI Express Link width: 16X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce 7600 GS at PCI:1:0:0:
(--) NVIDIA(0):    CRT-1
(--) NVIDIA(0):    DFP-0
(--) NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock
(--) NVIDIA(0): DFP-0: 330.0 MHz maximum pixel clock
(--) NVIDIA(0): DFP-0: Internal Dual Link TMDS
(II) NVIDIA(0): Display Devices found referenced in MetaMode: CRT-1, DFP-0
(II) NVIDIA(0): Assigned Display Devices: CRT-1, DFP-0
(WW) NVIDIA(0): No valid modes for "CRT-1:1600x1200,DFP-0:1600x1200";
(WW) NVIDIA(0):    removing.
(WW) NVIDIA(0):
(WW) NVIDIA(0): Unable to validate any modes; falling back to the default mode
(WW) NVIDIA(0):    "nvidia-auto-select".
(WW) NVIDIA(0):
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):    "nvidia-auto-select"
(II) NVIDIA(0): Virtual screen size determined to be 2048 x 768
(WW) NVIDIA(0): Unable to get display device CRT-1's EDID; cannot compute DPI
(WW) NVIDIA(0):    from CRT-1's EDID.
(==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
(==) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.

xorg.conf:

Code:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (randy@juliet2)  Fri Sep  5 15:03:39 PDT 2008

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

Section "Files"
    RgbPath        "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
    Load          "dbe"
    Load          "extmod"
    Load          "type1"
    Load          "freetype"
    Load          "glx"
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    "Dell"
    ModelName      "2007FPb"
    HorizSync      31-81
    VertRefresh    56-76
    Modeline "1600x1200_60.00"  160.96  1600 1704 1880 2160  1200 1201 1204 1242  -HSync +Vsync
    Option        "DPMS"
EndSection

Section "Monitor"
    Identifier    "Monitor1"
    VendorName    "Dell"
    ModelName      "2007FPb"
    HorizSync      30.0 - 110.0
    VertRefresh    50.0 - 150.0
    Option        "DPMS"
EndSection

Section "Device"
    Identifier    "Device0"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
    BusID          "PCI:1:0:0"
    Option "ConnectedMonitor" "CRT-1, DFP"
EndSection

Section "Device"
    Identifier    "Device1"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
    BusID          "PCI:4:0:0"
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option        "TwinView" "True"
    Option "UseEDID" "False"
    Option "ExactModeTimingsDVI" "True"
    Option "HorizSync"  "CRT-1: 40-70;  DFP-0: 40-70"
    Option "VertRefresh" "CRT-1: 60;  DFP-0: 60"
    Option        "MetaModes" "CRT-1: 1600x1200, DFP-0: 1600x1200"
    Option        "TwinViewOrientation" "RightOf"
    SubSection    "Display"
        Depth      24
    EndSubSection
EndSection

Section "Screen"
    Identifier    "Screen1"
    Device        "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option        "TwinView" "True"
    Option        "TwinViewOrientation" "RightOf"
    Option        "MetaModes" "1600x1200, 1600x1200"
    Option        "TwinViewOrientation" "LeftOf"
    SubSection    "Display"
        Depth      24
    EndSubSection
EndSection


joel112 05-10-09 09:39 AM

Re: NVIDIA Dual Monitor Setup On Debian
 
Finally got it.

I had to mess about to get the NVIDIA settings dialog to allow me to export the edid files.

Code:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (randy@juliet2)  Fri Sep  5 15:03:39 PDT 2008

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

Section "Files"
    RgbPath        "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
    Load          "dbe"
    Load          "extmod"
    Load          "type1"
    Load          "freetype"
    Load          "glx"
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    "Dell"
    ModelName      "2007FPb"
    HorizSync      30-83
    VertRefresh    56-76
  # Modeline "1600x1200_60.00"  160.96  1600 1704 1880 2160  1200 1201 1204 1242  -HSync +Vsync
    Option        "DPMS"
EndSection

Section "Monitor"
    Identifier    "Monitor1"
    VendorName    "Dell"
    ModelName      "2007FPb"
    HorizSync      30-83
    VertRefresh    56-76
    Option        "DPMS"
EndSection

Section "Device"
    Identifier    "Device0"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
    BusID          "PCI:1:0:0"
    Option "ConnectedMonitor" "DFP-1, DFP-0"
EndSection

Section "Device"
    Identifier    "Device1"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
    BusID          "PCI:4:0:0"
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option        "TwinView" "True"
  # Option "UseEDID" "False"
  # Option "ExactModeTimingsDVI" "True"
  # Option "HorizSync"  "DFP-1: 40-70;  DFP-0: 40-70"
  # Option "VertRefresh" "DFP-1: 60;  DFP-0: 60"
    Option "CustomEDID" "DFP-0:/etc/X11/edid.bin; DFP-1:/etc/X11/edid2.bin"
    Option        "MetaModes" "DFP-1: 1600x1200, DFP-0: 1600x1200"
    Option        "TwinViewOrientation" "LeftOf"
    SubSection    "Display"
        Depth      24
    EndSubSection
EndSection

Section "Screen"
    Identifier    "Screen1"
    Device        "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option        "TwinView" "True"
    Option        "TwinViewOrientation" "RightOf"
    Option        "MetaModes" "1600x1200, 1600x1200"
    Option        "TwinViewOrientation" "LeftOf"
    SubSection    "Display"
        Depth      24
    EndSubSection
EndSection



All times are GMT -5. The time now is 01:09 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.