LinuxSir.cn,穿越时空的Linuxsir!

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

现在可以640×480,别的不行。。请大家看看,谢谢了。。

[复制链接]
发表于 2007-3-31 13:50:31 | 显示全部楼层 |阅读模式
死马当活马,在xorg.conf里漫无目的的改了很就,测试了很就,把640×480给测试出来了,可以进x,可别的模式还是不行。

我把我的xorg.conf贴一下,我觉得应该是它的问题。

那个xlog放在附件里,大家也帮我看看,谢谢啊。。


# Auto-generated by mkxf86config
#Section "Device"
#        Identifier  "Device0"
#        Driver      "fglrx"
#EndSection

Section "ServerLayout"

# Serial Mouse not detected
#No Synaptics touchpad found
        Identifier     "X.Org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "S/2 Mouse" "AlwaysCore"
        InputDevice    "USB Mouse" "AlwaysCore"
EndSection

Section "Files"
        FontPath     "/usr/share/fonts/util"
                #我贴的时候删除了,这些没意义
EndSection

Section "Module"
        Load  "ddc"
        Load  "vbe"
        Load  "GLcore"
        Load  "dbe"
        Load  "extmod"
        Load  "bitmap"
        Load  "type1"
        Load  "freetype"
        Load  "record"
        Load  "dri"
        Load  "drm"
        Load  "glx"
EndSection

Section "ServerFlags"
        Option            "AllowMouseOpenFail" "true"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option            "CoreKeyboard"
        Option            "XkbRules" "xorg"
        Option            "XkbModel" "pc104"
        Option            "XkbOptions" "grp:toggle,grp_led:scroll"
        Option            "XkbVariant" ",winkeys"
EndSection

Section "InputDevice"
        Identifier  "Serial Mouse"
        Driver      "mouse"
        Option            "rotocol" "Microsoft"
        Option            "Device" "/dev/ttyS0"
        Option            "Emulate3Buttons" "true"
        Option            "Emulate3Timeout" "70"
        Option            "SendCoreEvents" "true"
EndSection

Section "InputDevice"
        Identifier  "USB Mouse"
        Driver      "mouse"
        Option            "Device" "/dev/input/mice"
        Option            "SendCoreEvents" "true"
        Option            "rotocol" "IMPS/2"
        Option            "ZAxisMapping" "4 5"
        Option            "Buttons" "5"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "HL"
        ModelName    "HL0018"
### Comment all HorizSync and VertRefresh values to use DDC:
        HorizSync    31.5 - 31.5
        VertRefresh  50.0 - 70.0
EndSection

Section "Device"

        ### Available Driver options are:-
        # sw_cursor is needed for some ati and radeon cards
        # The following line is auto-generated by x11-misc/mkxf86config
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "All"
        BoardName   "All"
        Option            "sw_cursor"
        #Option     "hw_cursor"
        #Option     "NoAccel"
        #Option     "ShowCache"
        #Option     "ShadowFB"
        #Option     "UseFBDev"
        #Option     "Rotate"
        Option            "DDCMode" "yes"
        Option            "AGPMode" "4"
        Option            "AGPFastWrite" "yes"
        Option            "RenderAccel" "on"
        Option            "EnablePageFlip" "True"
        Option            "XAANoOffscreenPixmaps" "true"
        Option            "XaaNoScanlineImageWriteRect"
        Option            "XaaNoScanlineCPUToScreenColorExpandFill"
        Option            "MonitorLayout" "NONE, LVDS"
        Option            "BusType" "CI"
        BusID       "CI:2:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     16
        SubSection "Display"
                Depth     16
                Modes    "640x480"
        EndSubSection
EndSection

Section "DRI"
        Mode         0666
EndSection

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| 发表于 2007-3-31 13:53:18 | 显示全部楼层
那个ddc还不能关,我指 Option            "DDCMode" "yes"

如果变成no,好像刷新率系统就自动取了,永远一个提示,刷新率超出范围。。

好像和xorg。conf里的提示含义不一样,它明明说
### Comment all HorizSync and VertRefresh values to use DDC

看着意思是,使用ddc时,刷新率是自动获得的,

奇怪。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-31 14:07:25 | 显示全部楼层
另外,我的闪龙2200+,ati9550-64M,512内存,在640×480下,glxgears才3300帧/600fps多一点,正常吗?
回复 支持 反对

使用道具 举报

发表于 2007-3-31 14:50:06 | 显示全部楼层

默认与第一个值匹配

默认与第一个值匹配
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
[color="Red"]DefaultDepth 16
SubSection "Display"
[color="Red"]Depth 16
Modes "1024x768 800x600 640x480"#默认与第一个值匹配                                       
EndSubSection
EndSection
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-31 15:35:05 | 显示全部楼层
Post by schoolwind
默认与第一个值匹配


这个我懂啊,问题是我那行只能有640x80,不能在再出现别的,即便在它后面追加一个800x600也不行
回复 支持 反对

使用道具 举报

发表于 2007-3-31 20:21:40 | 显示全部楼层
ati显卡期待高手帮你解答吧。我的nvidia xorg.conf参考
Gentoo ~ # cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Mon Feb 26 23:38:46 PST 2007


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    FontPath        "/usr/share/fonts/corefonts"
    FontPath        "/usr/share/fonts/default"
    FontPath        "/usr/share/fonts/zh_CN/Others"
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/75dpi"
    FontPath        "/usr/share/fonts/100dpi"
    FontPath        "/usr/share/fonts/util"
    FontPath        "/usr/share/fonts/TTF"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/shart/fonts/xdtv"
    FontPath        "/usr/share/fonts/kochi-substitute"
    FontPath        "/usr/share/fonts/arphicfonts"
    FontPath        "/usr/share/fonts/encodings"
    FontPath        "/usr/share/fonts/ttf-bitstream-vera"
    FontPath        "/usr/share/fonts/zh_CN/Wqy"
EndSection

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

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
    Option         "XkbRules" "xorg"
    Option         "XkbVariant" "intl"
EndSection

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

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Monitor Vendor"
    ModelName      "Mag InnoVision MAG 796FDII"
    HorizSync       30.0 - 96.0
    VertRefresh     50.0 - 160.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "NV43 [GeForce 7300 GT]"
EndSection

Section "Screen"

        # Enable 32-bit ARGB GLX Visuals
        #     # 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         "UseEdidFreqs" "True"
#    Option         "UseEDID" "True"
#    Option         "UseEDIDDpi" "True"
#    Option         "ModeValidation" "NoEdidModes"
#    Option         "DDCMode" "True"
    Option         "DPI"  "96x96"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "DisableGLXRootClipping" "True"
    Option         "AddARGBGLXVisuals" "True"
    Option         "XAANoOffscreenPixmaps" "True"
#    Option         "SWcursor"   "True"
    Option         "HWcursor" "True"
    Option         "CursorShadow" "True"     #开启鼠标阴影效果
    Option         "CursorShadowAlpha" "64"  #阴影的不透明度
    Option         "CursorShadowXOffset" "4" #阴影距离指针横轴距离
    Option         "CursorShadowYOffset" "2" #阴影距离指针纵轴距离
    Option         "Nologo" "true"
    Option         "RenderAccel" "true"
    SubSection     "Display"
        Viewport    0 0
        Depth       16
        Modes      "1024x768_85" "800x600_85"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1024x768_85" "800x600_85"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "true"
    Option         "RENDER" "Enable"
EndSection
回复 支持 反对

使用道具 举报

发表于 2007-3-31 21:10:02 | 显示全部楼层
Post by 鱼儿小
这个我懂啊,问题是我那行只能有640x80,不能在再出现别的,即便在它后面追加一个800x600也不行
为什么不能再出现别的?
不能出现别的,还追加800x600?
如果要加,应该把800x600放在第一位,前面有人已经贴给你看了
回复 支持 反对

使用道具 举报

发表于 2007-4-1 05:21:38 | 显示全部楼层
Post by 鱼儿小
另外,我的闪龙2200+,ati9550-64M,512内存,在640×480下,glxgears才3300帧/600fps多一点,正常吗?

glxgears 全屏了?还是窗口?感觉正常。。。
回复 支持 反对

使用道具 举报

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

本版积分规则

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