求改刷新率的方法
-
- 帖子: 40
- 注册时间: 2008-06-15 18:04
求改刷新率的方法
我的显卡是ATI radeon 7500 DDR的,在windows上面刷新率可以调到200hz。这个型号ati官方闭源驱动不支持,只能用开源的驱动。
昨天装了ubuntu8.04 lts桌面版,装上之后,屏幕狂闪,打开屏幕分辨率之后,发现分辨率有"1024x768" "800x600" "640x480"仨选项,但是刷新率一栏只有60hz一个选项......狂晕....
在官方wiki找了http://wiki.ubuntu.org.cn/index.php?title=UbuntuHelp:FixVideoResolutionHowto/zh&variant=zh-hans这个文章,说我的电脑没能正确识别显示器型号。然后按照上面的介绍一步步做。
运行 sudo ddcprobe | grep monitorrange 的输出结果是 monitorrange: 30-72, 50-160
然后运行sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
sudo sh -c 'md5sum /etc/X11/xorg.conf > /var/lib/xfree86/xorg.conf.md5sum'
sudo dpkg-reconfigure -plow xserver-xorg
按照wiki上的说法应该会让我输入有关显示器的信息,可是我运行它,它却只让我输了几个关于键盘的信息就自动结束了,根本没有关于显示器的信息...
我之后按照上面的第二种方法,手动把HorizSync 30-72 VertRefresh 50-160 SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
的信息加到了/etc/X11/xorg.conf里。
重启之后刷新率和分辨率都没有任何变化,打开屏幕分辨率就弹出一窗口说xserve不支持xrandR。无法在运行时刻对分辨率进行调整。
那位大虾能帮帮我,告诉我现在该怎么办,我被这屏幕闪了快一天了,都要吐出来了...
下面是我的xorg.conf文件
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "cn"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection
Section "Device"
Identifier "Configured Video Device"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
Option "DPMS"
HorizSync 30-72
VertRefresh 50-160
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection
昨天装了ubuntu8.04 lts桌面版,装上之后,屏幕狂闪,打开屏幕分辨率之后,发现分辨率有"1024x768" "800x600" "640x480"仨选项,但是刷新率一栏只有60hz一个选项......狂晕....
在官方wiki找了http://wiki.ubuntu.org.cn/index.php?title=UbuntuHelp:FixVideoResolutionHowto/zh&variant=zh-hans这个文章,说我的电脑没能正确识别显示器型号。然后按照上面的介绍一步步做。
运行 sudo ddcprobe | grep monitorrange 的输出结果是 monitorrange: 30-72, 50-160
然后运行sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
sudo sh -c 'md5sum /etc/X11/xorg.conf > /var/lib/xfree86/xorg.conf.md5sum'
sudo dpkg-reconfigure -plow xserver-xorg
按照wiki上的说法应该会让我输入有关显示器的信息,可是我运行它,它却只让我输了几个关于键盘的信息就自动结束了,根本没有关于显示器的信息...
我之后按照上面的第二种方法,手动把HorizSync 30-72 VertRefresh 50-160 SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
的信息加到了/etc/X11/xorg.conf里。
重启之后刷新率和分辨率都没有任何变化,打开屏幕分辨率就弹出一窗口说xserve不支持xrandR。无法在运行时刻对分辨率进行调整。
那位大虾能帮帮我,告诉我现在该怎么办,我被这屏幕闪了快一天了,都要吐出来了...
下面是我的xorg.conf文件
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "cn"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection
Section "Device"
Identifier "Configured Video Device"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
Option "DPMS"
HorizSync 30-72
VertRefresh 50-160
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection
- syrano
- 帖子: 4313
- 注册时间: 2007-10-06 18:40
- dogfox
- 论坛版主
- 帖子: 5311
- 注册时间: 2006-09-02 14:18
- 来自: 汉桑城
- 联系:
-
- 帖子: 40
- 注册时间: 2008-06-15 18:04
- syrano
- 帖子: 4313
- 注册时间: 2007-10-06 18:40
-
- 帖子: 47
- 注册时间: 2007-12-30 14:33
首先,你的配置文件没有标明Device 的"Driver", 这样X server 可能会调用默认的Vesa driver, 也可能出问题.建议你加上, 不加上的话和不装独立显卡没有啥区别. 其次, 最好用"X -configure"生成一个基本文件, 这样改起来也方便, 然后测试"startx -- -config configfile"它, 是否成功. 要改分辨率与刷新率,你必须要加载一些必须的模块, 如下:
Section "Module"
Load "extmod"
Load "glx"
Load "dri"
....
EndSection
命令xrand (x resize and rotate) 可以用来查看与更改分辨率、刷新率及桌面旋转方向.
直接运行就是查看, xrandr -s 1280x1024 (或xrandr -s 3) 都可以改变分辨率
xrandr -r 75 可以改变刷新率, xrand -o 2 可以改变旋转方向.
你的问题是超频, 应设置正确的HorizSync 与VertRefresh 在/etc/X11/xorg.conf 文件中, 找到Monitor这个Section对, 加入你的显示器的HorizSync 与VertRefresh 值. 一般在启动过X window后在/var/log/Xorg.0.log文件找到,你可以查找max 会找到如H min H max, V min V max, 这就是Monitor 的Range.
Section "Module"
Load "extmod"
Load "glx"
Load "dri"
....
EndSection
命令xrand (x resize and rotate) 可以用来查看与更改分辨率、刷新率及桌面旋转方向.
直接运行就是查看, xrandr -s 1280x1024 (或xrandr -s 3) 都可以改变分辨率
xrandr -r 75 可以改变刷新率, xrand -o 2 可以改变旋转方向.
你的问题是超频, 应设置正确的HorizSync 与VertRefresh 在/etc/X11/xorg.conf 文件中, 找到Monitor这个Section对, 加入你的显示器的HorizSync 与VertRefresh 值. 一般在启动过X window后在/var/log/Xorg.0.log文件找到,你可以查找max 会找到如H min H max, V min V max, 这就是Monitor 的Range.