关于安装linux系统屏幕刷新率问题的详细介绍

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

关于安装linux系统屏幕刷新率问题的详细介绍
关于安装linux系统屏幕刷新率问题的详细介绍
有的地方介绍使用以下方法可以改变显示器的分辨率和刷新率
1、用xvidtune调整你的显示器
进入X 后在终端中执行xvidtune,会弹出一个窗口,点Auto然后点Left和Right来调整显示器,
最后点界面上的Show会得到显示器分辨率的输出,按数据修改X 配置文件即可。

2、在文本模式下设置刷新率
执行:# xrandr -s 1024x768 -r 85 马上生效
其中1024x768是分辨率,85是刷新率。

这些方法比较难操作,而且在有些linux中总是把显卡最高的分辨率和刷新率作为默认值,
有些显示器的刷新率达不到这些值,总是在安装linux是提示超出显示器的最大输入频率。

我给大家提供一个方法让大家尽量避免这样的状况。

安装时超出频率的问题的解决:
1:建议大家使用图形化安装界面,但是一但发生了上面的问题,建议大家使用文本安装界面。

虽然比较难以使用,但是可以避免安装的时候发生超出显示器的最大输入频率的问题。

(往往发生在使用液晶显示器的时候)
2:当安装完毕以后,超出显示器的最大输入频率的问题依然会存在。

如何处理呢??
下面我来一一道来:
情况1:有时候液晶显示器会提示“超出显示器的最大输入频率”,但是它还是会正常显示的,只是
过一段时间之后会自动关闭显示器。

这种情况我们还可以利用界面来修改.
但是有时显示器会直接黑掉,这是你可以使用ctrl+alt+F1使用控制台登陆root用户修改xorg.conf。

该文件位于/etc/X11下,
命令是
#cd /etc/X11
#vi xorg.conf
注意:最好把原来的xorg.conf文件备份一下。

比如改名为xorg.conf.back
xorg.conf内容为下:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 () Thu Nov 9 17:55:20 PST 2006
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Section "Files"
# path to defoma fonts
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscale d"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "AOC 193FW"
HorizSync 31.0 - 83.0
VertRefresh 56.0 - 76.0
//这里是更改刷新率的,这里是一个范围,你只要把上限调的支持的数值就可以了.
//比如液晶只支持60Hz的,调成:VertRefresh 56.0 - 60.0 就可以了
Option "DPMS"
Option "DDC" "false"
Modeline "1440x900" 106.5 1440 1520 1672 1904 900 903 909 934
EndSection
Section "Device"
Identifier "nVidia Corporation NV11 [GeForce2 MX/MX 400]"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NV11 [GeForce2 MX/MX 400]"
Monitor "AOC 193FW"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1440x900"
EndSubSection
EndSection
最后保存reboot一下,就ok了
Linux下用vi编辑和保存文件
2007年03月01日星期四上午 03:36
Linux终端或控制台
vi /路径/文件名
例如,vi /etc/fstab表示显示/etc/fstab文件的内容。

使用键盘上的Page Up和Page Down键可以上下翻页;按下insert键,可以见到窗口左下角有“insert”字样,表示当前为插入编辑状态,这时从键盘输入的内容将插入到光标位置;再按下insert键,左下角将有“Replace”字样,表示当前为替换编辑状态,这时从键盘输入的内容将替换光标位置的内容。

编辑完内容后,按下Esc键,并输入“:wq”,然后回车就可以保存退出。

如果不想保存而直接退出,则按下Esc键后,输入“:q!”,然后回车即可。

“wq”表示Write和Quit,即保存退出;“q!”表示忽略
修改强行退出。

相关文档
最新文档