LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Need to setup multiple displays on different VGA cards [NVIDIA GeForce] in Debian (https://www.linuxquestions.org/questions/debian-26/need-to-setup-multiple-displays-on-different-vga-cards-%5Bnvidia-geforce%5D-in-debian-394360/)

dianuj 12-18-2005 11:27 PM

Need to setup multiple displays on different VGA cards [NVIDIA GeForce] in Debian
 
I would like to setup multiple displays using the below specifications

kernel : 2.6.7
X-version : XFree-4.3.0, isolate device patch applied successfully
Linux : Debian Ubuntu[4.10]

I prefer to use NVIDIA based VGA cards

waits for your valuable guidance.

HappyTux 12-20-2005 11:27 AM

Quote:

Originally Posted by dianuj
I would like to setup multiple displays using the below specifications

kernel : 2.6.7
X-version : XFree-4.3.0, isolate device patch applied successfully
Linux : Debian Ubuntu[4.10]

I prefer to use NVIDIA based VGA cards

waits for your valuable guidance.

You can use mine to get an idea of how it should look.

Code:

$ cat /etc/X11/xorg.conf
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#  cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#  md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#  dpkg-reconfigure xserver-xfree86

Section "ServerLayout"
#      Identifier    "XFree86 Configured"
      Identifier      "DualHead"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" LeftOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
#      Option        "Xinerama" "on"
EndSection




Section "Files"
        FontPath        "unix/:7100"                    # local font server
        # if the local font server has problems, we can fall back on these
#      FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath        "/usr/lib/X11/fonts/misc"
#      FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
#      FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
#      Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
        Load    "type1"
        Load    "vbe"
        Load    "v4l"
        Load    "xtrap"
        Load    "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "CoreKeyboard"
        Option      "XkbModel"      "pc105"
        Option      "XkbLayout"    "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "CorePointer"
        Option      "Protocol" "ImPS/2"
        Option      "Device" "/dev/psaux"
        Option      "Emulate3Buttons"  "True"
        Option      "ZAxisMapping"  "4 5"
EndSection


# KDS Visual Sensations VS 190i
Section "Monitor"
        #DisplaySize    350    265    # mm
        Identifier  "Monitor1"
        Option      "DPMS"  "true"
        Option      "BackingStore" "On"
        VendorName  "KDS"
        ModelName  "KDS1985"
        HorizSync  30 - 95 # DDC-probed
        VertRefresh 50 - 120 # DDC-probed
EndSection


# NEC MultiSync P1250 +
Section "Monitor"
      #DisplaySize      384  288    # mm
      Identifier  "Monitor0"
      VendorName  "NEC"
      ModelName    "P1250 +"
      HorizSync    31-110 # DDC-probed
      VertRefresh  55-160 # DDC-probed
      Option      "DPMS"  "true"
      Option      "BackingStore" "On"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option    "SWcursor"                  # [<bool>]
        #Option    "HWcursor"                  # [<bool>]
        #Option    "NoAccel"                  # [<bool>]
        #Option    "ShowCache"                # [<bool>]
        #Option    "ShadowFB"                  # [<bool>]
        #Option    "UseFBDev"                  # [<bool>]
        #Option    "Rotate"                    # [<str>]
        #Option    "VideoKey"                  # <i>
        #Option    "FlatPanel"                # [<bool>]
        #Option    "FPDither"                  # [<bool>]
        #Option    "CrtcNumber"                # <i>
        Identifier  "Card0"
        Driver      "nvidia"
        Option      "NoLogo" "on"
        Option      "NvAgp"  "1"
        Option      "RenderAccel" "true"
#      Option      "IgnoreEDID"  "on"
        Option      "IgnoreDisplayDevices"  "DFP, TV"
#      Option      "NoBandWidthTest" "1"

        VendorName  "nVidia Corporation"
        BoardName  "ASUSTek NV34 [GeForce FX 5200]"
        BusID      "PCI:1:0:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option    "accel"                    # [<bool>]
        #Option    "crt_display"              # [<bool>]
        #Option    "composite_sync"            # [<bool>]
        #Option    "hw_cursor"                # [<bool>]
        #Option    "linear"                    # [<bool>]
        #Option    "mmio_cache"                # [<bool>]
        #Option    "panel_display"            # [<bool>]
        #Option    "probe_clocks"              # [<bool>]
        #Option    "reference_clock"          # <freq>
        #Option    "shadow_fb"                # [<bool>]
        #Option    "sw_cursor"                # [<bool>]
        Identifier  "Card1"
        Driver      "nvidia"
        Option      "NoLogo" "on"
        Option      "RenderAccel" "true"
#      Option      "IgnoreEDID" "on"
#      Option      "NoBandWidthTest" "1"
        Option      "IgnoreDisplayDevices"  "DFP, TV"
        VendorName  "nVidia"
        BoardName  "Chaintech P-FX20 NV34 [Geforce FX5200]"
        BusID      "PCI:0:12:0"
EndSection
Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        DefaultDepth  24
        SubSection "Display"
                Depth    24
                Modes    "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device    "Card1"
        Monitor    "Monitor1"
        DefaultDepth 24
        SubSection "Display"
                Depth    24
                Modes    "1024x768" "640x480"
        EndSubSection
EndSection

You best bet is to make a copy of your original file then modify the working file to have the extra settings for the second Device, Screen and Monitor sections needed. To find the BusID needed in the Device sections look in your /var/log/Xorg.0.log or XFree86.0.log for a part like this.

Code:

II) Bus -1 prefetchable memory range:
        [0] -1  0      0x00000000 - 0xffffffff (0x100000000) MX[B]
(--) PCI: (0:10:0) Brooktree Corporation Bt878 Video Capture rev 17, Mem @ 0xfdffd000/12
(--) PCI:*(0:12:0) nVidia Corporation NV34 [GeForce FX 5200] rev 161, Mem @ 0xfa000000/24, 0xe000000
0/27
(--) PCI: (1:0:0) nVidia Corporation NV34 [GeForce FX 5200] rev 161, Mem @ 0xfb000000/24, 0xf0000000
/27
(II) Addressable bus resource ranges are
        [0] -1  0      0x00000000 - 0xffffffff (0x100000000) MX[B]
        [1] -1  0      0x00000000 - 0x0000ffff (0x10000) IX[B]



All times are GMT -5. The time now is 04:57 AM.