红联首页 凝聚Linux人的力量
菜鸟过关 | 精华文档 | 同城人(交友) | 我与Linux的故事 | Linux新闻 | Linux视频 | Linux人才 | 软件下载 | 大学校园 | English
发新话题
打印

debian tesing安装ATI 8.42.3及COMPIZ

debian tesing安装ATI 8.42.3及COMPIZ

以前一直想弄BERYL,但是怎么也装不上!运行不了!嘿嘿,这回出了8.42,装上驱动就能启用COMPIZ了,嘿嘿!驱动安装是按UBUNTU里的方法装的!本版那个文章试了,我的机子上不行!

记录一下,以免忘记!
1、以前装过驱动的,要删除掉!
我的内核是2.6.22 ,前两天在2.6.18内核上装过驱动,升级系弘以后,ATI的3D驱动没了,我在新立得了把跟fglrx有关的包全删了,重启以后进不了X,把原来备份的xorg.conf文件弄到/etc/X11下就好了。

2、准备编译环境 :
apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-$

2、下载驱动,生成DEB包!
./ati-driver-installer-8.42.3-x86.x86_64 --buildpkg Debian/testing

3、安装:
dpkg -i *.deb

4、编译内核模块并安装:
module-assistant prepare
module-assistant update
module-assistant build fglrx
cd /usr/src
dpkg -i fglrx-kernel-*
depmod -a

5、修改xorg.conf
gedit /etc/X11/xorg.conf
把Driver 里面的ati换成 fglrx
加上两段:
Section "Extensions"
Option "Composite" "1"
EndSection

Section "ServerLayout"
Option "AIGLX" "on"
EndSection

6、要重启一下下!运行命令:fglrxinfo
# fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon 9550 / X1050 Series
OpenGL version string: 2.0.6958 Release

运行glxinfo | grep render,信息如下!
# glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: ATI Radeon 9550 / X1050 Series

有这信息就成功了!

然后就按装COMPIZ
加入源:并下载安装公钥:
deb http://download.tuxfamily.org/sh ... h/desktopfx/stable/

apt-get install compiz compiz-gnome
apt-get install compizconfig-settings-manager
apt-get install compiz-fusion-*
apt-get install fusion-icon

完了以后,又重启一下下,从菜单里单击compiz fusion icon ,开始运行3D桌面!

我第一次运行没有边框,打开Emerald Theme Manager,里面己有主题,选中一个,导出 ,再在Emerald Theme Manager ,import,好了,边框就出来了,不知道是什么回事,这时再选里面主题,也可以更换了!

刚学DEBIAN,照猫画虎,弄出来的。

TOP

贴上我的xorg.conf文件
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
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 "Protocol" "ImPS/2"
EndSection

Section "Device"
Identifier "ATI Technologies Inc RV350 AS [Radeon 9550]"
Driver "fglrx"
BusID "PCI:1:0:0"
VideoRam 131072
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "XaaNoOffscreenPixmaps"
EndSection

Section "Monitor"
Identifier "通用显示器"
Option "DPMS"
HorizSync 30-85
VertRefresh 50-160
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies Inc RV350 AS [Radeon 9550]"
Monitor "通用显示器"
DefaultDepth 24
SubSection "Display"
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "1"
EndSection


Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
Option "AIGLX" "on"
EndSection

TOP

发新话题