LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-24-2004, 01:28 PM   #1
Nortbot
LQ Newbie
 
Registered: Feb 2004
Posts: 3

Rep: Reputation: 0
Dual Monitor Hell - Redhat 9 (XFree86 Config Included)


I've been trying to get horizontal span dual setup going on my system for a while now. I have exhausted all resources by way of searching this forum. So I have resported to creating yet another post on the topic.

What I have:
GeForce 4 MX 64 MB AGP
Matrox Millenium PCI
Redhat 9/KDE 3.1.x

What I want:
I want a horizontal span (Twinview?) setup so that my KDE start button is on the lower left of the left monitor and the clock is in the lower right of the right monitor. This is called "Horizontal Span" on a winxp setup with Nvidia. So basically two monitors with 1 wide desktop.

I have tried many different configs and the best I've accomplished is to have the left side look like my normal destkop (custom wallpaper etc) and the right monitor to have another new desktop with the default KDE look & feel.

I'll post my config below. I am going to head to workout so I'll be back in an hour in case I have left any info out that may help you help me. Thanks for the help!

XFree86 Config:
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen "Screen1"
Screen "Screen0" RightOf "Screen1"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "record"
Load "xtrap"
Load "speedo"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

## RIGHT MONITOR ##
Section "Monitor"
Identifier "Monitor0"
VendorName "IQT"
ModelName "P910+"
Option "DPMS"
EndSection

## LEFT MONITOR ##
Section "Monitor"
Identifier "Monitor1"
VendorName "IQT"
ModelName "P910+"
Option "DPMS"
EndSection

Section "Device"
Identifier "Card0"
Driver "mga"
VendorName "Matrox Graphics, Inc."
BoardName "MGA 2064W [Millennium]"
BusID "PCI:0:6:0"
EndSection

Section "Device"
Identifier "Card1"
Driver "nv"
VendorName "nVidia Corporation"
BoardName "NV11 [GeForce2 MX/MX 400]"
BusID "PCI:1:0:0"
EndSection

## Right Side ##
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView"
Option "SecondMonitorHorizSync" "30.0-96.0"
Option "SecondMonitorVertRefresh" "48.0-160.0"
Option "MetaModes" "1024x768,1024x768"
Option "TwinViewOrientation" "RightOf"
SubSection "Display"
Depth 24
Modes "1280x1024,1280x1024"
EndSubSection
EndSection

## Left Side
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView"
Option "SecondMonitorHorizSync" "30.0-96.0"
Option "SecondMonitorVertRefresh" "48.0-160.0"
Option "MetaModes" "1280x1024,1280x1024"
Option "TwinViewOrientation" "LeftOf"
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
 
Old 02-24-2004, 02:08 PM   #2
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
As far as I know, "Twinview" is a nvidia concept, used to drive multiple displays from one of its cards. Wouldn't work on a Matrox card, I don't think.

Of course, I could be wrong.

--rounan
 
Old 02-24-2004, 05:59 PM   #3
Nortbot
LQ Newbie
 
Registered: Feb 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Ok you're right about that. I was able to scrounge up a Ti4200 with VGA and DVI out. I hooked up a DVI-VGA adapter so now I have 1 monitor on the VGA and the other on the DVI/VGA. Has anyone done this that could show me their XFree86Config? I have searched the crap out of these boards as well as google and am simply stumped. Here is mine so far but all I can get is the left monitor (Standard VGA) to show up. Thanks again

Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load "dbe"
#Load "dri"
Load "extmod"
Load "glx"
Load "record"
Load "xtrap"
Load "speedo"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "IQT"
ModelName "P910+"
Option "DPMS"
EndSection

Section "Device"
Identifier "Card0"
Driver "nv"
VendorName "nVidia Corporation"
BoardName "NV25 [GeForce4 Ti 4200]"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
Option "TwinView"
Option "SecondMonitorHorizSync" "31.5 - 48.5"
Option "SecondMonitorVertRefresh" "50-90"
Option "MetaModes" "1280x1024,1280x1024; 1024x768,1024x768"
Option "TwinViewOrientation" "RightOf"
Option "ConnectedMonitor" "CRT, CRT"

DefaultDepth 24

Subsection "Display"
Depth 24
Modes "1280x1024" "1168x768" "1024x768" "800x600" "640x480" "640x400"
ViewPort 0 0
EndSubsection
EndSection
 
Old 02-24-2004, 06:28 PM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

You'll need the nVidia drivers (get them from the nVidia site). There's a sample XF86Config and instructions on how to do this that comes with the drivers.

Incidentally, if you still want to use two seperate cards, you have to use Xinerama. It's an option on XF86Config. How to configure it I don't know, but someone does:
http://www.tldp.org/HOWTO/Xinerama-HOWTO/

Dave
 
Old 02-25-2004, 10:26 AM   #5
Nortbot
LQ Newbie
 
Registered: Feb 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Happy ending. I installed the drivers located here: (http://www.sh.nu/download/nvidia/linux-2.4/) and my final XF86Config looks like:

Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load "dbe"
#Load "dri"
Load "extmod"
Load "glx"
Load "record"
Load "xtrap"
Load "speedo"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "IQT"
ModelName "P910+"
Option "DPMS"
EndSection

Section "Device"
Identifier "Card0"
VendorName "nVidia"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "TwinView"
Option "SecondMonitorHorizSync" "31-82"
Option "SecondMonitorVertRefresh" "55-120"
Option "TwinViewOrientation" "RightOf"
Option "MetaModes" "1280x1024,1280x1024; 1024x768,1024x768"
#Option "ConnectedMonitor" "crt,crt"
EndSection

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


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Monitor problems with XFree86 aegbert Linux - Hardware 3 10-05-2005 10:34 AM
Dual Monitor problems with XFree86 aegbert SUSE / openSUSE 0 10-03-2005 11:33 AM
Howto implement dual monitor for xfree86 fwong2001us Linux - Hardware 1 08-31-2005 06:56 PM
XFree86 Config failure on laptop with external monitor peliot Linux - Laptop and Netbook 0 11-24-2003 05:12 PM
dual monitor setup w/ XFree86 4 kernelpanicguy Linux - Software 2 08-03-2003 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:49 AM.

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