LinuxSir.cn,穿越时空的Linuxsir!

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

进退两难地求助!!!!版主请进!!关于ati显卡的驱动问题.

[复制链接]
发表于 2006-10-27 02:25:29 | 显示全部楼层 |阅读模式
之前发了一个帖子问关于xgl的问题,再次感谢大家对我的帮助.这里我有另外一个问题,关于ati显卡的驱动问题.
我的硬件环境是:IBM r52笔记本,显卡Mobility Radeon X300 generic,
驱动版本:ati-driver-installer-8.29.6.run
Xorg版本: 1:7.1.0-5
系统: Linux Debian 2.6.18-1-686.
我现在遇到问题是:
1)如果我"不"在xorg.conf上加上以下:
Section "Extensions"
Option      "Composite" "Enable"
EndSection
那么我的ATI显卡驱动能正常工作,即fglrxinfo输出ATI相关的东西,但是如果要启动aixgl的话,即输入beryl,输出以下:
XGL Absent, checking for NVIDIA
Nvidia Absent, assuming AIGLX
beryl: No composite extension
2)如果我在xorg.conf加上关于composite的代码,则ATI驱动不正常,即fglrxinfo输出的是mesa的东西,而且还输出Xlib: extension "XFree86-DRI" missing on display ":0.0"(我的是Xorg,为什么输出XFree86的东西??),在xorg.conf加上load dri也还是不管用,而且beryl-xgl能启动2秒钟,然后就fatal error了.

现在我极其的矛盾,真的是进退两难,希望哪位知道怎么回事的能不吝赐教,我将感激万分.
附:xorg.conf
Section "ServerLayout"
        Identifier     "Default Layout"
        Screen         "Default Screen" 0 0
        InputDevice    "Generic Keyboard"
        InputDevice    "Configured Mouse"
        InputDevice    "Synaptics Touchpad"
        Option            "AIGLX" "true"
EndSection

Section "Files"

        # path to defoma fonts
        FontPath     "/usr/share/fonts/X11/misc"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc"
        FontPath     "/usr/share/fonts/X11/cyrillic"
        FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/Type1"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath     "/usr/share/fonts/X11/100dpi"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath     "/usr/share/fonts/X11/75dpi"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
        FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

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

Section "InputDevice"
        Identifier  "Generic Keyboard"
        Driver      "kbd"
        Option            "CoreKeyboard"
        Option            "XkbRules" "xorg"
        Option            "XkbModel" "pc104"
        Option            "XkbLayout" "us"
EndSection

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

Section "InputDevice"
        Identifier  "Synaptics Touchpad"
        Driver      "synaptics"
        Option            "SendCoreEvents" "true"
        Option            "Device" "/dev/psaux"
        Option            "rotocol" "auto-dev"
        Option            "HorizScrollDelta" "0"
EndSection

Section "Monitor"
        Identifier   "Generic Monitor"
        HorizSync    28.0 - 51.0
        VertRefresh  43.0 - 60.0
        Option            "DPMS"
EndSection

Section "Device"
        Identifier  "ATI Technologies Inc M22 [Radeon Mobility M300]"
        Driver      "fglrx"
        Option            "AllowGLXWithComposite" "true"
        Option            "RenderAccel" "true"
        Option            "XAANoOffscreenPixmaps" "true"
#        Option                "DRI"        "true"
        Option            "VideoOverlay" "on"
        Option            "OpenGLOverlay" "off"
        Option            "KernelModuleParm" "agplock=0"
        BusID       "CI:1:0:0"
EndSection

Section "Screen"
        Identifier "Default Screen"
        Device     "ATI Technologies Inc M22 [Radeon Mobility M300]"
        Monitor    "Generic Monitor"
        DefaultDepth     24
        Option            "AddARGBGLXVisuals" "true"
        SubSection "Display"
                Depth     1
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Group        0
        Mode         0666
EndSection

#Section "Extensions"
#        Option            "Composite" "Enable"
#EndSection
发表于 2006-10-27 08:09:39 | 显示全部楼层
抱歉!我用 N 卡的,不会 A 卡的设置。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-27 09:54:01 | 显示全部楼层
Post by d00m3d
抱歉!我用 N 卡的,不会 A 卡的设置。


没关系,感谢回复~~~~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-27 09:54:44 | 显示全部楼层
Post by d00m3d
抱歉!我用 N 卡的,不会 A 卡的设置。


没关系
确实N卡的设置是要相对容易不少的
回复 支持 反对

使用道具 举报

发表于 2006-10-27 11:05:43 | 显示全部楼层
我也用的X300,根据我的经验,你必须显式设置Composite 为 disable才能用上aiglx
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-27 11:30:19 | 显示全部楼层
Post by x11
我也用的X300,根据我的经验,你必须显式设置Composite 为 disable才能用上aiglx


x11,你好.怎么显式设置Composite 为 disable呢?是这样么?
Section "Extensions"
Option      "Composite" "Disable"
EndSection
我把这段发在xorg.conf最后,重启后,确实fglrxinfo输出的是ATI的,但是运行beryl后还是输出no composite extension阿,你是怎么弄阿?能不能共享一下你的xorg.conf?
谢谢!!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-27 15:07:24 | 显示全部楼层
大家帮忙看一下吧~~
回复 支持 反对

使用道具 举报

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

本版积分规则

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