LinuxSir.cn,穿越时空的Linuxsir!

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

22"宽屏不能使用标准分辨率

[复制链接]
发表于 2007-11-25 21:00:32 | 显示全部楼层 |阅读模式
标准分辨率为: 1680x1050,现在只能显示在1024x768下,使用任何大于这个分辨率的时候都会“显示超出有限范围”--黑屏
下面是我能用的xorg.conf:

# /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/:unscaled"
        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  "dri"
        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            "rotocol" "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   "通用显示器"
        HorizSync    28.0 - 51.0
        VertRefresh  43.0 - 60.0
        Option            "DPMS"
EndSection

Section "Device"
        Identifier  "通用显示卡"
        Driver      "fglrx"
        Option            "VideoOverlay" "on"
        Option            "OpenGLOverlay" "off"
        BusID       "CI:1:5:0"
EndSection

Section "Screen"
        Identifier "Default Screen"
        Device     "通用显示卡"
        Monitor    "通用显示器"
        DefaultDepth     24
        SubSection "Display"
                Depth     1
                Modes    "1680x1050""1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes   "1680x1050" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes   "1680x1050" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes    "1680x1050""1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes    "1680x1050""1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes   "1680x1050" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Mode         0666
EndSection

Section "Extensions"
        Option            "Composite" "1"
EndSection

Section "ServerFlags"
        Option "AIGLX""on"
EndSection

下面是设置为宽屏标准分辨率的xorg.conf:

# /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 0 "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/:unscaled"
        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                "int10"
        Load                "vbe"
        Load                "glx"
        Load                "dbe"
        Load                "v4l"
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                "rotocol"        "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        "通用显示器"
        Vendorname        "HP"
        Modelname        "HP w2207 Wide LCD Monitor"
        Horizsync        24.0-60.0
        Vertrefresh        50.0-60.0
#  modeline  "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
#  modeline  "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
#  modeline  "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
  modeline  "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
#  modeline  "1152x768@54" 64.995 1152 1178 1314 1472 768 771 777 806 +hsync +vsync
#  modeline  "1280x854" 80.0 1280 1309 1460 1636 854 857 864 896 +hsync +vsync
#  modeline  "1280x768@60" 80.14 1280 1344 1480 1680 768 769 772 795 -hsync +vsync
#  modeline  "1280x720@60" 74.48 1280 1336 1472 1664 720 721 724 746 -hsync +vsync
#  modeline  "1280x800@75" 107.21 1280 1360 1496 1712 800 801 804 835 -hsync +vsync
#  modeline  "1280x768@75" 102.98 1280 1360 1496 1712 768 769 772 802 -hsync +vsync
#  modeline  "1280x720@50" 60.47 1280 1328 1456 1632 720 721 724 741 -hsync +vsync
#  modeline  "1280x800@60" 83.46 1280 1344 1480 1680 800 801 804 828 -hsync +vsync
#  modeline  "1440x900@75" 136.49 1440 1536 1688 1936 900 901 904 940 -hsync +vsync
  modeline  "1440x900@60" 106.47 1440 1520 1672 1904 900 901 904 932 -hsync +vsync
  modeline  "1600x1024@60" 136.36 1600 1704 1872 2144 1024 1025 1028 1060 -hsync +vsync
  modeline  "1680x1050@60" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -hsync +vsync
#  modeline  "1680x1050@75" 188.07 1680 1800 1984 2288 1050 1051 1054 1096 -hsync +vsync
#  modeline  "1920x1200@60" 193.16 1920 2048 2256 2592 1200 1201 1204 1242 -hsync +vsync
        Gamma        1.0
EndSection

Section "Device"
        Identifier        "通用显示卡"
        Boardname        "ati"
        Busid                "CI:1:5:0"
        Driver                "fglrx"
        Screen        0
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "通用显示卡"
        Monitor                "通用显示器"
        Defaultdepth        24
        SubSection "Display"
                Depth        24
                Virtual        1680        1050
                Modes                "1680x1050@60"        "1600x1024@60"        "1920x1200@60"        "1440x900@60"        "1280x800@60"        "1280x720@60"        "1280x768@60"        "800x600@60"       
        EndSubSection
EndSection

Section "DRI"
        Mode        0666
EndSection

Section "Extensions"
        Option                "Composite"        "1"
EndSection

Section "ServerFlags"
        Option                "AIGLX"        "on"
EndSection

其他包括compiz-fusion目前正常
发表于 2007-11-25 22:56:48 | 显示全部楼层
你用的什么发行版?什么显卡?什么型号的显示器?

我也是用的22寸宽频。挺好的呀。

我的是dell的e228wfp
ubuntu 7.10和Fedora 8都挺好的阿。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-26 07:45:40 | 显示全部楼层
实在不好意思!
Ubuntu 7.10
主板集成 ATI X1250
HP W2207

这些从我的签名中都可以看到的
回复 支持 反对

使用道具 举报

发表于 2007-11-26 09:47:24 | 显示全部楼层
Section "Monitor"
Identifier "通用显示器"
Vendorname "HP"
Modelname "HP w2207 Wide LCD Monitor"
Horizsync 24.0-60.0   -------  -------------- 是不是这里的值太小了?
Vertrefresh 50.0-60.0  --------------------- 和这里.
回复 支持 反对

使用道具 举报

发表于 2007-11-26 11:26:00 | 显示全部楼层
系统-系统管理-Screen and Graphics  设置下看看。

或者dpkg-reconfigure xserver-xorg
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-26 19:32:00 | 显示全部楼层
Post by goodlucky;1787711
Section "Monitor"
Identifier "通用显示器"
Vendorname "HP"
Modelname "HP w2207 Wide LCD Monitor"
Horizsync 24.0-60.0   -------  -------------- 是不是这里的值太小了?
Vertrefresh 50.0-60.0  --------------------- 和这里.


多少合适啊?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-26 20:40:54 | 显示全部楼层
Post by lincomet;1787774
系统-系统管理-Screen and Graphics  设置下看看。

或者dpkg-reconfigure xserver-xorg


我的那个配置文件就是用Screen and Graphics设置后生成的,下面那个到底是什么意思?会不会把我好不容易配置好的显卡驱动破坏了?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-29 21:59:25 | 显示全部楼层
试过Screen and Graphics了,最高能跳到1280x1024,改成1680x1050就没画面,“超出有效范围,请改成标准分辨率:1680x1050”了,dpkg-reconfigure xserver-xorg似乎不起作用,而且在cli里用,是中文乱码,我的zhcon运行就死机。
回复 支持 反对

使用道具 举报

发表于 2007-11-29 22:42:54 | 显示全部楼层
先export LC_ALL=en_US.UTF-8,这样提示语言就变成英语了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-29 22:47:50 | 显示全部楼层
我在recovery mode用dpkg-reconfigure xserver-xorg把屏幕改成最初始的状态了,现在是800x600,改完后用ccc和screens and graphics改了几个接近的分辨率和显示器的驱动,用test都不成功。不敢用“确定”!
回复 支持 反对

使用道具 举报

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

本版积分规则

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