LinuxSir.cn,穿越时空的Linuxsir!

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

FC6 屏幕刷新率和屏幕偏移的解决办法

[复制链接]
发表于 2007-1-16 13:50:10 | 显示全部楼层 |阅读模式
刚刚安装了FC6,进入KDE后,发现屏幕刷新率只有60Hz,习惯了85Hz后无法忍受晃眼的感觉。
另外就是在windows下调整好屏幕之后,在KDE中屏幕 总是偏向左边,每次切换都要调整屏幕。
第一个问题的解决办法:
      1. 在终端中使用gtf 800 600 85命令(我的显示器不好,所以使用800*600,可以自己选择),然后会看到输出
      # 800x600 @ 85.00 Hz (GTF) hsync: 53.55 kHz; pclk: 56.55 MHz
  Modeline "800x600_85.00"  56.55  800 840 928 1056  600 601 604 630  +HSync +Vsync
  一般情况下,系统会自己在/etc/X11下的xorg.conf文件中自动添加到section “Monitor”中。如果没有自动添加也没有关系 ,将这两行手动添加到文件中即可。下面是我的机器的配置:
   Section "Monitor"
### Comment all HorizSync and VertSync values to use DDC:
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
### Comment all HorizSync and VertSync values to use DDC:
        HorizSync    50.5 - 80.0
        VertRefresh  75.0 - 86.0
        ModeLine "800x600"  56.30  800  840  928 1056    600  601  604  630 +hsync +vsync
        Option      "dpms"
EndSection

2. 检查xorg.conf文件的section "Screen"部分。看有没有Monitor这一行,如果没有,手动添加Monitor “Monitor0”
  (我检查了原有的配置文件的备份,发现没有这一行。所以尽管修改了Monitor部分的配置,但是仍然没有起作用)
  下面是我的机器的配置
  Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes "800x600"
        EndSubSection
  EndSection

第二个问题的解决办法:
在终端中使用xvidtune命令,我的机器无法直接修改(使用left/right等)。
直接修改xorg.conf文件,将其中的Modeline一行中的 第5、6行修改,如果偏左,可以增大数值,如果偏右,减小数值。
修改完成后,重新启动系统即可。
发表于 2007-1-16 15:05:47 | 显示全部楼层
看到gtf这个命令,没见过,google了一下,

GTF :XFree86 modeline generator

The GTF XFree86 modeline generator is a utility for calculating VESA GTF modes. Given the desired horizontal and vertical resolutions and refresh rate (in Hz), the parameters for a matching VESA GTF mode are printed out. Two output formats are supported: mode lines suitable for the XFree86 XF86Config(5x) file, and mode parameters suitable for the Linux fbset(8) utility.
回复 支持 反对

使用道具 举报

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

本版积分规则

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