我有一台 hp DL580 机器,我将 Debian 6 升级到了 7(AMD64 版;内核也更新到了 3.2)。这台机器有一块 ATI ES1000 显卡。所以我按照列出的说明http://wiki.debian.org/AtiHowTo
安装了显卡,主要是安装固件-linux-非自由和libgl1-mesa-dri包。
不幸的是,3D 加速不起作用,因此 gnome-shell 以回退模式启动。输出grep AGP /boot/config-$(uname -r)
是
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_AGP_INTEL=y
CONFIG_AGP_SIS=y
CONFIG_AGP_VIA=y
输出grep DRM_RADEON /boot/config-$(uname -r)
为
CONFIG_DRM_RADEON=m
CONFIG_DRM_RADEON_KMS=y
我的Xorg.0.log的内容可以看到这里。
可以看出AIGLX恢复到软件渲染。错误如下:
[2770371.141] (EE) AIGLX error: Calling driver entry point failed
[2770371.141] (EE) AIGLX: reverting to software rendering
[2770371.141] (II) AIGLX: Screen 0 is not DRI capable
我的/etc/X11/xorg.conf
文件如下所示。请注意,即使没有此文件(自动检测模式),3D 加速也无法启动。
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
Screen 2 "Screen2" RightOf "Screen1"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
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"
FontPath "built-ins"
EndSection
Section "Module"
Load "glx"
Load "dri2"
Load "record"
Load "extmod"
Load "dri"
Load "dbe"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor2"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
Identifier "Card0"
Option "AccelMethod" "EXA"
Option "DRI" "True"
Option "AGPMode" "8"
Driver "radeon"
BusID "PCI:1:3:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen2"
Device "Card2"
Monitor "Monitor2"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
的输出LIBGL_DEBUG=verbose glxinfo >/dev/nulll
如下(请注意,我使用通过 ssh 的 X11 隧道生成了输出,即ssh -X
):
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
libGL: Can't open configuration file /root/.drirc: No such file or directory.
此外,我尝试了上述专有驱动程序,http://wiki.debian.org/ATIProprietary
但没有成功。显然,AMD 放弃了对旧版显卡的支持。
我不知道该如何继续让它工作。任何帮助或提示都将不胜感激。
答案1
ATI ES1000 没有任何 3D 加速器。这就是 AIGLX 无法启动的原因。