1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Linux Dual head XFree86 configs

Discussion in 'Software' started by unclean, 8 Feb 2005.

  1. unclean

    unclean SMP obsessive

    Joined:
    30 Dec 2003
    Posts:
    1,194
    Likes Received:
    0
    Lo guys,
    Anyone out there running a SINGLE Nvidia card with dual monitors attached who would like to share their xfree86 config?
    thanks in advance :)
     
  2. pat1

    pat1 What's a Dremel?

    Joined:
    13 Jul 2004
    Posts:
    88
    Likes Received:
    0
    I did this awhile ago but didn't have the deskspace for two 19" crt monitors... i did save my config though

    anyways...

    my card has a vga port and a dvi port... i got a dvi-vga converter for pretty cheap


    this is all that I changed

    Code:
    Section "Device"
        Identifier  "nvidia"
        Driver      "nvidia"
          
    Option "TwinView"
    Option "SecondMonitorHorizSync" "30-86"
    Option "SecondMonitorVertRefresh" "50-160"
    Option "TwinViewOrientation" "RightOf"
    Option "MetaModes" "1600x1200,1600x1200"
    Option "ConnectedMonitor" "crt,crt"
    
    End Section
    Be sure to change everything to suit you
     
  3. Uncle Psychosis

    Uncle Psychosis Classically Trained

    Joined:
    27 Jul 2003
    Posts:
    1,694
    Likes Received:
    9
    I have no experience of dual monitors, but isn't this kind of thing what the Xinerama package is for?

    Sam
     
  4. kiwi_uk

    kiwi_uk What's a Dremel?

    Joined:
    25 Feb 2004
    Posts:
    58
    Likes Received:
    0
    see http://www.kiwiuk.net for an alternative way to setup dual screens with NVIDIA graphics. Its under Linuxguides.

    I've found twinview to be better because I can run OpenGL on both screens but the native X method (as on kiwiuk.net) is better for games. I've not had any sucess with WINE at all with dualies setup - Hl2 crashes in native X dual monitors and starts overlapping a non-existant screen in Twinview mode.

    Xinerama is an extension that tells window managers things about which parts of the desktop are on different screens. This helps with things like keeping popup dialogues on one screen (not half on each) and having seperate panels on each screen. If you use Twinview make sure the "Option "Xinerama" option in X is OFF because the NVIDIA driver provides its own Xinerama data when twinview is on.

    Hope that helps,
    Jon
     
  5. Uncle Psychosis

    Uncle Psychosis Classically Trained

    Joined:
    27 Jul 2003
    Posts:
    1,694
    Likes Received:
    9
    Ahh, ok. I really should invest in a second monitor- sadly my bank manager won't allow it!

    Cheers

    Sam
     
  6. Gushy

    Gushy Minimodder

    Joined:
    18 Jan 2003
    Posts:
    162
    Likes Received:
    0
    Twinview is good pbut I find it a pain for playing games because you have to switch modes manually first.

    Anyhoo, here's my work PC's xorg.conf for my Quadro 100 under FC3.

    Code:
    # XFree86 4 configuration created by pyxf86config
    
    Section "ServerLayout"
    	Identifier     "Default Layout"
    	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"
    	Load  "dri"
    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" "gb"
            Option      "XkbOptions" "ctrl:nocaps"
    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    "SyncMaster"
    	DisplaySize  340	270
    	HorizSync    30.0 - 81.0
    	VertRefresh  56.0 - 75.0
    	Option	    "dpms"
    EndSection
    
    Section "Device"
    	Identifier  "Videocard0"
    	Driver      "nvidia"
    	VendorName  "Videocard vendor"
    	BoardName   "NVIDIA Quadro 4 (generic)"
    	Option      "NvAGP" "3"
            Option      "NoDDC" "true"
            Option      "CursorShadow" "on"
            Option      "NoLogo" "false"
            #Option      "DigitalVibrance" "3"
            Option      "TwinView" "true"
            Option      "TwinViewOrientation" "LeftOf"
            Option      "SecondMonitorHorizSync" "31-81"
            Option      "SecondMonitorVertRefresh" "56-75"
            Option      "MetaModes" "1280x1024,1280x1024; NULL,1280x1024; 1024x768,1024x768; NULL,1024x768; 800x600,800x600; NULL,800x600; 640x480,640x480; NULL,640x480"
    EndSection
    
    Section "Screen"
    	Identifier "Screen0"
    	Device     "Videocard0"
    	Monitor    "Monitor0"
    	DefaultDepth     24
    	SubSection "Display"
    		Viewport   0 0
    		Depth     24
    		Modes    "1280x1024"
    	EndSubSection
    EndSection
    
    Section "DRI"
    	Group        0
    	Mode         0666
    EndSection
     
Tags:

Share This Page