如何调整显示分辨率?
我的MAGICLINUX不知道是不是因为当初安装的时候在X windows设置里选择了800*600的分辨率所以现在即使安装了合适的显卡驱动但分辨率也只能停在800*600 不能往上调但刷新率已由60HZ升到85HZ不知道还有没有方法调过来啊? 你把你的/etc/X11/xorg.conf贴出来吧大家帮你看看。你的显卡是nvidia的还是ati的? # nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:version 1.0(buildmeister@builder3)Mon May 15 13:23:42 PDT 2006
# XFree86 4 configuration created by MagicInstaller.
Section "ServerLayout"
Identifier "Default Layout"
Screen 0"Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/TTF"
FontPath "/usr/share/fonts/default/Type1"
FontPath "/usr/share/fonts/ttf/zh_CN"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XbkModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unknown monitor"
HorizSync 31.5 - 37.9
VertRefresh 50.0 - 70.0
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 2 MX (generic)"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "800x600"
EndSubSection
EndSection 是不是直接把800x600改成1024x768就行了? 相应的行修改成如下也许可以,看你的显示器的表现了.
#HorizSync 31.5 - 37.9
Modes "1024x768" "800x600" 非常感谢! :-D 改成1024×768后重启就行了 # XFree86 4 configuration created by MagicInstaller.
Section "ServerLayout"
Identifier "Default Layout"
Screen 0"Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/TTF"
FontPath "/usr/share/fonts/default/Type1"
FontPath "/usr/share/fonts/ttf/zh_CN"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XbkModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "AOC SPECTRUM 7Vlr & 7VlrA & 7Vlr+ & 7VlrA+"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 130.0
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nv"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 2 MX (generic)"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
以上是我的配置。
注意,分辨率在 Section "Screen" 小节设置,即
Modes "1024x768" "800x600"
lanzinc 的作法之所以成功,很可能是因为他把水平同步(行频)注释掉了,而行频直接决定了你能使用的最大分辨率。这样做显然是不妥的,因为工作在错误的行频下有可能烧毁你显示器的行输出三极管。
正确的作法是,参照你显示器的手册填写正确的 Section "Monitor" 小节里 HorizSync 和 VertRefresh 的数值,然后修改 Section "Screen" 小节里 Modes 的设置,在前方增加希望采用的默认分辨率。
看看你的数值:
HorizSync 31.5 - 37.9
VertRefresh 50.0 - 70.0
这也太低了,在终端下使用 xconfig 重新配置显示器、显卡试试。 ModelName "Unknown monitor"
这句说明当初配置的时候没有正确选择你的显示器型号!
这样做显然是不妥的,因为工作在错误的行频下有可能烧毁你显示器的行输出三极管。
我采用注释掉的办法,而不是随便给个数值,确实是为了显示器的安全,对于新的xorg不给定数值是在不知道行频和场频具体范围情况下,最好的做法.这种情况下xorg的程序是另可牺牲性能,也不做有损显示器的操作的.
现在的xorg行频和场频已经不是必须的参数了,在现在使用的显示器,大部分xorg都能检测到适用的显示模式(宽屏除外)
其实Modes行也可以不要,不过一般xorg选择的显示模式并不是我们需要的,象我的显示器,不指定modes,xorg选的是1280x1024@65Hz,我需要的是1024x768@85,因此需要在modes指定.
页:
[1]