试了几次发现1280x960也可以,只要显示比例是4:3的都可以,是5:4的就不正常。这是为什么阿?
[lijz@localhost X11]$ cat xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
Screen 2 "Screen2" RightOf "Screen1"
Screen 3 "Screen3" RightOf "Screen2"
Screen 4 "Screen4" RightOf "Screen3"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "catalogue:/etc/X11/fontpath.d"
FontPath "built-ins"
EndSection
Section "Module"
Load "dbe"
Load "dri"
Load "record"
Load "dri2"
Load "glx"
Load "extmod"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 28.0 - 65.0
VertRefresh 43.0 - 72.0
Option "DPMS"
Modeline "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor2"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor3"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor4"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
BusID "PCI:0:13:0"
EndSection
Section "Device"
### Available Driver options are:-
### Values: : integer,
###
###
### [arg]: arg optional
#Option "SWcursor" # [
#Option "HWcursor" # [
#Option "NoAccel" # [
#Option "ShadowFB" # [
#Option "UseFBDev" # [
#Option "Rotate" # [
#Option "VideoKey" #
#Option "FlatPanel" # [
#Option "FPDither" # [
#Option "CrtcNumber" #
#Option "FPScale" # [
#Option "FPTweak" #
#Option "DualHead" # [
Identifier "Card1"
Driver "nv"
BusID "PCI:0:13:0"
EndSection
Section "Device"
### Available Driver options are:-
### Values: : integer,
###
###
### [arg]: arg optional
#Option "SWcursor" # [
#Option "HWcursor" # [
#Option "NoAccel" # [
#Option "ShadowFB" # [
#Option "UseFBDev" # [
#Option "Rotate" # [
#Option "VideoKey" #
#Option "FlatPanel" # [
#Option "FPDither" # [
#Option "CrtcNumber" #
#Option "FPScale" # [
#Option "FPTweak" #
#Option "DualHead" # [
Identifier "Card2"
Driver "nv"
BusID "PCI:0:13:0"
EndSection
Section "Device"
### Available Driver options are:-
### Values: : integer,
###
###
### [arg]: arg optional
#Option "ShadowFB" # [
#Option "Rotate" #
#Option "fbdev" #
#Option "debug" # [
Identifier "Card3"
Driver "fbdev"
BusID "PCI:0:13:0"
EndSection
Section "Device"
### Available Driver options are:-
### Values: : integer,
###
###
### [arg]: arg optional
#Option "ShadowFB" # [
#Option "DefaultRefresh" # [
#Option "ModeSetClearScreen" # [
Identifier "Card4"
Driver "vesa"
BusID "PCI:0:13:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen2"
Device "Card2"
Monitor "Monitor2"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen3"
Device "Card3"
Monitor "Monitor3"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen4"
Device "Card4"
Monitor "Monitor4"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
相思爱文 于 2012-03-22 07:45:39发表:
Modeline "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync
这一行,可以指定分辨率,和屏幕位置大小等