星期五, 11月 25, 2005

 

Linux: Nvidia TwinView

我的機器的主要配備:
AMD Athlon XP 2000
Nvidia 6200
1.25G RAM
此設定檔可以將螢幕設定為雙螢幕,目前不含TV out


我的 xorg.conf的設定檔內容:

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "glx"
Load "extmod"
Load "type1"
Load "freetype"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "1280x1024 @ 60 Hz"
HorizSync 31.5-64.3
VertRefresh 50-75

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
BoardName "NVIDIA GeForce 6200"
Driver "nvidia"
BusID "PCI:1:0:0"

Option "TwinView"
Option "SecondMonitorHorizSync" "31.5-64.3"
Option "SecondMonitorVertRefresh" "50-75"
Option "TwinViewOrientation" "RightOf"
Option "MetaModes" "1024x768,1024x768; 800x600,800x600"
Option "ConnectMonitor" "crt,crt"

#Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24


Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600"
#Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600"
#Virtual 1024 768
EndSubsection

EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection


This page is powered by Blogger. Isn't yours?