Linyinwill 发表于 2005-1-16 06:07:38

如何修改X的分辨率?

用 Xorg -configure 自动生成xorg.conf
想将显示器的分辨率调为1024*768,但结果好像并未是
修改过后的xorg.conf内容如下:

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
Load "extmod"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "glx"
Load "type1"
Load "freetype"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
#DisplaySize 320 240 # mm
Identifier "Monitor0"
VendorName "SAM"
ModelName "1057"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### : arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<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 "NV11DDR "
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024*768"
EndSubSection
EndSection

n0000 发表于 2005-1-16 11:37:36

你确定
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0 里面的值是准确的吗?如果这个不对,也是不可以的。你看看/var/log/Xorg.0.log 里面的信息就知道原因了。

yuebianyun 发表于 2005-1-16 20:18:12

显卡驱动装了么?
我以前也是没法该刷新率和分辨率
后来才晓得,驱动没有装的原因!

5417 发表于 2005-1-18 09:20:55

显卡驱动装了么?
我以前也是没法该刷新率和分辨率
后来才晓得,驱动没有装的原因!

刷新频率和驱动无关。
页: [1]
查看完整版本: 如何修改X的分辨率?