LinuxSir.cn,穿越时空的Linuxsir!

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

”out of range“错误![解决]

[复制链接]
发表于 2006-11-17 18:09:30 | 显示全部楼层 |阅读模式
我一运行3d游戏比如说quake4,blobwars,全屏幕时就提示“Out of range”,非全屏时没事,是什么问题?字面意思是”超出水平刷新率(同步?)“,但是我是按照显示器说明书上输入的,而且我记得曾经成功运行(quake4)过,为什么就不行了呢?是显示器老化了?附件xorg.conf
Gentoo bin # cat /etc/X11/xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/75dpi"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/Type1"
        FontPath     "/usr/share/fonts/zh_CN/others"
EndSection

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

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "rotocol" "auto"
#       Option      "Device" "/dev/mouse"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Mag InnoVision MAG 796FDII"
#       DisplaySize   246 185
#      HorizSync     30.0 - 96.0
#       VertRefresh   50.0 - 160.0
[color="Red"]
        HorizSync     30.0 - 90.0
        VertRefresh   50.0 - 150.0
        Option        "DPMS"

EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "NV43 [GeForce 6600 GT]"
        BusID       "CI:4:0:0"
        Option      "XAANoOffscreenPixmaps" "true"
        Option "CursorShadow" "true"     #开启鼠标阴影效果
        Option "CursorShadowAlpha" "60"  #阴影的不透明度
        Option "CursorShadowXOffset" "4" #阴影距离指针横轴距离
        Option "CursorShadowYOffset" "2" #阴影距离指针纵轴距离
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        # Enable 32-bit ARGB GLX Visuals
        Option "AddARGBGLXVisuals" "True"
        #
        #     # If you are using an older version of compiz that
        #     # does not support rendering into the Composite
        #     # Overlay Window, you will need to disable clipping
        #     # of GLX rendering to the X Root window with this
        #     # option, or you will get a blank screen after
        #     # starting compiz:
        #Option "DisableGLXRootClipping" "True"

        SubSection "Display"
                Viewport   0 0
                Depth     8
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
              Modes       "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "true"
    Option         "RENDER" "Enable"
EndSection
 楼主| 发表于 2006-11-17 18:30:06 | 显示全部楼层
难道是显卡的问题?还是游戏的问题?NVIDIA 9629的驱动,用8774 也不行。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-17 18:50:49 | 显示全部楼层
好想找到答案了,但是似懂非懂哪位大大给解释一下?
Option "UseEdidFreqs" "boolean"

    This option controls whether the NVIDIA X driver will use the HorizSync and VertRefresh ranges given in a display device's EDID, if any. When UseEdidFreqs is set to True, EDID-provided range information will override the HorizSync and VertRefresh ranges specified in the Monitor section. If a display device does not provide an EDID, or the EDID does not specify an hsync or vrefresh range, then the X server will default to the HorizSync and VertRefresh ranges specified in the Monitor section of your X config file. These frequency ranges are used when validating modes for your display device.

    Default: True (EDID frequencies will be used)
Option "UseEDID" "boolean"

    By default, the NVIDIA X driver makes use of a display device's EDID, when available, during construction of its mode pool. The EDID is used as a source for possible modes, for valid frequency ranges, and for collecting data on the physical dimensions of the display device for computing the DPI (see Appendix Y, Dots Per Inch). However, if you wish to disable the driver's use of the EDID, you can set this option to False:

        Option "UseEDID" "FALSE"

    Note that, rather than globally disable all uses of the EDID, you can individually disable each particular use of the EDID; e.g.,

        Option "UseEDIDFreqs" "FALSE"
        Option "UseEDIDDpi" "FALSE"
        Option "ModeValidation" "NoEdidModes"

    Default: True (use EDID).
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-18 11:47:26 | 显示全部楼层
问题解决,正在运行quake3。。。
Section "Device"
      ......
        Option "UseEdidFreqs" "False"
       [color="Red"]
       Option "UseEDID" "False"
              Option "UseEDIDFreqs" "FALSE"
              Option "UseEDIDDpi" "FALSE"
              Option "ModeValidation" "NoEdidModes"
            
         ......
EndSection
回复 支持 反对

使用道具 举报

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

本版积分规则

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