LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-19-2003, 02:05 PM   #1
Svha
LQ Newbie
 
Registered: Jul 2003
Posts: 24

Rep: Reputation: 15
XF86Config - Settings For Correct Resolution On Second Monitor


Hi Folks

I finally got Xinerama working on my RH9 Box, however I come across a problem regarding setting the desktop resolution on the second monitor. Any ideas you folks can throw at this are appreciated!


Problem

I can't seem to set the secondary monitor resolution to 1024x768 with high colour depth, its currently stuck at 640x480 - 256 colours.


Physical Setup

Primary Display - AGP GeForce 2 GTS -> 17" ADI Monitor
Secondary Display - PCI Savage4 -> 17" ADI Monitor


Software Setup

Red Hat 9 - Kernel 2.4.20-18.9
XFree86Verion - 4.3.0

---------------------------------
Contents of "/etc/X11/XF86Config"

# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "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"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "ADI MicroScan 17"
HorizSync 30.0 - 87.5
VertRefresh 50.0 - 120.0
EndSection

Section "Monitor"

Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "ADI MicroScan 17@"
HorizSync 30.0 - 87.5
VertRefresh 50.0 - 120.0
EndSection

Section "Device"

### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
Identifier "Card0"
Driver "nv"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce 2 GTS (generic)"
BusID "PCI:1:0:0"
EndSection

Section "Device"

### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "HWCursor" # [<bool>]
#Option "SWCursor" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "Rotate" # [<str>]
#Option "UseBIOS" # [<bool>]
#Option "LCDClock" # <freq>
#Option "ShadowStatus" # [<bool>]
#Option "VideoRAM" # <i>
#Option "CrtOnly" # [<bool>]
#Option "TvOn" # [<bool>]
#Option "PAL" # [<bool>]
#Option "ForceInit" # [<bool>]
Identifier "Card1"
Driver "savage"
VendorName "S3 Inc."
BoardName "Savage 4"
BusID "PCI:2:12:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 1
EndSubSection
SubSection "Display"
Depth 4
EndSubSection
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 15
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
SubSection "Display"
Depth 1
EndSubSection
SubSection "Display"
Depth 4
EndSubSection
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 15
EndSubSection
SubSection "Display"
Depth 16
EndSubSection
SubSection "Display"
Depth 24
EndSubSection
EndSection

EOF
---------------------------------

Cheers for any input ..... Svha !
 
Old 07-19-2003, 09:51 PM   #2
teamstatic84
Member
 
Registered: Jul 2003
Posts: 123

Rep: Reputation: 15
I don't know much about this... but I would have doubled up on NVIDIA cards instead of going with NVIDIA and S3.
 
Old 07-19-2003, 10:12 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
maybe try adding some modes for the secondary monitor....
 
Old 10-03-2003, 10:57 AM   #4
Svha
LQ Newbie
 
Registered: Jul 2003
Posts: 24

Original Poster
Rep: Reputation: 15
Okies ...... after a little tweaking I actually got this working (see XF86config below) I did change the secondary monitor to a 17" Gateway (picture quality)

So it now looks like this .....

Display 1 -> AGP GeForce2 -> ADI 17"
Display 2 -> PCI S3 Savage 4 -> Gateway 17"

However what I dont understand is, that if I had listed several display modes for "screen 2" instead of just hard setting one - ie ......

Modes "800x600" "1024x768" "1152x864"

Which one X would use - is there a pointer in another config file that determines this?

Cheers ..... Svha

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

Contents Of Working XF86Config

# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1" 0 0
Screen "Screen 2" RightOf "Screen 1"
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"
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" "gb"
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 "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 "Gateway"
ModelName "Unknown monitor"
HorizSync 31.5 - 64.0
VertRefresh 50.0 - 120.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Adi"
ModelName "ADI MicroScan 17"
HorizSync 30.0 - 87.5
VertRefresh 50.0 - 120.0
Option "dpms"
EndSection

Section "Device"
Identifier "GF2"
Driver "nv"
BoardName "NVIDIA GeForce 2 GTS (generic)"
VideoRam 32768
BusID "PCI:1:0:0"
EndSection

Section "Device"
Identifier "S4"
Driver "savage"
BusID "PCI:2:12:0"
EndSection

Section "Screen"
Identifier "Screen 1"
Device "GF2"
Monitor "Adi"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1152x864"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen 2"
Device "S4"
Monitor "Gateway"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
correct resolution for wide aspect monitor crowmobe Linux - Hardware 2 03-12-2006 09:03 PM
Set the wrong resolution for my monitor and need to get back to old settings in RH9 gbaiocchi Linux - Newbie 2 09-30-2004 08:44 PM
Wrong monitor settings in XF86config-4 and cant see to fix it meshsmooth Linux - Newbie 4 05-13-2004 07:52 AM
XF86Config appears to be correct, but mimsmall Fedora - Installation 1 03-23-2004 12:51 PM
XF86Config correct? shanenin Linux - Software 3 03-16-2004 12:46 PM


All times are GMT -5. The time now is 07:12 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration