LinuxSir.cn,穿越时空的Linuxsir!

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

rh8下面怎样调整刷新率!

[复制链接]
发表于 2003-3-16 19:31:09 | 显示全部楼层 |阅读模式
论坛上边有好多的贴子介绍怎样调整刷新率和分辨率,主要是通过xvidtune和XF86Config-4两个文件调整,但我在rh8下面却找不到XF86Config-4文件,只有一个XF86Config,里边也没有发现关于刷新率的参数,不知道怎么样才能够改变刷新率,每次开机,看到一晃一晃的显示器,就别扭,希望高手帮助解决一下!
发表于 2003-3-16 20:26:34 | 显示全部楼层
如果你用的是Redhat的话你的X window配置文件是
/etc/X11/XF86Config
在那个文件中你会看到象下面这样的东西:
# 640x400 @ 70 Hz, 31.5 kHz hsync
Modeline "640x400" 25.175 640 664 760 800 400 409 411 450
# 640x480 @ 60 Hz, 31.5 kHz hsync
Modeline "640x480" 25.175 640 664 760 800 480 491 493 525
# 800x600 @ 56 Hz, 35.15 kHz hsync
ModeLine "800x600" 36 800 824 896 1024 600 601 603 625
# 1024x768 @ 87 Hz interlaced, 35.5 kHz hsync
Modeline "1024x768" 44.9 1024 1048 1208 1264 768 776 784 817
Interlace
# 640x480 @ 72 Hz, 36.5 kHz hsync
Modeline "640x480" 31.5 640 680 720 864 480 488 491 521
# 800x600 @ 60 Hz, 37.8 kHz hsync
Modeline "800x600" 40 800 840 968 1056 600 601 605 628
+hsync +vsync
# 800x600 @ 72 Hz, 48.0 kHz hsync
Modeline "800x600" 50 800 856 976 1040 600 637 643 666
+hsync +vsync
# 1024x768 @ 60 Hz, 48.4 kHz hsync
Modeline "1024x768" 65 1024 1032 1176 1344 768 771 777 806
-hsync -vsync
# 1024x768 @ 70 Hz, 56.5 kHz hsync
Modeline "1024x768" 75 1024 1048 1184 1328 768 771 777 806
-hsync -vsync
# 1280x1024 @ 87 Hz interlaced, 51 kHz hsync
Modeline "1280x1024" 80 1280 1296 1512 1568 1024 1025 1037 1165
Interlace
# 1024x768 @ 76 Hz, 62.5 kHz hsync
Modeline "1024x768" 85 1024 1032 1152 1360 768 784 787 823
# 1280x1024 @ 61 Hz, 64.2 kHz hsync
Modeline "1280x1024" 110 1280 1328 1512 1712 1024 1025 1028 1054
# 1280x1024 @ 74 Hz, 78.85 kHz hsync
Modeline "1280x1024" 135 1280 1312 1456 1712 1024 1027 1030 1064
# 1280x1024 @ 76 Hz, 81.13 kHz hsync
Modeline "1280x1024" 135 1280 1312 1416 1664 1024 1027 1030 1064
这些东西控制这你的显示卡的设置,例如
下面这一行注释说分辨率为1280x1024,刷新速率为76赫兹,行扫频率为81.13千赫兹
# 1280x1024 @ 76 Hz, 81.13 kHz hsync
下面这一行具体设置显示卡:
Modeline "1280x1024" 135 1280 1312 1416 1664 1024 1027 1030 1064
这行中每个项目的意义如下:(从左到右)
模式行,分辨率,像元频率(兆赫兹),每行像元数,行同步(消隐)脉冲开始的时钟周期,行同步(消隐)脉冲结束的时钟周期,每行的时钟周期数,每帧的图象行数,帧同步脉冲开始的扫描行数,帧同步脉冲结束的扫描行数,每帧的扫描行数。
调整这些数目你可以最大限度地使用你的显示卡和显示器,例如您的显示卡有一兆存储器,您可以设置成1152x900的分辨率。需要当心的是仔细核对你的显示器所允许的扫描频率,有些显示器当收到过高的扫描同步脉冲后会烧毁行扫描晶体管。
下一个问题是你的显示卡有什么像元频率可以用,例如上面的行要求135MHz,但你的卡只有125兆赫兹,怎么办呢?也好办,用emacs或vi把135改为125就完了。
如果你的配置文件中对应于您所要的分辨率有多个模式行的话,您可以将其它频率较低的模式行用#号给封上,只留下你想要的频率就能改变扫描频率了。
当然,你还可用XF86带的xvidtune软件调整
 楼主| 发表于 2003-3-16 20:36:47 | 显示全部楼层

我的/etc/X11/XF86Config文件根本就没有楼上说的那些内容

我的/etc/X11/XF86Config文件根本就没有楼上仁兄说的那些内容,我把XF86Config内容发一下,还是可以看出没有modline之类的东西

# File generated by anaconda.

Section "ServerLayout"
        Identifier     "Anaconda Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Mouse1" "SendCoreEvents"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
# 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

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

Section "InputDevice"
#        Option        "AutoRepeat"        "500 5"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
#        Option        "rotocol"        "Xqueue"
# 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"
        #Option        "XkbOptions"        ""
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option            "XkbRules" "xfree86"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us"        #Option        "XkbVariant"        ""
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "rotocol" "IMPS/2"
        Option            "Device" "/dev/psaux"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "no"
EndSection

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option            "Device" "/dev/input/mice"
        Option            "rotocol" "IMPS/2"
        Option            "Emulate3Buttons" "no"
        Option            "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    30.0 - 70.0
        VertRefresh  50.0 - 160.0
        Option            "dpms"
EndSection

Section "Device"
        # no known options
        #BusID
        Identifier  "ATI Radeon 9000"
        Driver      "vesa"
        VendorName  "ATI Radeon 9000"
        BoardName   "ATI Radeon 9000"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "ATI Radeon 9000"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Mode         0666
EndSection


还有,我用xvidtune时,得到如下的数据
pixel Clock(MHz):   94.50
Horizontal Sync (KHz)  68.68
Vertical Sync (Hz) :  85.00

我想知道,这个状态下的刷新率是多少,为什么在阅读文本或者是网页时感到闪烁的很严重
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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