LinuxSir.cn,穿越时空的Linuxsir!

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

Fix Video Resolution Refresh How to on Ubuntu/Debian with ATI Drivers

[复制链接]
发表于 2006-7-4 20:13:29 | 显示全部楼层 |阅读模式
从8.19版本的ATI驱动之后,出于保护硬件的考虑,有些显示器的的分辨率不能正确探测到,因此必需手动添加到xorg.conf中。鉴于手动修改ATI的分辨率探测,有可能会伤害到硬件,请你仔细阅读显示器的规格介绍或者向厂商垂询。

首先、确保您的ATI驱动已经正确安装,并且已经安装成功。

接着、打开您的终端

step01
sudo ddcprobe | grep monitorrange
得到
monitorrange: 30-70, 50-160
其中第一个为HorizSync
第二个为VertRefresh

step02
得到一个正确的显示器的分辨率和刷新率
sudo gtf 1024 768 85 # 1024x768x85Hz
得到
# 1024x768 @ 85.00 Hz (GTF) hsync: 68.60 kHz; pclk: 94.39 MHz
Modeline "1024x768_85.00" 94.39 1024 1088 1200 1376 768 769 772 807 -HSync +Vsync

step03
接着备份您的xorg.conf
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup.sync_and_refresh
step04
修改您的xorg.conf
sudo gedit /etc/X11/xorg.conf
修改Monitor部分
Section "Monitor"
Identifier "FLATRON 775F"
HorizSync 30-70 #没有就添加,用刚才step01得到的第一值
VertRefresh 50-160 #没有就添加,用刚才step01得到的第二值
Option "DPMS"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Modeline "1024x768" 94.39 1024 1088 1200 1376 768 769 772 807 #用step02得到的值
EndSection

step04
重启gdm/kdm
/etc/init.d/gdm restart
or
/etc/init.d/kdm restart

step05
如果修改失败的话
sudo dpkg-reconfigure xserver-xorg

请您自己修改的时候慎重,且保证自己有一定的基本能力。
发表于 2006-7-4 21:41:49 | 显示全部楼层
硬件参数可以google得到(我那段就没写)

再添加这个就好了
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-7-4 22:27:53 | 显示全部楼层
Post by 种草得草
硬件参数可以google得到(我那段就没写)

再添加这个就好了
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection


有些显示器的刷新率aticonfig测不准
只加
Modes    "1024x768" "800x600" "640x480"
这个不起效
我的显示器就测不到1152x864@75hz
回复 支持 反对

使用道具 举报

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

本版积分规则

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