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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
07-12-2005, 07:27 PM
#1
LQ Newbie
Registered: Mar 2003
Posts: 27
Rep:
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.
07-12-2005, 07:32 PM
#2
LQ Newbie
Registered: Mar 2005
Distribution: Mandrake LE2005
Posts: 24
Rep:
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
07-12-2005, 07:59 PM
#3
LQ Newbie
Registered: Mar 2003
Posts: 27
Original Poster
Rep:
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.
07-13-2005, 07:56 AM
#4
Member
Registered: Apr 2003
Location: US
Distribution: Gentoo 2004.1, Ubuntu Hoary (unstable-ish)
Posts: 30
Rep:
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.
07-14-2005, 05:07 AM
#5
LQ Newbie
Registered: Mar 2003
Posts: 27
Original Poster
Rep:
Hi,
Thanks for your reply, i just dragged the taskbar to the other screen
Cheers,
Dean
07-14-2005, 10:45 AM
#6
Member
Registered: Apr 2003
Location: US
Distribution: Gentoo 2004.1, Ubuntu Hoary (unstable-ish)
Posts: 30
Rep:
Dean,
well ain't that just the bee's knees. Glad to hear it worked. I'll remember that.
All times are GMT -5. The time now is 03:55 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News