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 |
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-19-2003, 02:05 PM
|
#1
|
LQ Newbie
Registered: Jul 2003
Posts: 24
Rep:
|
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 !
|
|
|
07-19-2003, 09:51 PM
|
#2
|
Member
Registered: Jul 2003
Posts: 123
Rep:
|
I don't know much about this... but I would have doubled up on NVIDIA cards instead of going with NVIDIA and S3.
|
|
|
07-19-2003, 10:12 PM
|
#3
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
maybe try adding some modes for the secondary monitor....
|
|
|
10-03-2003, 10:57 AM
|
#4
|
LQ Newbie
Registered: Jul 2003
Posts: 24
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 01:33 AM.
|
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
|
|