Ford Explorer Sport Trac Ford Ranger Mazda Navajo Mercury Mountaineer Message Board
Ford Explorer Sport Trac Ford Ranger Mazda Navajo Mercury Mountaineer Message Board - For Enthusiasts by Enthusiasts


Ford Explorer Generation Guide

2013 Ford Explorer Forums Elite Membership Chat Room My Posts Reviews Explorer Photo Gallery
Go Back   Ford Explorer Ranger Enthusiasts "Serious Explorations"® > Projects - Hobbies and Additional Topics > Projects - Hobbies - DIY > Exploring Computers!!

Notices

Exploring Computers!! What do we have in common besides our Explorers? Our computers of course! This is a forum to help you with your computer related problems whether software or hardware related. Need advice on that new computer or hardware purchase? Check here first.

Two monitors under Linux RH9

Reply
 
Thread Tools
Old 01-17-2004, 10:50 AM   #1
SmokeGrinder
Uber Of All Possible Doom
 
SmokeGrinder's Avatar
97 explorer 4X4
 
Join Date: Dec 2002
Posts: 1,112

Vehicle Specs

(Original Poster)
Two monitors under Linux RH9

Ok,
so i have Redhat 9.0.
I have a GeForce4 Ti 4200 card with two monitors on it.

ive had a look in /etc/X11/X386config but i cant see how i would get both monitors working.

anyone have any idea on how to do this?

thanks
Tom
SmokeGrinder is offline   Reply With Quote
Old 01-17-2004, 12:33 PM   #2
Howard
Moderator
Elite Explorer
Milton Keynes
 
Howard's Avatar
1998 SOHC UK SPEC
 
Join Date: May 2002
Posts: 4,177

Vehicle Specs

This is from the Nvidia readme file.

The TwinView feature is only supported on NVIDIA GPUs that support
dual-display functionality, such as the GeForce2 MX, GeForce2 Go,
Quadro2 MXR, Quadro2 Go, and any of the GeForce4 or Quadro4 GPUs.
Please consult with your video card vendor to confirm that TwinView is
supported on your card.

TwinView is a mode of operation where two display devices (digital
flat panels, CRTs, and TVs) can display the contents of a single X screen
in any arbitrary configuration. This method of multiple monitor use
has several distinct advantages over other techniques (such as Xinerama):

o A single X screen is used. The NVIDIA driver conceals all
information about multiple display devices from the X server; as
far as X is concerned, there is only one screen.

o Both display devices share one frame buffer. Thus, all the
the functionality present on a single display (e.g. accelerated
OpenGL) is available on TwinView.

o No additional overhead is needed to emulate having a single
desktop.

If you are interested in using each display device as a separate
X screen, please see (app-r) APPENDIX R: CONFIGURING MULTIPLE X
SCREENS ON ONE CARD.


XF86CONFIG TWINVIEW OPTIONS

To enable TwinView, you must specify the following options in the Device
section of your XF86Config file:

Option "TwinView"
Option "SecondMonitorHorizSync" "<hsync range(s)>"
Option "SecondMonitorVertRefresh" "<vrefresh range(s)>"
Option "MetaModes" "<list of metamodes>"

You may also use any of the following options, though they are not
required:

Option "TwinViewOrientation" "<relationship of head 1 to head 0>"
Option "ConnectedMonitor" "<list of connected display devices>"

Please see the detailed descriptions of each option below:

o TwinView
This option is required to enable TwinView; without it, all
other TwinView related options are ignored.

o SecondMonitorHorizSync, SecondMonitorVertRefresh
You specify the constraints of the second monitor through these
options. The values given should follow the same convention as
the "HorizSync" and "VertRefresh" entries in the Monitor section.
As the XF86Config man page explains it: the ranges may be a
comma separated list of distinct values and/or ranges of values,
where a range is given by two distinct values separated by
a dash. The HorizSync is given in kHz, and the VertRefresh
is given in Hz. You may, if you trust your display devices'
EDIDs, use the "UseEdidFreqs" option instead of these options
(see APPENDIX D for a description of the "UseEdidFreqs" option).

o MetaModes
A single MetaMode describes what mode should be used on each
display device at a given time. Multiple MetaModes list the
combinations of modes and the sequence in which they should be
used. When the NVIDIA driver tells X what modes are available,
it is really the minimal bounding box of the MetaMode that is
communicated to X, while the "per display device" mode is kept
internal to the NVIDIA driver. In MetaMode syntax, modes within
a MetaMode are comma separated, and multiple MetaModes are
separated by semicolons. For example:

"<mode name 0>, <mode name 1>; <mode name 2>, <mode name 3>"

Where <mode name 0> is the name of the mode to be used on display
device 0 concurrently with <mode name 1> used on display device 1.
A mode switch will then cause <mode name 2> to be used on display
device 0 and <mode name 3> to be used on display device 1. Here
is a real MetaMode entry from the XF86Config sample config file:

Option "MetaModes" "1280x1024,1280x1024; 1024x768,1024x768"

If you want a display device to not be active for a certain
MetaMode, you can use the mode name "NULL", or simply omit the
mode name entirely:

"1600x1200, NULL; NULL, 1024x768"

or

"1600x1200; , 1024x768"

Optionally, mode names can be followed by offset information
to control the positioning of the display devices within the
virtual screen space; e.g.:

"1600x1200 +0+0, 1024x768 +1600+0; ..."

Offset descriptions follow the conventions used in the X
"-geometry" command line option; i.e. both positive and negative
offsets are valid, though negative offsets are only allowed when
a virtual screen size is explicitly given in the XF86Config file.

When no offsets are given for a MetaMode, the offsets will be
computed following the value of the TwinViewOrientation option
(see below). Note that if offsets are given for any one of the
modes in a single MetaMode, then offsets will be expected for
all modes within that single MetaMode; in such a case offsets
will be assumed to be +0+0 when not given.

When not explicitly given, the virtual screen size will be
computed as the the bounding box of all MetaMode bounding boxes.
MetaModes with a bounding box larger than an explicitly given
virtual screen size will be discarded.

A MetaMode string can be further modified with a "Panning Domain"
specification; eg:

"1024x768 @1600x1200, 800x600 @1600x1200"

A panning domain is the area in which a display device's viewport
will be panned to follow the mouse. Panning actually happens on
two levels with TwinView: first, an individual display device's
viewport will be panned within its panning domain, as long as
the viewport is contained by the bounding box of the MetaMode.
Once the mouse leaves the bounding box of the MetaMode, the entire
MetaMode (ie all display devices) will be panned to follow the
mouse within the virtual screen. Note that individual display
devices' panning domains default to being clamped to the position
of the display devices' viewports, thus the default behavior is
just that viewports remain "locked" together and only perform
the second type of panning.

The most beneficial use of panning domains is probably to
eliminate dead areas -- regions of the virtual screen that are
inaccessible due to display devices with different resolutions.
For example:

"1600x1200, 1024x768"

produces an inaccessible region below the 1024x768
display. Specifying a panning domain for the second display
device:

"1600x1200, 1024x768 @1024x1200"

provides access to that dead area by allowing you to pan the
1024x768 viewport up and down in the 1024x1200 panning domain.

Offsets can be used in conjunction with panning domains to
position the panning domains in the virtual screen space (note
that the offset describes the panning domain, and only affects
the viewport in that the viewport must be contained within the
panning domain). For example, the following describes two modes,
each with a panning domain width of 1900 pixels, and the second
display is positioned below the first:

"1600x1200 @1900x1200 +0+0, 1024x768 @1900x768 +0+1200"

If no MetaMode string is specified, then the X driver uses the
modes listed in the relevant "Display" subsection, attempting
to place matching modes on each display device.


o TwinViewOrientation
This option controls the positioning of the second display
device relative to the first within the virtual X screen, when
offsets are not explicitly given in the MetaModes. The possible
values are:

"RightOf" (the default)
"LeftOf"
"Above"
"Below"
"Clone"

When "Clone" is specified, both display devices will be assigned
an offset of 0,0.

o ConnectedMonitor
With this option you can override what the NVIDIA kernel
module detects is connected to your video card. This may be
useful, for example, if any of your display devices do not
support detection using Display Data Channel (DDC) protocols.
Valid values for this option are "CRT" (cathode ray tube), "DFP"
(digital flat panel), or "TV" (television); when using TwinView,
this option may be a comma-separated list of display devices;
e.g.: "CRT, CRT" or "CRT, DFP".

Just as in all XF86Config entries, spaces are ignored and all entries
are case insensitive.

Hope it helps.




__________________
"Be nice to nerds. Chances are you'll end up working for one." Bill Gates
My Explorer
Moderator : Exploring Computers!!, Computer Gaming, Digital Explorations, UK Explorer Owners
Howard is offline   Reply With Quote
Old 01-17-2004, 01:17 PM   #3
dnellans
Salt Lake City, UT
'92 XL
 
Join Date: Dec 2002
Posts: 98

Vehicle Specs

i use gentoo but what follows is my X config for using dual monitors on an nvidia 4200 MX i believe it is... follow this as a guide and it should work under redhat as well.

-----------------------------------------------------------

Section "Module"
Load "bitmap"
Load "dbe"
Load "extmod"
Load "freetype"
Load "glx"
Load "type1"
Load "v4l"
EndSection

Section "InputDevice"
Identifier "Keyboard"
Driver "Keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc102"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse"
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection

Section "Monitor"
Identifier "Sun1"
HorizSync 31-80
VertRefresh 60-75
EndSection

Section "Device"
Identifier "GF4"
Driver "nvidia"
Option "NvAGP" "1"
Option "CursorShadow" "1"
Option "CursorShadowAlpha" "64"
Option "CursorShadowYOffset" "2"
Option "CursorShadowXOffset" "4"
Option "DigitalVibrance" "0"
Option "TwinView" "1"
Option "SecondMonitorHorizSync" "31-80"
Option "SecondMonitorVertRefresh" "60-75"
Option "TwinViewOrientation" "RightOf"
Option "ConnectedMonitor" "crt,crt"
Option "TVStandard" "NTSC-M"
Option "MetaModes" "1280x1024 @1280x1024,1280x1024 @1280x1024"
EndSection

Section "Screen"
Identifier "Screen0"
Device "GF4"
Monitor "Sun1"
DefaultDepth 24

Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection

EndSection

Section "ServerLayout"
Identifier "sim"
Screen "Screen0"
InputDevice "Keyboard" "CoreKeyboard"
InputDevice "Mouse" "CorePointer"
EndSection
dnellans is offline   Reply With Quote
Old 01-19-2004, 11:43 PM   #4
rfuree11
Official Bikini Inspector
Boston
 
rfuree11's Avatar
07 WRX Limited
 
Join Date: May 2002
Posts: 1,464

Vehicle Specs

wow, you were able to run dual monitors on gentoo? my neighbor and i were trying to get it working all night last week on his computer, this info will be real useful. thanks




__________________
NEW: 07 WRX Limited
twisted, shackled, 31's, brown wire
diamonds, clears, PIAAs <---sold
my cardomain site
rfuree11 is offline   Reply With Quote
Old 01-20-2004, 12:03 AM   #5
dnellans
Salt Lake City, UT
'92 XL
 
Join Date: Dec 2002
Posts: 98

Vehicle Specs

most things are easier to do under gentoo than any other linux distro... you just have to know how to do it first feel free to email me if you have gentoo problems. i was a developer for a while in the early days and have lots of experience with gentoo in many different regards and would be happy to help if you need it!

-d
dnellans is offline   Reply With Quote
Old 01-20-2004, 09:48 AM   #6
rfuree11
Official Bikini Inspector
Boston
 
rfuree11's Avatar
07 WRX Limited
 
Join Date: May 2002
Posts: 1,464

Vehicle Specs

i'm running slack 9 (dual boot) and i love it. gentoos a little intimidating for me




__________________
NEW: 07 WRX Limited
twisted, shackled, 31's, brown wire
diamonds, clears, PIAAs <---sold
my cardomain site
rfuree11 is offline   Reply With Quote
Old 03-15-2004, 04:33 AM   #7
SmokeGrinder
Uber Of All Possible Doom
 
SmokeGrinder's Avatar
97 explorer 4X4
 
Join Date: Dec 2002
Posts: 1,112

Vehicle Specs

(Original Poster)
Well i got it working with 2 screens.
I have 2 screens 1 supports 1600x1200 res, the other one will not support that. Under windows I was able to have them running at diffrent resoultions? Is this possible with X?

Thanks

Tom
SmokeGrinder is offline   Reply With Quote
Old 03-15-2004, 04:35 AM   #8
SmokeGrinder
Uber Of All Possible Doom
 
SmokeGrinder's Avatar
97 explorer 4X4
 
Join Date: Dec 2002
Posts: 1,112

Vehicle Specs

(Original Poster)
I will post my config later today
SmokeGrinder is offline   Reply With Quote
Old 03-15-2004, 09:18 AM   #9
dnellans
Salt Lake City, UT
'92 XL
 
Join Date: Dec 2002
Posts: 98

Vehicle Specs

i don't believe this is currently possible under X. perhaps under 4.4 which is just out (with the licensing issues) running them at different resolution would be tough on my eyes for sure!

-d
dnellans is offline   Reply With Quote
Old 03-15-2004, 10:33 AM   #10
SmokeGrinder
Uber Of All Possible Doom
 
SmokeGrinder's Avatar
97 explorer 4X4
 
Join Date: Dec 2002
Posts: 1,112

Vehicle Specs

(Original Poster)
Here is the one where i can have them both at 1024x768 but i would like one running at 1600x1200 and the other at 1024x768


[root@tahoe 2nd]# more 2nd
# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
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 "keyboard"
Option "XkbRules" "xfree86"
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 "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 "ADI MicroScan 6P"
DisplaySize 350 270
HorizSync 30.0 - 94.0
VertRefresh 48.0 - 160.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "nvidia corporation"
BoardName "NVIDIA GeForce FX (generic)"
VideoRam 131072
Option "DPMS"
Option "TwinView"
Option "SecondMonitorHorizSync" "30-60"
Option "SecondMonitorVertRefresh" "50-120"
Option "TwinViewOrientation" "LeftOf"
Option "MetaModes" "1024x768,1024x768;1280x1024,11"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "64
0x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

[root@tahoe 2nd]#
SmokeGrinder is offline   Reply With Quote
Reply

Suggest this thread to friends:



Join the "Elite Explorers" Today!



Search Explorer Forum


Top of Page

Thread Tools

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

Forum Jump


All times are GMT -5. The time now is 10:21 PM.



US Flag
We Support Our Troops!

Explore the site!


Copyright 2013 - 1996 Rick Horwitz Photography



This site is not endorsed or affiliated

with the Ford Motor Company in any way.



All tips on this site are for use at your own risk and discretion.

Modifying the suspension on any vehicle will cause changes to its handling characteristics.



Vendor Tools vBulletin Plugins by Drive Thru Online, Inc.