LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1954|回复: 5

如何锁定刷新率?

[复制链接]
发表于 2006-3-18 11:18:24 | 显示全部楼层 |阅读模式
我的xorg.conf
[php]
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Wed Dec 14 16:39:22 PST 2005


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

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

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

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

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "rotocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "GeForce 6200 TurboCache(TM)"
EndSection

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

[/php]
startx
他有事时起来的是800x600的有时起来.有时事640x480的那个.有时却能正常显示1024,很郁闷.不知道如何把他锁定在1024上?
我的驱动时8178的.
发表于 2006-3-18 13:22:57 | 显示全部楼层
这么个性?,,,我这里是 设置不正确的话,干脆什么都没有。。。
回复 支持 反对

使用道具 举报

发表于 2006-3-18 14:03:53 | 显示全部楼层
emerge ddcxinfo-knoppix.
你就可以用这个工具得到一组数据,把它放在xorg.conf里边就可以了。
Section "Monitor"
    Identifier  "Monitor0"
    HorizSync   28.0 - 96.0
    VertRefresh 49 - 75
    ModeLine "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066
    Option "DPMS"

这个是我在我机器上用的。TFT显示器,60HZ的刷新率。
回复 支持 反对

使用道具 举报

发表于 2006-3-19 01:54:58 | 显示全部楼层
X 自带的 gtf 命令就可以了吧?

不过 ddcxinfo 更全面。
回复 支持 反对

使用道具 举报

发表于 2006-3-19 15:24:59 | 显示全部楼层
是由这两个参数决定的:
HorizSync 28.0 - 96.0
VertRefresh 49 - 75
显示器的行频和场频,看你显示器的说明书会有的.
回复 支持 反对

使用道具 举报

发表于 2006-3-20 10:28:41 | 显示全部楼层
VertRefresh 设置为85
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表