RE_ [olug] Second Monitor
Ken
emptymm at cox.net
Thu Jan 29 01:06:39 UTC 2004
Tim - DZ wrote:
> Just a guess, but I think it's the @ in your meta modes...
>
> You're saying you want a 1024x768 screen on a 800x600 monitor...
>
> I think you probably want something more like:
>
> "1024x768,800x600"
>
> Again the ; separates different modes - the , separates monitors...
>
I agree.. If it's any help, I've listed my config below. This is
currently setup for supporting 2 monitors at 1024x768 using 2 nvidia
video cards and the nvidia drivers with xinerama. The configs for
switching over to using twinview with tv-out (and disabling xinerama)
are all listed in the card "Device" section but just commented out at
the moment.
-Ken
##############################################################
### XFree86 4 configuration /etc/X11/XF86Config
#
### GLOBAL ###
#
Section "ServerFlags"
Option "DefaultServerLayout" "DualLayout_AGP_Prime"
EndSection
### FILES ###
#
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
### MODULES ###
#
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection
### INPUT DEVICES ###
#
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" "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
### MONITORS ###
#
Section "Monitor"
Identifier "monitor_right"
VendorName "Compaq"
ModelName "Compaq P75"
HorizSync 30.0 - 85.0
VertRefresh 50.0 - 150.0
Option "dpms"
EndSection
Section "Monitor"
Identifier "monitor_left"
VendorName "Compaq"
ModelName "Compaq FS940"
HorizSync 30.0 - 92.0
VertRefresh 50.0 - 120.0
Option "dpms"
EndSection
### DISPLAY ADAPTERS ###
#
# NVIDIA GeForce4 MX 440 (64MB DDR) PCI Slot
Section "Device"
# no known options
BusID "PCI:02:04:0"
Identifier "pci_card" #(right)
Driver "nvidia"
VendorName "NVIDIA"
BoardName "GeForce4 MX 440 DDR"
Option "NvAGP" "0"
Option "HWCursor" "true"
#Option "NoLogo"
#Option "RenderAccel" "true"
Option "DigitalVibrance" "50" #range 0-255
#Option "IgnoreEDID" "true"
#Option "UseEdidFreqs" "true"
Option "CursorShadow" "true"
Option "CursorShadowAlpha" "100" #range 0-255
Option "CursorShadowXOffset" "4" #range 0-32
Option "CursorShadowYOffset" "2" #range 0-32
#Option "UseInt10Module" "true" #soft-boot secondary cards
#
### Use TwinView for TV-Out Support ###
#Option "TwinView" "true"
#Option "TVStandard" "NTSC-M"
#Option "ConnectedMonitor" "CRT, TV"
#Option "TwinViewOrientation" "Clone"
#Option "SecondMonitorHorizSync" "30.0-50.0" # TV settings
#Option "SecondMonitorVertRefresh" "60.0" # TV settings
#Option "MetaModes" "1024x768,1024x768;800x600,NULL;640x480,NULL"
#Option "NoTwinViewXineramaInfo" "true"
### TwinView End ###
EndSection
# NVIDIA GeForce2 MX 200 (64MB DDR) AGP Slot
Section "Device"
# no known options
BusID "PCI:1:0:0"
Identifier "agp_card" #(left)
Driver "nvidia"
VendorName "NVIDIA"
BoardName "GeForce2 MX 200 DDR"
Option "NvAGP" "3"
Option "HWCursor" "true"
#Option "NoLogo"
Option "RenderAccel" "true"
Option "DigitalVibrance" "25" #range 0-255
#Option "IgnoreEDID" "true"
#Option "UseEdidFreqs" "true"
Option "CursorShadow" "true"
Option "CursorShadowAlpha" "100" #range 0-255
Option "CursorShadowXOffset" "4" #range 0-32
Option "CursorShadowYOffset" "2" #range 0-32
#Option "UseInt10Module" "true" #soft-boot secondary cards
#
### Use TwinView for TV-Out Support ###
#Option "TwinView" "true"
#Option "TVStandard" "NTSC-M"
#Option "ConnectedMonitor" "CRT, TV"
#Option "TwinViewOrientation" "Clone"
#Option "SecondMonitorHorizSync" "30.0-50.0" # TV settings
#Option "SecondMonitorVertRefresh" "60.0" # TV settings
#Option "MetaModes" "1024x768,1024x768;800x600,NULL;640x480,NULL"
#Option "NoTwinViewXineramaInfo" "true"
### TwinView End ###
EndSection
### SCREENS ###
#
Section "Screen"
Identifier "screen_right"
Device "pci_card"
Monitor "monitor_right"
DefaultDepth 16
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Section "Screen"
Identifier "screen_left"
Device "agp_card"
Monitor "monitor_left"
DefaultDepth 16
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
### SERVER LAYOUTS ###
#
Section "ServerLayout"
#
Identifier "DualLayout_AGP_Prime" #current default
Screen 0 "screen_left"
Screen 1 "screen_right" RightOf "screen_left"
Option "xinerama" "true"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerLayout"
#
Identifier "DualLayout_PCI_Prime"
Screen 0 "screen_right"
Screen 1 "screen_left" LeftOf "screen_right"
Option "xinerama" "true"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerLayout"
#
Identifier "SingleLayout_AGP" #single default
Screen 0 "screen_left"
Option "xinerama" "false"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
# Would need dri module loaded
#Section "DRI"
# Group 0
# Mode 0666
#EndSection
### EOF ###
#########################################################
More information about the OLUG
mailing list