LinuxSir.cn,穿越时空的Linuxsir!

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

液晶显示器的X配置问题

[复制链接]
发表于 2006-9-2 15:04:18 | 显示全部楼层 |阅读模式
刚把我的MAG CRT换成 AOC 193P+19吋液晶显示器,不知道怎么把X配置成用其最佳的1280x1024分辨率,现在只1024x768可用。

问题是当启用默认的1280x1024方式时,液晶显示器提出参数错误,拒绝显示。

这个问题我也在本论坛的硬件栏提出,但没有解答。
发表于 2006-9-2 15:52:04 | 显示全部楼层
好像没有什么特殊的呀?

你贴上你的看看。

另外19寸的不会是1280x1024吧?  我的17寸的三星都是这个了。
回复 支持 反对

使用道具 举报

发表于 2006-9-2 22:03:08 | 显示全部楼层
set your /etc/X11/xorg.conf like these:


Section "Screen"

#    Option         "TwinViewOrientation" "Clone" # "leftof"
#        Option         "ConnectedMonitor" "CRT,DFP"
#    Option         "MetaModes" "1024x768,1280x800" #;1280x800,800x600"
#        Option         "ConnectedMonitor" "CRT,DFP"
#   Option         "MetaModes" "1024x768,1280x800" #;1280x800,800x600"
#    Option         "TwinView" "false"
#    Option         "MetaModes" "1280x800" #;1280x800,800x600"
    Identifier     "Default Screen"
    Device         "nv"
    Monitor        "Generic Monitor"
    DefaultDepth    16
    Option         "UseFBDev" "true"
    Option         "TwinView" "true"
    Option         "TwinViewOrientation" "Clone" # "leftof"
    Option         "DPMS"
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x800"
    EndSubSection
EndSection
回复 支持 反对

使用道具 举报

发表于 2006-9-3 01:05:29 | 显示全部楼层
Section "Monitor"
        Identifier        "Generic Monitor"
        HorizSync    30.0 - 110.0
        VertRefresh  56.0 - 90.0
        Modeline "1280x1024"  108.88  1280 1360 1496 1712  1024 1025 1028 1060 -HSync +Vsync
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "kk"
        Monitor                "Generic Monitor"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1280x1024" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1280x1024" "1024x768" "800x600"
        EndSubSection
EndSection
回复 支持 反对

使用道具 举报

发表于 2006-9-3 10:47:29 | 显示全部楼层
装了显卡驱动自然解决,nvidia显卡在xorg下貌似"nv"最高支持1024x768
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-3 14:14:04 | 显示全部楼层
感谢各位的热心支持!

经过试验,现在情况是:

1。AOC 193P+是AOC19吋中现在最好的现货,它的最佳分辨率确实是1280x1024,而且这个也是它的最大分辨率;比17吋的好处是尺寸较大,所以阅读起来舒适性好多了;

2。Peter74 和 烂头冲 的方法我都试过了,还是不对。不知道正确的点时钟是多少?

3。ys_freedom提到的驱动都给进一步的信息吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-3 14:16:44 | 显示全部楼层
当前的xorg.conf如下,添上1280x1024后出错:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice "Keyboard0" "CoreKeyboard"
        InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/Type1/"
#        FontPath     "/usr/share/fonts/CID/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/zh_CN"
        FontPath     "/usr/share/fonts/cyrillic"
EndSection

Section "Module"
        Load  "extmod"
        Load  "glx"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "type1"
        Load  "freetype"
        Load  "v4l"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "us"
        Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option "rotocol" "IMPS/2"
        Option "Device" "/dev/psaux"
        Option "ZAxisMapping" "6 7"
        Option "Buttons" "5"
EndSection

Section "Monitor"
        #DisplaySize          380   300        # mm
        Identifier   "Monitor0"
        VendorName   "AOC"
        ModelName    "TFT1980"
### Uncomment if you don't want to default to DDC:
        HorizSync    30.0 - 83.0
        VertRefresh  55.0 - 75.0

        ModeLine "1024x768"     78.80   1024 1056 1152 1312    768  769  772  800 +hsync +vsync


        Option            "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"                   # [<bool>]
        #Option     "HWcursor"                   # [<bool>]
        #Option     "NoAccel"                    # [<bool>]
        #Option     "ShadowFB"                   # [<bool>]
        #Option     "UseFBDev"                   # [<bool>]
        #Option     "Rotate"                     # [<str>]
        #Option     "VideoKey"                   # <i>
        #Option     "FlatPanel"                  # [<bool>]
        #Option     "FPDither"                   # [<bool>]
        #Option     "CrtcNumber"                 # <i>
        #Option     "FPScale"                    # [<bool>]
        #Option     "FPTweak"                    # <i>
        Identifier  "Card0"
        Driver      "nv"
        VendorName  "nVidia Corporation"
        BoardName   "NV11 [GeForce2 MX/MX 400]"
        BusID       "CI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultColorDepth 24
       
        SubSection "Display"
                Viewport   0 0
                Depth     1
                Modes "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
                Modes "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
                Modes "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes "1024x768" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes "1024x768" "640x480"
        EndSubSection
EndSection
回复 支持 反对

使用道具 举报

发表于 2006-9-4 09:45:33 | 显示全部楼层
先把其他地方弄正确, 分辨率的设置就是这样, 我的宽屏1280X800都可以
SubSection "Display"
Depth 24
Modes "1280x800"
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-4 11:30:52 | 显示全部楼层
Peter74:
请把你的X配置文件中
Section "Monitor" "Device"  "Screen"
帖一下,谢谢!
回复 支持 反对

使用道具 举报

发表于 2006-9-4 12:32:24 | 显示全部楼层
我也是19"的显示器,单纯xorg设置没有效果,只有同时设置xorg和安装nvidia驱动,分辨率才可以正常。设置xorg还要查一下你显示器的垂直和水平刷新率,否则刷新率可能会有问题
回复 支持 反对

使用道具 举报

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

本版积分规则

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