|
|
之前发了一个帖子问关于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 |
|