apt-get update

aptitude install fglrx-driver fglrx-kernel-src
fglrx-modules-`uname -r` -y

aptitude install fglrx-driver fglrx-kernel-src
module-assistant prepare
module-assistant update
module-assistant build fglrx
cd /usr/src
dpkg -i fglrx-kernel-*.deb
depmod -a

更改配置xorg.conf的配置文件,注意备份

Section “ServerLayout”
Identifier “aticonfig Layout”
Screen 0 “aticonfig-Screen[0]-0” 0 0
EndSection

Section “Files”
EndSection

Section “Module”
EndSection

Section “ServerFlags”
Option “DontZap” “yes”
EndSection

Section “InputDevice”
Identifier “Generic Keyboard”
Driver “kbd”
Option “XkbRules” “xorg”
Option “XkbModel” “pc104”
Option “XkbLayout” “us”
EndSection

Section “InputDevice”
Identifier “Configured Mouse”
Driver “mouse”
EndSection

Section “Monitor”
Identifier “Configured Monitor”
EndSection

Section “Monitor”
Identifier “aticonfig-Monitor[0]-0”
Option “VendorName” “ATI Proprietary Driver”
Option “ModelName” “Generic Autodetecting Monitor”
Option “DPMS” “true”
EndSection

Section “Device”
Identifier “Configured Video Device”
EndSection

Section “Device”
Identifier “aticonfig-Device[0]-0”
Driver “fglrx”
Option “UseInternalAGPGART” “no”
Option “VideoOverlay” “on”
Option “OpenGLOverlay” “off”
Option “MonitorLayout” “AUTO,AUTO”
Option “UseFBDev” “true”
BusID “PCI:1:0:0”
EndSection

Section “Screen”
Identifier “Default Screen”
Monitor “Configured Monitor”
EndSection

Section “Screen”
Identifier “aticonfig-Screen[0]-0”
Device “aticonfig-Device[0]-0”
Monitor “aticonfig-Monitor[0]-0”
DefaultDepth 24
SubSection “Display”
Viewport 0 0
EndSubSection
EndSection

Section “ServerFlags”
Option “DontZap” “yes”
EndSection

此外还可以通过去ATI官网下载指定版本的驱动来安装,不过我没有成功,在生成debian下的安装包时老是找不到目录,然后用上面的方法安装成功了。

输入fglrxinfo查看安装信息

display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon HD 2400
..

输出这样就OK了.

然后就可以安装3D桌面,成功后跑起来很顺畅,这个3D桌面可以装了很久,老早用Debian的时候还没有合适的显卡驱动,

一直也没有动起来,折腾了下午终于搞定了。

其他的一些细节可以参看这篇文章

http://www.cnblogs.com/doujiu/archive/2009/11/21/1607757.html

独立安装ATI显卡可以参看这篇文章

http://mylxiaoyi.javaeye.com/blog/313835

JAVA环境相关可以参考这篇文章

http://mylxiaoyi.javaeye.com/blog/313786

资料不一定符合自身的软硬件环境,灵活配置才OK

发表评论