QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2634|回复: 8

如何调整显示分辨率?

[复制链接]
发表于 2006-6-10 20:38:30 | 显示全部楼层 |阅读模式
我的MAGICLINUX不知道是不是因为当初安装的时候在X windows设置里选择了800*600的分辨率  所以现在即使安装了合适的显卡驱动但分辨率也只能停在800*600 不能往上调  但刷新率已由60HZ升到85HZ  不知道还有没有方法调过来啊?
发表于 2006-6-10 21:12:48 | 显示全部楼层
你把你的/etc/X11/xorg.conf贴出来吧
大家帮你看看。你的显卡是nvidia的还是ati的?
回复

使用道具 举报

 楼主| 发表于 2006-6-11 12:23:08 | 显示全部楼层
# 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
回复

使用道具 举报

 楼主| 发表于 2006-6-11 12:25:42 | 显示全部楼层
是不是直接把800x600改成1024x768就行了?
回复

使用道具 举报

发表于 2006-6-11 17:49:54 | 显示全部楼层
相应的行修改成如下也许可以,看你的显示器的表现了.
#HorizSync 31.5 - 37.9
Modes     "1024x768"    "800x600"
回复

使用道具 举报

 楼主| 发表于 2006-6-11 20:19:09 | 显示全部楼层
非常感谢! 改成1024×768后重启就行了
回复

使用道具 举报

发表于 2006-6-12 00:18:39 | 显示全部楼层
# 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 重新配置显示器、显卡试试。
回复

使用道具 举报

发表于 2006-6-12 00:26:08 | 显示全部楼层
ModelName "Unknown monitor"
这句说明当初配置的时候没有正确选择你的显示器型号!
回复

使用道具 举报

发表于 2006-6-12 09:20:15 | 显示全部楼层
这样做显然是不妥的,因为工作在错误的行频下有可能烧毁你显示器的行输出三极管。


我采用注释掉的办法,而不是随便给个数值,确实是为了显示器的安全,对于新的xorg不给定数值是在不知道行频和场频具体范围情况下,最好的做法.这种情况下xorg的程序是另可牺牲性能,也不做有损显示器的操作的.
现在的xorg行频和场频已经不是必须的参数了,在现在使用的显示器,大部分xorg都能检测到适用的显示模式(宽屏除外)
其实Modes行也可以不要,不过一般xorg选择的显示模式并不是我们需要的,象我的显示器,不指定modes,xorg选的是1280x1024@65Hz,我需要的是1024x768@85,因此需要在modes指定.
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-5-7 07:23 , Processed in 0.063718 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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