LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-12-2005, 07:27 PM   #1
JapanFred
LQ Newbie
 
Registered: Mar 2003
Posts: 27

Rep: Reputation: 15
NVIDIA. Dual Monitors, 1 Card, Xorg. Only 1 mon works!


Hi guys,

I gota problem, when i've configured my file to support 2 monitors, it just doesnt.

One monitor, the CRT always works, no problem, but i can't get the TFT Displaying a thing!

The driver is installed fine, i get 6000+ FPS on GLXGears so that's not a problem.

Here's my XOrg.cong

Code:
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Mandrake 6.0 and later now use a font server independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
    Option "Xinerama" "true"
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "gb"
    Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
    Option "ZAxisMapping" "6 7"
EndSection

##Here's all the modding!

Section "Monitor"
    Identifier "CRT"
    VendorName "Generic"
    ModelName "1024x768 @ 76 Hz"
    HorizSync 31.5-82
    VertRefresh 50-90
EndSection

Section "Monitor"
    Identifier "TFT"
    VendorName "Generic"
    ModelName "1024x768 @ 76 Hz"
    HorizSync 31.5-82
    VertRefresh 50-90
EndSection

# Video Card #1, NVIDIA Video Card
Section "Device"
    Identifier  "NV1"
    Driver      "nvidia"
    VideoRam 131072
    BusID      "PCI:1:00:0"
EndSection

# Video Card # 2, Same NVIDIA Card, different port.
Section "Device"
    Identifier  "NV2"
    Driver      "nvidia"
    #VideoRam    8192
    BusID      "PCI:1:0:0"

EndSection

#My CRT
Section "Screen"
    Identifier  "Screen 2"
    Device      "NV2"
    Monitor     "CRT"
    DefaultDepth 16

    Subsection "Display"
        Depth       16
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection

# My TFT
Section "Screen"
    Identifier  "Screen 1"
    Device      "NV1"
    Monitor     "TFT"
    DefaultDepth 16

    Subsection "Display"
        Depth       16
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection

##End the main modding.


Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "Screen 2"  
    Screen "Screen 1" Rightof "Screen 2" 
EndSection
I really hope you guys can help me.

I'm running a Geforce 4 Ti 4400.

Cheers,

Dean.
 
Old 07-12-2005, 07:32 PM   #2
aRm1983
LQ Newbie
 
Registered: Mar 2005
Distribution: Mandrake LE2005
Posts: 24

Rep: Reputation: 15
hey i have a ti 4600 and i went trough alot of trouble to get my dual monitors working but i found this xorg file it i just copied it and it worked.
hope this helps



Code:
# Marcus Kazmierczak, marcus@mkaz.com
# Modified: June 20, 2003

# XF86Config with Dual Monitor Support
# nVidia card


Section "Module"
    Load        "dbe"  	# Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

    Load        "type1"
    Load        "speedo"
    Load        "glx"
EndSection


# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

    RgbPath	"/usr/X11R6/lib/X11/rgb"

    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"

EndSection


# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"keyboard"

    Option "XkbLayout"	"us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"
    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/mouse"

    # setup for wheel mouse
    Option "ZAxisMapping""4 5"
    Option "Buttons""5"

EndSection



# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"
    Identifier  "My Monitor"
    HorizSync   30-121
    VertRefresh 48-160
EndSection



# **********************************************************************
# Graphics device section
# **********************************************************************

# Device configured by xf86config:
Section "Device"
    Identifier  "NVIDIA"
    Driver      "nvidia"
    VideoRam 131072

EndSection



# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
    Identifier  "Screen0"
    Device      "NVIDIA"
    Monitor     "My Monitor"
    DefaultDepth 24

    Option "NvAGP" "1" 
    Option "TwinView" "true"
    Option "SecondMonitorHorizSync" "30.0-121.0"
    Option "SecondMonitorVertRefresh" "48.0-160.0"
    Option "MetaModes" "1280x1024, 1280x1024; 1280x1024, 1280x1024;"
    Option "TwinViewOrientation" "RightOf"
    Option "Xinerama" "on"
  
    Subsection "Display"
        Depth       8
        Modes       "1280x1024"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024"
        ViewPort    0 0
    EndSubsection
EndSection


# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"
    Identifier  "Layout"

    Screen 0 "Screen0" 0 0

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" 

EndSection
 
Old 07-12-2005, 07:59 PM   #3
JapanFred
LQ Newbie
 
Registered: Mar 2003
Posts: 27

Original Poster
Rep: Reputation: 15
Top man, i fiddled with your file a bit, and i've got both monitors up now, just needed to change the reso.

My TFT only does 1024x768.

But, it works! Cheers mate.

Only problem is, the taskbar is on the right monitor, where it would be nicer on the left...not a biggie tho, i can grow used to it.

Cheers,

Dean.
 
Old 07-13-2005, 07:56 AM   #4
GomiCowboy
Member
 
Registered: Apr 2003
Location: US
Distribution: Gentoo 2004.1, Ubuntu Hoary (unstable-ish)
Posts: 30

Rep: Reputation: 15
Never used twinview but I assume that if you've switch :

Option "TwinViewOrientation" "RightOf"

to:

Option "TwinViewOrientation" "LeftOf"

it'll switch your taskbar to the other monitor. No guarantees, just thought that might invert the layout.

--jeremy.
 
Old 07-14-2005, 05:07 AM   #5
JapanFred
LQ Newbie
 
Registered: Mar 2003
Posts: 27

Original Poster
Rep: Reputation: 15
Hi,

Thanks for your reply, i just dragged the taskbar to the other screen

Cheers,

Dean
 
Old 07-14-2005, 10:45 AM   #6
GomiCowboy
Member
 
Registered: Apr 2003
Location: US
Distribution: Gentoo 2004.1, Ubuntu Hoary (unstable-ish)
Posts: 30

Rep: Reputation: 15
Dean,

well ain't that just the bee's knees. Glad to hear it worked. I'll remember that.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dual monitors on Suse 9.2 with nvidia card robertybob SUSE / openSUSE 1 03-26-2005 02:10 PM
Nvidia dual monitors seperate X screens on one ghx card troubles lrt2003 Linux - General 4 04-20-2004 02:57 AM
Dual Monitors on one Card (nvidia) mastahnke Linux - Hardware 4 08-20-2003 07:57 PM
Dual monitors and tv-out on one nvidia FX card Enok Linux - Hardware 0 08-08-2003 04:01 PM
dual monitors with nvidia card... php_rocks Linux - Hardware 0 05-23-2003 01:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration