Find the answer to your Linux question:
Results 1 to 6 of 6
Been hitting my head on my desk lately. GF 6800 GT, 2 LCDs, one uses VGA connection, the other uses DVI that comes with the video card (no adapters - ...
  1. #1
    Just Joined!
    Join Date
    Jan 2005
    Posts
    12

    xorg.conf help - nvidia dual head (DVI &VGA) on 2 LCDs (

    Been hitting my head on my desk lately.

    GF 6800 GT, 2 LCDs, one uses VGA connection, the other uses DVI that comes with the video card (no adapters - there's 1 VGA port, and 1 DVI port) - using Fedora Core 3 (updated to latest). Latest drivers from nVidia installation worked fine.

    However, Im having a hard time getting the DVI -LCD to display (works fine in windows of course). So its likely my xorg.conf. At first the primary monitor wouldnt display, and only my secondary (VGA) would work but it was "un-focused' (I mean, everything was displayed on primary, just I couldnt see it, the secondary I could see the mouse and the background), after some scouring on the net I found this:

    http://www.nvnews.net/vbulletin/showthread.php?t=43079

    Which just ended up turning my VGA connection as a focus (so now all the icons and menu bar is accessable on this LCD instead). The DVI still does not detect signal.

    Despite my xorg.conf being nearly identical to the above url's, I'lll paste what I have anyways:
    # Xorg configuration created by system-config-display

    Section "ServerLayout"
    Identifier "dual head configuration"
    Screen 0 "Screen0" 0 0
    Screen 1 "Screen1" LeftOf "Screen0"
    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" "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 "Unknown monitor"
    HorizSync 31.0 - 81.0
    VertRefresh 56.0 - 76.0
    Option "dpms"
    EndSection

    Section "Monitor"
    Identifier "Monitor1"
    VendorName "Monitor Vendor"
    ModelName "Unknown monitor"
    HorizSync 31.0 - 81.0
    VertRefresh 56.0 - 76.0
    Option "dpms"
    EndSection

    Section "Device"
    Identifier "nvidia0"
    VendorName "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    EndSection

    Section "Device"
    Identifier "nvidia1"
    VendorName "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "nvidia0"
    Monitor "Monitor0"
    DefaultColorDepth 24
    Subsection "Display"
    Depth 8
    Modes "1280x1024" "1024x768" "800x600" "640x400"
    EndSubsection
    Subsection "Display"
    Depth 16
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
    Depth 24
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection

    EndSection

    Section "Screen"
    Identifier "Screen1"
    Device "nvidia1"
    Monitor "Monitor1"
    DefaultColorDepth 24
    Subsection "Display"
    Depth 8
    Modes "1280x1024" "1024x768" "800x600" "640x400"
    EndSubsection
    Subsection "Display"
    Depth 16
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
    Depth 24
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection

    EndSection

    Section "DRI"
    Group 0
    Mode 0666
    EndSection
    Suggestions?

  2. #2
    Just Joined!
    Join Date
    Jan 2005
    Posts
    12
    Putting in this arguement helps, it turns on the DVI, but then the "crt" (VGA LCD) connection stops working (for some reason, anything that uses a VGA connection is labelled "CRT" for the arguements in X11/nvidia)

    Option "ConnectedMonitor" "DFP"

    I put that in the Section "Device" that corresponded to the DVI connection (as I found out in trial-by-error, that if I put it on the "CRT" one, it caused both monitor signals to not work in X11. After correcting it to the proper "device", the DVI would work, but then the CRT signal would no longer be on).

    Yes, I have also included in the other Section "Device"
    Option "ConnectedMonitor" "CRT"
    but with no positive effect. I tried the TwinView sample included in the nvidia drivers with an identical effect.

    Continuing to hit my head on the desk over this.

  3. #3
    Linux Enthusiast
    Join Date
    Dec 2004
    Location
    Rockin' in the USA!!!
    Posts
    603
    I think that when using the nvidia driver, you need to take out the secion labeled "dri" and also the "dri" line in the "Modules" section. Also, I believe that you are supposed to add "nvidia" to the Module section.

  4. #4
    Linux Engineer
    Join Date
    Nov 2004
    Location
    Montreal, Canada
    Posts
    1,267
    Here`s a valid dual head XF86Config that works with dual head....

    hope this helps
    \"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

  5. #5
    Just Joined!
    Join Date
    Jan 2005
    Posts
    12
    Ok.. thanks to the last link, the bottom script works fine. However... my monitors are reversed it seems. My DVI-LCD is now the seconday, while the VGA-LCD is the primary (adjusting Leftto/rightto only changes how the the mouse moves off screen, from left to right or right to left. The main display still is in the right LCD. Suggestions?

  6. #6
    Linux User
    Join Date
    Jan 2003
    Location
    Cardiff, Wales
    Posts
    478

    stuff

    you need to turn on xinerama and clone off
    my server layout looks like

    Section "ServerLayout"
    Identifier "Multihead layout"
    Screen 0 "Screen0" LeftOf "Screen1"
    Screen 1 "Screen1" 0 0
    InputDevice "A4Tech Mouse" "CorePointer"
    InputDevice "MS KeyBoard" "CoreKeyboard"
    Option "Xinerama" "on"
    Option "Clone" "off"
    EndSection

    then in one of the device sections you need to specify a screen this is in effect the head of the card to use
    so i have the following:
    Section "Device"
    Identifier "ATI Head 1"
    Driver "radeon"
    VendorName "ATI"
    BoardName "ATI Radeon 9200"
    BusID "PCI:1:5:0"
    EndSection

    Section "Device"
    Identifier "Videocard1"
    Driver "radeon"
    VendorName "Videocard Vendor"
    BoardName "ATI Radeon 9200"
    BusID "PCI:1:5:0"
    Screen 1
    EndSection

    I think this is the same as declaring two devices with busids of PCI:1:5:0 and PCI:1:5:1 but i haven't tested this. but X -scanpci definatly shows up two agp devices on my pci one at each of those ids.
    No trees were harmed during the creation of this message. Its made from a blend of elephant tusk and dolphin meat.

Posting Permissions

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