Find the answer to your Linux question:
Results 1 to 2 of 2
Hi folks... I'm new to linux and I'm trying to configure a dual monitor setup... I've finally managed to get my Nvidia driver working, but I'm having issues with TwinView. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2005
    Posts
    6

    Nvidia TwinView not working


    Hi folks...

    I'm new to linux and I'm trying to configure a dual monitor setup... I've finally managed to get my Nvidia driver working, but I'm having issues with TwinView. Both monitors are recognised during startup, but when X starts I lose one. I'm using 2 17" Sony SMD-X73 screens.

    I've posted my XF86Config file if anyone can have a guess at what I'm missing. I've waded through google and various message boards, but I'l still at a bit of a loss and very confused!

    Code:
     # XFree86 4 configuration created by redhat-config-xfree86
    
    Section "ServerLayout"
    	Identifier     "Default Layout"
    	Screen      0  "CRT-0" 0 0
    	Screen	    1  "DFP-1" 0 0	 
    	InputDevice    "Mouse0" "CorePointer"
    	InputDevice    "Keyboard0" "CoreKeyboard"
    	InputDevice    "DevInputMice" "AlwaysCore"
    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      "keyboard"
    	Option	    "XkbRules" "xfree86"
    	Option	    "XkbModel" "pc105"
    	Option	    "XkbLayout" "gb"
    EndSection
    
    Section "InputDevice"
    	Identifier  "Mouse0"
    	Driver      "mouse"
    	Option	    "Protocol" "IMPS/2"
    	Option	    "Device" "/dev/psaux"
    	Option	    "ZAxisMapping" "4 5"
    	Option	    "Emulate3Buttons" "no"
    EndSection
    
    Section "InputDevice"
    # If the normal CorePointer mouse is not a USB mouse then
    # this input device can be used in AlwaysCore mode to let you
    # also use USB mice at the same time.
    	Identifier  "DevInputMice"
    	Driver      "mouse"
    	Option	    "Protocol" "IMPS/2"
    	Option	    "Device" "/dev/input/mice"
    	Option	    "ZAxisMapping" "4 5"
    	Option	    "Emulate3Buttons" "no"
    EndSection
    
    Section "Monitor"
    	Identifier   "Monitor0"
    	VendorName   "Monitor Vendor"
    	ModelName    "SDM-X73"
    	DisplaySize  340	270
    	HorizSync    28.0 - 65.0
    	VertRefresh  57.0 - 75.0
    	Option	    "dpms"
    EndSection
    
    Section "Monitor"
    	Identifier   "Monitor1"
    	VendorName   "Monitor Vendor"
    	ModelName    "SDM-X73"
    	DisplaySize  340	270
    	HorizSync    28.0 - 65.0
    	VertRefresh  57.0 - 75.0
    	Option	    "dpms"
    EndSection
    
    Section "Device"
    	Identifier  "NVIDIA"
    	Driver      "nvidia"
    	Option	    "TwinView" "on"
    	Option      "MetaModes" "1280x1024,1280x960,1024x768,800x600,640x480;  					 1280x1024,1280x960,1024x768,800x600,640x480"
    	Option      "HorizSync" "CRT-0: 28.0 - 65.0; DFP-1: 28.0 - 65.0"
    	Option	    "VertRefresh" "CRT-0: 57.0 - 75.0; DFP-1: 57.0 - 75.0"
    	Option	    "TwinViewOrientation" "CRT-0 LeftOf DFP-1"
    	Option	    "ConnectedMonitor" "CRT-0, DFP-1"
    	
    	
    EndSection
    
    Section "Screen"
    	Identifier "CRT-0"
    	Device     "NVIDIA"
    	Monitor    "Monitor0"
    	Option 	   "ConnectedMonitor" "CRT-0"
    	DefaultDepth     24
    	SubSection "Display"
    		Depth     16
    		Modes    "800x600" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth     24
    		Modes    "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
    	EndSubSection
    EndSection
    
    Section "Screen"
    	Identifier "DFP-1"
    	Device     "NVIDIA"
    	Monitor    "Monitor1"
    	Option 	   "ConnectedMonitor" "DFP-1"
    	DefaultDepth     24
    	SubSection "Display"
    		Depth     16
    		Modes    "800x600" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth     24
    		Modes    "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
    	EndSubSection
    EndSection
    
    Section "DRI"
    	Group        0
    	Mode         0666
    EndSection
    I also get the following line in my log file

    (**) NVIDIA(0): Option "ConnectedMonitor" "CRT-0"
    (**) NVIDIA(0): Option "TwinView" "on"
    (**) NVIDIA(0): Option "TwinViewOrientation" "CRT-0 LeftOf DFP-1"
    (**) NVIDIA(0): Option "MetaModes" "1280x1024,1280x960,1024x768,800x600,640x480; 1280x1024,1280x960,1024x768,800x600,640x480"
    (**) NVIDIA(0): Option "HorizSync" "CRT-0: 28.0 - 65.0; DFP-1: 28.0 - 65.0"
    (**) NVIDIA(0): Option "VertRefresh" "CRT-0: 57.0 - 75.0; DFP-1: 57.0 - 75.0"
    (**) NVIDIA(0): ConnectedMonitor string: "CRT-0"
    (**) NVIDIA(0): TwinView enabled
    (--) NVIDIA(0): Linear framebuffer at 0xD8000000
    (--) NVIDIA(0): MMIO registers at 0xF1000000
    (II) NVIDIA(0): NVIDIA GPU detected as: Quadro FX 1400
    (--) NVIDIA(0): VideoBIOS: 05.41.02.17.24
    (--) NVIDIA(0): Interlaced video modes are supported on this GPU
    (II) NVIDIA(0): Detected PCI Express Link width: 16X
    (--) NVIDIA(0): VideoRAM: 131072 kBytes
    (II) NVIDIA(0): Using ConnectedMonitor string "CRT-0"
    (--) NVIDIA(0): CRT-0: maximum pixel clock: 400 MHz
    (II) Loading sub module "ddc"
    (II) LoadModule: "ddc"
    (II) Loading /usr/X11R6/lib/modules/libddc.a
    (II) Module ddc: vendor="The XFree86 Project"
    compiled for 4.3.0, module version = 1.0.0
    ABI class: XFree86 Video Driver, version 0.6
    (WW) NVIDIA(0): The HorizSync string "CRT-0: 28.0 - 65.0; DFP-1: 28.0 - 65.0"
    (WW) NVIDIA(0): contains 2 ranges, but only 1 display devices are
    (WW) NVIDIA(0): enabled; only parsing the first 1.
    (WW) NVIDIA(0): The VertRefresh string "CRT-0: 57.0 - 75.0; DFP-1: 57.0 -
    (WW) NVIDIA(0): 75.0" contains 2 ranges, but only 1 display devices are
    (WW) NVIDIA(0): enabled; only parsing the first 1.
    (WW) NVIDIA(0): Only one display device connected; disabling TwinView.
    (II) NVIDIA(0): Monitor0: Using hsync range of 28.00-65.00 kHz
    (II) NVIDIA(0): Monitor0: Using vrefresh range of 57.00-75.00 Hz
    Thanks folks and sorry if this is an endlessly repeated question!

    H

  2. #2
    Linux Newbie
    Join Date
    Nov 2003
    Location
    Maryland
    Posts
    105
    Not sure if this is part of the problem, but you have this..

    Code:
    Section "ServerLayout"
       Identifier     "Default Layout"
       Screen      0  "CRT-0" 0 0
       Screen       1  "[b]DFP-1[/b]" 0 0

    DFP = Digital Flat Panel..trying changing it to CRT...who knows?

Posting Permissions

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