Find the answer to your Linux question:
Results 1 to 4 of 4
Hi guys, I just stoped my 5 years of ATI support to switch to Nvidia... driver are loaded. everything works... but I need my dual display to work.. I've tryed ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer
    Join Date
    Nov 2004
    Location
    Montreal, Canada
    Posts
    1,267

    nvidia dual head


    Hi guys,
    I just stoped my 5 years of ATI support to switch to Nvidia...
    driver are loaded.
    everything works...
    but I need my dual display to work.. I've tryed playing around with the config file without success...

    Anyone has a working config file for dual head?
    \"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
    \"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps

  2. #2
    Linux Engineer
    Join Date
    Sep 2003
    Location
    Knoxhell, TN
    Posts
    1,078
    Code:
    Section "ServerLayout"
    	Identifier     "X.org Configured"
    	Screen      0  "Screen0" 0 0
    	InputDevice    "Mouse0" "CorePointer"
    	InputDevice    "Keyboard0" "CoreKeyboard"
    EndSection
    
    Section "Files"
    	RgbPath      "/usr/X11R6/lib/X11/rgb"
    	ModulePath   "/usr/X11R6/lib/modules"
    	FontPath     "/usr/share/fonts/misc/"
    	FontPath     "/usr/share/fonts/TTF/"
    	FontPath     "/usr/share/fonts/Speedo/"
    	FontPath     "/usr/share/fonts/Type1/"
    	FontPath     "/usr/share/fonts/CID/"
    	FontPath     "/usr/share/fonts/75dpi/"
    	FontPath     "/usr/share/fonts/100dpi/"
    	FontPath     "/home/lordnothing/.enlightenment/themes/nix/ttfonts/"
    EndSection
    
    Section "Module"
    	Load  "glx"
    	Load  "record"
    	Load  "extmod"
    	Load  "dbe"
    	Load  "dri"
    	Load  "xtrap"
    	Load  "freetype"
    	Load  "type1"
    	Load  "speedo"
    	Load  "freetype"
    EndSection
    
    Section "InputDevice"
    	Identifier  "Keyboard0"
    	Driver      "kbd"
    
    	Option	    "XkbModel" "pc104"
    	Option	    "XkbLayout" "dvorak"
    EndSection
    
    Section "InputDevice"
    	Identifier  "Mouse0"
    	Driver      "mouse"
    	Option	    "Protocol" "Auto"
    	Option	    "Device" "/dev/psaux"
    	Option	    "Buttons" "7"
    	Option	    "ZAxisMapping" "4 5"
    EndSection
    
    Section "Monitor"
    	Identifier   "Monitor0"
    	VendorName   "Monitor Vendor"
    	ModelName    "Monitor Model"
     ### Uncomment if you don't want to default to DDC:
    	HorizSync    34.0 - 50.0
    	VertRefresh  50.0 - 100.0
    	Gamma	1.70
    EndSection
    
    Section "Device"
    
            ### Available Driver options are:-
            ### Values&#58; [i]&#58; integer, <f>&#58; float, <bool>&#58; "True"/"False",
            ### <string>&#58; "String", <freq>&#58; "<f> Hz/kHz/MHz"
            ### &#91;arg&#93;&#58; arg optional
            Option     "DigitalVibrance" "70"   	# [i]
            #Option     "NoFlip"             	# &#91;<bool>&#93;
            #Option     "Dac8Bit"            	# &#91;<bool>&#93;
            Option     "NoLogo" "True"            	# &#91;<bool>&#93;
            #Option     "UBB"                	# &#91;<bool>&#93;
            #Option     "Stereo"             	# [i]
            #Option     "SWcursor"           	# &#91;<bool>&#93;
            #Option     "HWcursor"           	# &#91;<bool>&#93;
            #Option     "VideoKey"           	# [i]
            #Option     "NvAGP"              	# [i]
            #Option     "IgnoreEDID"         	# &#91;<bool>&#93;
            #Option     "NoDDC"              	# &#91;<bool>&#93;
            #Option     "ConnectedMonitor"   	# <str>
            #Option     "ConnectedMonitors"  	# <str>
            #Option     "TVStandard"         	# <str>
            #Option     "TVOutFormat"        	# <str>
            Option     "RenderAccel" "True"       	# &#91;<bool>&#93;
            #Option     "CursorShadow"       	# &#91;<bool>&#93;
            #Option     "CursorShadowAlpha"  	# [i]
            #Option     "CursorShadowXOffset" 	# [i]
            #Option     "CursorShadowYOffset" 	# [i]
            #Option     "UseEdidFreqs"       	# &#91;<bool>&#93;
            #Option     "FlatPanelProperties" 	# <str>
            Option     "TwinView" "True"          	# &#91;<bool>&#93;
            Option     "TwinViewOrientation" "RightOf" 	# <str>
            Option     "SecondMonitorHorizSync" "30-70 kHz"	# <str>
            Option     "SecondMonitorVertRefresh" "50-160 Hz"	# <str>
            Option     "MetaModes" "1024x768,1024x768"         	# <str>
            #Option     "UseInt10Module"     	# &#91;<bool>&#93;
            #Option     "NoTwinViewXineramaInfo" 	# &#91;<bool>&#93;
            #Option     "NoRenderExtension"  	# &#91;<bool>&#93;
            #Option     "Overlay"            	# &#91;<bool>&#93;
            #Option     "CIOverlay"          	# &#91;<bool>&#93;
            #Option     "ForceEmulatedOverlay" 	# &#91;<bool>&#93;
            #Option     "TransparentIndex"   	# [i]
            #Option     "OverlayDefaultVisual" 	# &#91;<bool>&#93;
            #Option     "NvEmulate"          	# [i]
            #Option     "NoBandWidthTest"    	# &#91;<bool>&#93;
            #Option     "CustomEDID-CRT-0"   	# <str>
            #Option     "CustomEDID-CRT-1"   	# <str>
            #Option     "CustomEDID-DFP-0"   	# <str>
            #Option     "CustomEDID-DFP-1"   	# <str>
            #Option     "CustomEDID-TV-0"    	# <str>
            #Option     "CustomEDID-TV-1"    	# <str>
            #Option     "TVOverScan"         	# <f>
            #Option     "IgnoreDisplayDevices" 	# <str>
            #Option     "MultisampleCompatibility" 	# &#91;<bool>&#93;
            #Option     "RegistryDwords"     	# <str>
            #Option     "NoPowerConnectorCheck" 	# &#91;<bool>&#93;
            #Option     "AllowDFPStereo"     	# &#91;<bool>&#93;
    	Identifier  "Card0"
    	Driver      "nvidia"
    	VendorName  "nVidia Corporation"
    	BoardName   "Unknown Board"
    	BusID       "PCI&#58;1&#58;5&#58;0"
    EndSection
    
    Section "Screen"
    	Identifier "Screen0"
    	Device     "Card0"
    	Monitor    "Monitor0"
    	DefaultDepth	16
    	SubSection "Display"
    		Viewport   0 0
    		Depth     1
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     4
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     8
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     15
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     16
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     24
    	EndSubSection
    EndSection
    that's two heads using 1024x768 on both of them... using nVidia's TwinView Xinerama extensions.
    Their code will be beautiful, even if their desks are buried in 3 feet of crap. - esr

  3. #3
    Just Joined!
    Join Date
    Jan 2005
    Posts
    20

    xorg.conf copy for your pleasure.

    hi: this will give you 'dual head' in xorg.conf and span the displays with 'Xinerama'. this works great with nvidia 5500 card using the 6629 driver on FC3. notice the 'dri' lines are removed. hope this helps.

    j


    Code:
     # Xorg configuration created by system-config-display
    
    Section "ServerLayout"
    	Identifier "dual head configuration"
    	Screen 0 "Screen0" 0 0
    	Screen 1 "Screen1" RightOf "Screen0"
    	InputDevice "Mouse0" "CorePointer"
    	InputDevice "Keyboard0" "CoreKeyboard"
    	Option "Xinerama" "On"
    EndSection
    
    Section "Files"
    
    # RgbPath is the location of the RGB database. Note, this is the name of the
    # file minus the extension &#40;like ".txt" or ".db"&#41;. There is normally
    # no need to change the default.
    # Multiple FontPath entries are allowed &#40;they are concatenated together&#41;
    # By default, Red Hat 6.0 and later now use a font server independent of
    # the X server to render fonts.
    RgbPath "/usr/X11R6/lib/X11/rgb"
    ModulePath "/usr/X11R6/lib/modules/extensions/nvidia"
    ModulePath "/usr/X11R6/lib/modules"
    FontPath "unix/&#58;7100"
    EndSection
    
    Section "Module"
    	Load "dbe"
    	Load "extmod"
    	Load "fbdevhw"
    	Load "record"
    	Load "freetype"
    	Load "type1"
    	Load "glx"
    EndSection
    
    Section "InputDevice"
    
    # Specify which keyboard LEDs can be user-controlled &#40;eg, with xset&#40;1&#41;&#41;
    # Option "Xleds" "1 2 3"
    # To disable the XKEYBOARD extension, uncomment XkbDisable.
    # Option "XkbDisable"
    # To customise the XKB settings to suit your keyboard, modify the
    # lines below &#40;which are the defaults&#41;. For example, for a non-U.S.
    # keyboard, you will probably want to use&#58;
    # Option "XkbModel" "pc102"
    # If you have a US Microsoft Natural keyboard, you can use&#58;
    # Option "XkbModel" "microsoft"
    #
    # Then to change the language, change the Layout setting.
    # For example, a german layout can be obtained with&#58;
    # Option "XkbLayout" "de"
    # or&#58;
    # Option "XkbLayout" "de"
    # Option "XkbVariant" "nodeadkeys"
    #
    # If you'd like to switch the positions of your capslock and
    # control keys, use&#58;
    # Option "XkbOptions" "ctrl&#58;swapcaps"
    # Or if you just want both to be control, use&#58;
    # Option "XkbOptions" "ctrl&#58;nocaps"
    #
    Identifier "Keyboard0"
    	Driver "kbd"
    	Option "XkbModel" "pc105"
    	Option "XkbLayout" "us"
    EndSection
    
    Section "InputDevice"
    	Identifier "Mouse0"
    	Driver "mouse"
    	Option "Protocol" "IMPS/2"
    	Option "Device" "/dev/input/mice"
    	Option "ZAxisMapping" "4 5"
    	Option "Emulate3Buttons" "yes"
    EndSection
    
    Section "Monitor"
    	Identifier "Monitor0"
    	VendorName "Monitor Vendor"
    	ModelName "NEC MultiSync XE17"
    	DisplaySize 330 270
    	HorizSync 31.0 - 65.0
    	VertRefresh 55.0 - 120.0
    	Option "dpms"
    EndSection
    
    Section "Monitor"
    	Identifier "Monitor1"
    	VendorName "Monitor Vendor"
    	ModelName "NEC MultiSync XE17"
    	DisplaySize 330 270
    	HorizSync 31.0 - 65.0
    	VertRefresh 55.0 - 120.0
    	Option "dpms"
    EndSection
    
    Section "Device"
    
    # Edit the BusID with the location of your graphics card
    	Identifier "nvidia0"
    	Driver "nvidia"
    	BusID "PCI&#58;1&#58;0&#58;0"
    EndSection
    
    Section "Device"
    
    # Edit the BusID with the location of your graphics card
    	Identifier "nvidia1"
    	Driver "nvidia"
    	BusID "PCI&#58;1&#58;0&#58;0"
    	Screen 1
    EndSection
    
    Section "Screen"
    	Identifier "Screen0"
    	Device "nvidia0"
    	Monitor "Monitor0"
    	DefaultDepth 24
    	SubSection "Display"
    	Depth 24
    	Modes "1280x1024" "1024x768" "800x600" "640x480"
    	EndSubSection
    EndSection
    
    Section "Screen"
    	Identifier "Screen1"
    	Device "nvidia1"
    	Monitor "Monitor1"
    	DefaultDepth 24
    	SubSection "Display"
    	Depth 24
    	Modes "1280x1024" "1024x768" "800x600" "640x480"
    	EndSubSection
    EndSection

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jan 2005
    Posts
    1

    Nvidia Dual Head

    Here is a working config for the Nvidia (factory) drivers for powering a dual moniitor setup. Maybe this will save some other poor sole a full days work. Ian

    Provideed by World Mulciast. Ian Stewart
    Sponsor: ipmulticast.com
    Op Sys: Fedora Core 3 (FC3)
    Drivers: Package NVIDIA-Linux-x86-1.0-6629-pkg0.run
    (available from Nvidia)

    If you want to run a TV on the second port you must use a different confitg.
    This config is for 2 monitors only.

    1st install the llatest nvidea linux drivers (See above package)
    ftp://download.nvidia.com/XFree86/Linux-x86/
    After you've installed the new drivers you may have to set the system to modprobe the new nvidia drivers manually
    see below :

    When you got into the command line prompt (as root) .. do the following:

    # modprobe nvidia
    # cp -a /dev/nvidia* /etc/udev/devices
    # chown root.root /etc/udev/devices/nvidia*

    Then edit the xorg.conf file...

    -------------------- Listing of /etc/X11/xorg.conf ----------------------------------

    # Xorg configuration created by system-config-display

    Section "ServerLayout"
    Identifier "single head configuration"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection

    Section "Files"
    # RgbPath is the location of the RGB database. Note, this is the name of the
    # file minus the extension (like ".txt" or ".db"). There is normally
    # no need to change the default.

    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Red Hat 6.0 and later now use a font server independent of
    # the X server to render fonts.

    RgbPath "/usr/X11R6/lib/X11/rgb"
    FontPath "unix/:7100"
    EndSection

    Section "Module"
    Load "dbe"
    Load "extmod"
    Load "fbdevhw"
    Load "glx"
    Load "record"
    Load "freetype"
    Load "type1"

    EndSection

    Section "InputDevice"
    # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
    # Option "Xleds" "1 2 3"

    # To disable the XKEYBOARD extension, uncomment XkbDisable.
    # Option "XkbDisable"

    # To customise the XKB settings to suit your keyboard, modify the
    # lines below (which are the defaults). For example, for a non-U.S.
    # keyboard, you will probably want to use:
    # Option "XkbModel" "pc102"
    # If you have a US Microsoft Natural keyboard, you can use:
    # Option "XkbModel" "microsoft"
    #
    # Then to change the language, change the Layout setting.
    # For example, a german layout can be obtained with:
    # Option "XkbLayout" "de"
    # or:
    # Option "XkbLayout" "de"
    # Option "XkbVariant" "nodeadkeys"
    #
    # If you'd like to switch the positions of your capslock and
    # control keys, use:
    # Option "XkbOptions" "ctrl:swapcaps"
    # Or if you just want both to be control, use:
    # Option "XkbOptions" "ctrl:nocaps"
    #
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    EndSection


    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "IMPS/2"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "yes"
    EndSection

    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Monitor Vendor"
    ModelName "ViewSonic 15E"
    HorizSync 30.0 - 62.0
    VertRefresh 50.0 - 90.0
    Option "dpms"
    EndSection

    Section "Device"
    Identifier "Videocard0"
    Driver "nvidia"
    VendorName "Videocard vendor"
    BoardName "NVIDIA GeForce FX (generic)"

    # here is where NVIDIA gets freaky with TwinView hmmmm.... yes!!!

    Option "TwinView"

    # Change the following Meta mode Option for you resolutions Screen1 Screen2

    Option "MetaModes" "1024x768, 1024x768"

    Option "ConnectedMonitor" "CRT, CRT"
    Option "SecondMonitorHorizSync" "30.0 - 62.0"
    Option "SecondMonitorVertRefresh" "50.0 - 90.0"
    Option "TwinViewOrientation" "RightOf"

    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "Videocard0"
    Monitor "Monitor0"
    DefaultDepth 16
    # SubSection "Display"
    # Viewport 0 0
    # Depth 16
    # Modes "1024x768" "800x600" "640x480"
    # EndSubSection
    EndSection

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •