LinuxSir.cn,穿越时空的Linuxsir!

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

[求助]为什么屏幕的最大分辨率只有640x480?

[复制链接]
发表于 2007-4-8 23:27:51 | 显示全部楼层 |阅读模式
对Debian一直有一种向往,一直想着有一天能用上她,看了一些资料后,这两天试着装了debian-31r5-i386-netinst。安装的是KDE桌面,但进入X-WINDOW后,屏幕的分辨率只有640x480,在桌面配置中的选项也只有这一个,刷新率只有73Hz这个选项,于是我google了一下,按照网上介绍的方法把Moniter一段修改成了:

Section "Monitor"
        Identifier        "DELL E156FP"
        # 1024x768 @ 75.00 Hz (GTF) hsync: 60.15 kHz; pclk: 81.80 MHz
        Modeline "1024x768_85.00" 94.39 1024 1088 1200 1376  768 769 772 807  -Hsync +Vsync
EndSection

这一段之前是:
HorizSync        30-63
VertRefresh     56-76

我用xdebconfigurator自动识别出来的。但问题依然没有解决,其他的方法也尝试了,最后没办法,我用一张Ubuntu的6.10的cd启动后按照其生成的xorg.conf文件做了修改,但仍然没成功。
我的显卡是"Intel Corporation 82865G Integrated Graphics Controller",显示器为DELL E156FP,内核用linux26安装的,下面是我的xf86config文件:
Section "Files"
        FontPath        "unix/:7100"                        # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/CID"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
        Load        "bitmap"
        Load        "ddc"
        Load        "dri"
        Load        "extmod"
        Load        "freetype"
        Load        "glx"
        Load        "int10"
        Load        "type1"
        Load        "vbe"
EndSection

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "keyboard"
        Option                "CoreKeyboard"
        Option                "XkbRules"        "xfree86"
        Option                "XkbModel"        "pc104"
        Option                "XkbLayout"        "us"
EndSection

Section "InputDevice"
        Identifier        "Configured Mouse"
        Driver                "mouse"
        Option                "CorePointer"
        Option                "Device"                "/dev/input/mice"
        Option                "rotocol"                "ExplorerPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option                "Emulate3Buttons"        "true"
EndSection

Section "Device"
        Identifier        "Intel Corporation 82865G Integrated Graphics Controller"
        Driver                "i810"
        BusID           "CI:0:2:0"
EndSection

Section "Monitor"
        Identifier        "DELL E156FP"
        # 1024x768 @ 75.00 Hz (GTF) hsync: 60.15 kHz; pclk: 81.80 MHz
        Modeline "1024x768_85.00" 94.39 1024 1088 1200 1376  768 769 772 807  -Hsync +Vsync
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "Intel Corporation 82865G Integrated Graphics Controller"
        Monitor                "DELL E156FP"
        DefaultDepth        16
        SubSection "Display"
                Depth                1
                Modes                "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Default Screen"
        InputDevice        "Generic Keyboard"
        InputDevice        "Configured Mouse"
EndSection

Section "DRI"
        Mode        0666
EndSection

其中所有的"720x400"都是我后来加上去的,在vim里不知道怎么输入乘号,所以用x代替了,
也不知道对不对,麻烦各位帮我看看怎么解决,谢谢了。
 楼主| 发表于 2007-4-9 13:49:16 | 显示全部楼层
那位大侠帮我看看吧,谢谢了。
回复 支持 反对

使用道具 举报

发表于 2007-4-9 13:52:46 | 显示全部楼层
你把 Depth 16 那一段的其它模式都去掉,只留1024x768 看看效果如何。
  1. SubSection "Display"
  2. Depth 16
  3. Modes "1024x768"
  4. EndSubSection
复制代码
Post by zhangxinyue0711
其中所有的"720x400"都是我后来加上去的,在vim里不知道怎么输入乘号,所以用x代替了,
本来就该用 [color="Red"]x 而不是 *
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-9 13:54:56 | 显示全部楼层
谢谢bufferfly,我试试看,^_^。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-9 14:06:33 | 显示全部楼层
刚才我试过了,还是不行,不过还是感谢bufferfly的帮助。
回复 支持 反对

使用道具 举报

发表于 2007-4-9 14:14:23 | 显示全部楼层
用dpkg-reconfigure xserver-xfree86重新设置一下。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-12 17:01:56 | 显示全部楼层
谢谢各位,现在装了debian 4r0 ,问题都解决了。呵呵。
回复 支持 反对

使用道具 举报

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

本版积分规则

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