(A卡福音)AMD今天同步发布了催化剂14.9,正式支持14.04!
-
- 帖子: 5
- 注册时间: 2014-09-17 0:35
- 系统: Ubuntu Kylin 14.04
(A卡福音)AMD今天同步发布了催化剂14.9,正式支持14.04!
RT,虽然一直使用着14.8的驱动,但是很多朋友在安装上面出各种问题,今天AMD良心发现,同步windows一起发布了14.9的正式版,立马下载下来安装好了,整个过程无比的顺滑流畅,要用闭源驱动的朋友们可以注意了!
我任然采取的是老办法,手动安装,据说AMD改进了安装包方法,可以直接安装,有兴趣的朋友可以直接实验下,下面仍旧采用老办法手动安装。
首先还是下载amd_catalyst_14_9_linux_32bit_64bit.zip(我是直接在驱动之家下载的)
打开终端依次执行如下命令:
1、sudo apt-get update
2、sudo apt-get install libqtgui4(实际上这步已经不需要了)
3、sudo apt-get install dh-make dh-modaliases execstack libc6-i386 lib32gcc1
进入解压好的下载目录 /fglrx-14.301.1001
4、sh amd-driver-installer-14.301.1001-x86.x86_64.run --buildpkg Ubuntu/trusty
稍等片刻会生成3个DEB包:fglrx_14.301-0ubuntu1_amd64.deb,fglrx-amdcccle_14.301-0ubuntu1_amd64.deb,fglrx-dev_14.301-0ubuntu1_amd64.deb。
5、sudo ./amd-driver-installer-14.301.1001-x86.x86_64.run
好了,到了这里熟悉的催化剂安装界面就弹出来了,直接一步步Next,直到安装完成重启电脑。
接下来就是安装刚才生成的三个包文件(依然还是在 /fglrx-14.301.1001目录中进行)
6、sudo dpkg -i fglrx*.deb (这里可能会提示安装依赖关系的错误,如果有,直接再输入 sudo apt-get -f install 修复依赖关系后,再执行一次 sudo dpkg -i fglrx*.deb)
这样催化剂14.9的驱动就算大功告成了,输入 fglrxinfo可以查看当前显卡驱动情况,DASH里面按C键可以打开类windows的CCC界面。
我的配置是I5+7850hawk,以上安装都在Ubuntu Kylin 14.04 (x64)安装完成。
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 7800 Series
OpenGL version string: 4.4.13084 Compatibility Profile Context 14.301.1001
我任然采取的是老办法,手动安装,据说AMD改进了安装包方法,可以直接安装,有兴趣的朋友可以直接实验下,下面仍旧采用老办法手动安装。
首先还是下载amd_catalyst_14_9_linux_32bit_64bit.zip(我是直接在驱动之家下载的)
打开终端依次执行如下命令:
1、sudo apt-get update
2、sudo apt-get install libqtgui4(实际上这步已经不需要了)
3、sudo apt-get install dh-make dh-modaliases execstack libc6-i386 lib32gcc1
进入解压好的下载目录 /fglrx-14.301.1001
4、sh amd-driver-installer-14.301.1001-x86.x86_64.run --buildpkg Ubuntu/trusty
稍等片刻会生成3个DEB包:fglrx_14.301-0ubuntu1_amd64.deb,fglrx-amdcccle_14.301-0ubuntu1_amd64.deb,fglrx-dev_14.301-0ubuntu1_amd64.deb。
5、sudo ./amd-driver-installer-14.301.1001-x86.x86_64.run
好了,到了这里熟悉的催化剂安装界面就弹出来了,直接一步步Next,直到安装完成重启电脑。
接下来就是安装刚才生成的三个包文件(依然还是在 /fglrx-14.301.1001目录中进行)
6、sudo dpkg -i fglrx*.deb (这里可能会提示安装依赖关系的错误,如果有,直接再输入 sudo apt-get -f install 修复依赖关系后,再执行一次 sudo dpkg -i fglrx*.deb)
这样催化剂14.9的驱动就算大功告成了,输入 fglrxinfo可以查看当前显卡驱动情况,DASH里面按C键可以打开类windows的CCC界面。
我的配置是I5+7850hawk,以上安装都在Ubuntu Kylin 14.04 (x64)安装完成。
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 7800 Series
OpenGL version string: 4.4.13084 Compatibility Profile Context 14.301.1001
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: (A卡福音)AMD今天同步发布了催化剂14.9,正式支持14.04!
哪些 AMD 顯卡型號 可以安裝 AMD Catalyst 14.9 Linux Driver ?
動手前 核對一下 你的 顯卡型號 在不在 支援名單之內
http://support.amd.com/en-us/kb-article ... Notes.aspx
AMD Product Compatibility :
動手前 核對一下 你的 顯卡型號 在不在 支援名單之內
http://support.amd.com/en-us/kb-article ... Notes.aspx
AMD Product Compatibility :
-
- 帖子: 9
- 注册时间: 2014-09-29 16:10
- 系统: 14.04
Re: (A卡福音)AMD今天同步发布了催化剂14.9,正式支持14.04!
Generating package: Ubuntu/trusty
sudo: sh -c '/usr/sbin/synaptic --set-selections --non-interactive --hide-main-window < /tmp/fileI9ptik': command not found
Unable to install dpkg-dev. Please manually install and try again.
Error: need root permissions or the `fakeroot' package installed
Removing temporary directory: fglrx-install.Y1SfOd
dabaitu@wo-PC:~/桌面/fglrx-14.301.1001$
sh: 0: Can't open amd-driver-install-14.301.1001-x86.x86_64.run
sudo: sh -c '/usr/sbin/synaptic --set-selections --non-interactive --hide-main-window < /tmp/fileI9ptik': command not found
Unable to install dpkg-dev. Please manually install and try again.
Error: need root permissions or the `fakeroot' package installed
Removing temporary directory: fglrx-install.Y1SfOd
dabaitu@wo-PC:~/桌面/fglrx-14.301.1001$
sh: 0: Can't open amd-driver-install-14.301.1001-x86.x86_64.run
-
- 帖子: 9
- 注册时间: 2014-09-29 16:10
- 系统: 14.04
-
- 帖子: 294
- 注册时间: 2007-06-02 20:00
Re: (A卡福音)AMD今天同步发布了催化剂14.9,正式支持14.04!
感觉没什么变化。。
-
- 帖子: 5
- 注册时间: 2014-09-17 0:35
- 系统: Ubuntu Kylin 14.04
Re: (A卡福音)AMD今天同步发布了催化剂14.9,正式支持14.04!
不知道你是在第几步卡住了,看你的提示信息是要你手动安装 dpkg-dev包,但是你没有ROOT权限呢,手动执行下 sudo apt-get install dpkg-dev,然后在用 sudo apt-get -f install 修复下依赖关系看看。dongjifu 写了:Generating package: Ubuntu/trusty
sudo: sh -c '/usr/sbin/synaptic --set-selections --non-interactive --hide-main-window < /tmp/fileI9ptik': command not found
Unable to install dpkg-dev. Please manually install and try again.
Error: need root permissions or the `fakeroot' package installed
Removing temporary directory: fglrx-install.Y1SfOd
dabaitu@wo-PC:~/桌面/fglrx-14.301.1001$
sh: 0: Can't open amd-driver-install-14.301.1001-x86.x86_64.run
-
- 帖子: 6
- 注册时间: 2014-10-11 22:53
- 系统: ubuntu 14.04
Re: (A卡福音)AMD今天同步发布了催化剂14.9,正式支持14.04!
安装后 图形为:VESA: 100-EC
为什么不是 显卡型号呢 ?
为什么不是 显卡型号呢 ?
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: (A卡福音)AMD今天同步发布了催化剂14.9,正式支持14.04!
請把完整資訊複製貼上來安装后 图形为:VESA: 100-EC
不要摘要 以免遺漏重要訊息
-
- 帖子: 5
- 注册时间: 2014-09-17 0:35
- 系统: Ubuntu Kylin 14.04
Re: (A卡福音)AMD今天同步发布了催化剂14.9,正式支持14.04!
这个是正常的官方闭源驱动本身是内核外的驱动程序,VESA:+显卡核心,是安装程序自动为你的内核重新编译过的驱动,具体信息你可以使用fglrxinfo查看。reddog 写了:安装后 图形为:VESA: 100-EC
为什么不是 显卡型号呢 ?
-
- 帖子: 2
- 注册时间: 2014-11-08 16:05
- 系统: ubuntu
Re: (A卡福音)AMD今天同步发布了催化剂14.9,正式支持14.04!
安装错误啊
sh amd-driver-installer-14.301.1001-x86.x86_64.run --buildpkg Ubuntu/trusty
Created directory fglrx-install.MuvT6u
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-14.301.1001......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
AMD Catalyst(TM) Proprietary Driver Installer/Packager
=====================================================================
Generating package: Ubuntu/trusty
Resolving build dependencies...
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package (>
E: Unable to locate package 2
Unable to resolve dh-modaliases xserver-xorg-dev (>= 2. Please manually install and try again.
Package build failed!
Package build utility output:
./packages/Ubuntu/ati-packager.sh: 294: ./packages/Ubuntu/ati-packager.sh: debclean: not found
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 2:14.301-0ubuntu1
dpkg-buildpackage: source distribution trusty
dpkg-buildpackage: source changed by AMD: Advanced Micro Devices. <http://ati.amd.com/support/driver.html>
dpkg-source --before-build fglrx.VQx1Nw
dpkg-buildpackage: host architecture i386
debian/rules build
#Create important strings
for i in 10fglrx \
dkms.conf \
fglrx.install \
fglrx-dev.install \
fglrx-dev.links \
fglrx-amdcccle.install \
fglrx.grub-gfxpayload \
fglrx.dirs \
fglrx.links \
fglrx.postinst \
fglrx.postrm \
fglrx.preinst \
fglrx.prerm \
overrides/fglrx; do \
sed -e "s|#PKGXMODDIR#|usr/lib/fglrx/xorg/modules|g" \
-e "s|#LIBDIR#|usr/lib|g" \
-e "s|#LIBDIR32#|usr/lib32|g" \
-e "s|#BINDIR#|usr/bin|g" \
-e "s|#SYSCONFDIR#|etc|g" \
-e "s|#MANDIR#|usr/share/man/man1|g" \
-e "s|#LDSOCONF#|usr/lib/fglrx/ld.so.conf|g" \
-e "s|#ALTLDSOCONF#|usr/lib/fglrx/alt_ld.so.conf|g" \
-e "s|#ALTPRIORITY#|1000|g" \
-e "s|#PXALTPRIORITY#|900|g" \
-e "s|#AUTOSTARTDIR#|etc/xdg/autostart|g" \
-e "s|#DATADIR#|usr/share|g" \
-e "s|#PKGDESKDIR#|usr/share/fglrx|g" \
-e "s|#PKGDATADIR#|usr/share/fglrx|g" \
-e "s|#PKGCONFIGDIR#|usr/lib/fglrx|g" \
-e "s|#PKGBINDIR#|usr/lib/fglrx/bin|g" \
-e "s|#PKGLIBDIR#|usr/lib/fglrx|g" \
-e "s|#PKGLIBDIR32#|usr/lib32/fglrx|g" \
-e "s|#PKGDRIVERSDIR#|usr/lib/fglrx/xorg|g" \
-e "s|#XORGEXTRA#|usr/lib/i386-linux-gnu/xorg/extra-modules|g" \
-e "s|#PKGEXTENSIONDIR#|usr/lib/fglrx/xorg|g" \
-e "s|#XORGEXTENSIONSDIR#|usr/lib/xorg/modules/extensions|g" \
-e "s|#DRIVERNAME#|fglrx|g" \
-e "s|#DRIVERDEVNAME#|fglrx-dev|g" \
-e "s|#DRIVERSRCNAME#||g" \
-e "s|#INCLUDEDIR#|usr/include|g" \
-e "s|#PKGLIBCONFDIR#|lib/fglrx|g" \
-e "s|#GRUBBLKLISTDIR#|usr/share/grub-gfxpayload-lists/blacklist|g" \
-e "s|#PKGXMODDIR#|usr/lib/fglrx/xorg/modules|g" \
-e "s|#PXDIR#|usr/lib/pxpress|g" \
-e "s|#PXDIR32#|usr/lib32/pxpress|g" \
-e "s|#PXXMODDIR#|usr/lib/pxpress/xorg/modules|g" \
-e "s|#PXDIRNAME#|pxpress|g" \
-e "s|#PXLIBDIR#|usr/lib/pxpress/lib|g" \
-e "s|#PXLIBDIR32#|usr/lib32/pxpress/lib|g" \
-e "s|#PXLDSOCONF#|usr/lib/pxpress/ld.so.conf|g" \
-e "s|#ALTPXLDSOCONF#|usr/lib/pxpress/alt_ld.so.conf|g" \
-e "s|#CVERSION#|14.301|g" \
-e "s|#SRCXARCH#|xpic|g" \
-e "s|#SRCARCH#|x86|g" \
-e "s|#SRCOTHERARCH#|x86_64|g" \
-e "s|#SRCLIBDIR#|lib|g" \
-e "s|#DEB_HOST_MULTIARCH#|i386-linux-gnu|g" \
-e "s|#OTHER_ARCH#|x86_64-linux-gnu|g" \
debian/$i.in > debian/$i; \
done
# remove exec bit on everything
find arch \
etc \
lib \
module \
usr \
xpic -type f | xargs chmod -x
find: `module': No such file or directory
# set executable on user apps
find arch/x86/usr/sbin \
arch/x86/usr/X11R6/bin \
usr/sbin/ -type f | xargs chmod a+x
# set exec bit on scripts
find lib etc debian -name "*.sh" -type f | xargs chmod +x
# set the permissions on the pxpress scripts
chmod 744 debian/pxpress/switch*
dh build
dh_testdir
dh_auto_configure
dh_auto_build
dh_auto_test
dh build
fakeroot debian/rules binary
# refresh copyright file
cat debian/copyright_stub_0 > debian/copyright
cat usr/share/doc/fglrx/LICENSE.TXT >> debian/copyright
cat debian/copyright_stub_1 >> debian/copyright
# Generate the xserver ABI dependencies
cat debian/substvars >> debian/fglrx.substvars
#Steps that we can't easily represent in debhelper files or .in files yet
# Remove any libraries that may be caught by shell expansion
find . -name libGLE* | xargs rm -f
find . -name libEGL* | xargs rm -f
dh_installdirs -pfglrx
# Install the QT libraries
dh_install -pfglrx "arch/x86/usr/share/ati/lib" "usr/share/ati"
dh_installdirs -pfglrx-dev
dh_installdocs -pfglrx usr/share/doc/fglrx/* --exclude LICENSE.TXT
dh_installdocs -pfglrx debian/AUTHORS
dh_installdocs -pfglrx debian/copyright
dh_installinit -pfglrx -n --name="atieventsd" --no-start --update-rcd-params="defaults 31"
#remove executable bits from stack
dh_install -pfglrx-amdcccle
execstack -c debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle
dh_install -pfglrx
for i in \
debian/fglrx/usr/lib/fglrx/bin/clinfo \
debian/fglrx/usr/lib/fglrx/bin/atiode \
debian/fglrx/usr/lib/fglrx/bin/amdnotifyui \
debian/fglrx/usr/lib/fglrx/dri/fglrx_dri.so \
debian/fglrx/usr/lib/fglrx/*libGL.so.*.* \
debian/fglrx/usr/lib/fglrx/*libOpenCL.so.* \
; do execstack -q $i; execstack -c $i; done
- debian/fglrx/usr/lib/fglrx/bin/clinfo
- debian/fglrx/usr/lib/fglrx/bin/atiode
- debian/fglrx/usr/lib/fglrx/bin/amdnotifyui
- debian/fglrx/usr/lib/fglrx/dri/fglrx_dri.so
- debian/fglrx/usr/lib/fglrx/fglrx-libGL.so.1.2
- debian/fglrx/usr/lib/fglrx/libOpenCL.so.1
# Make some additional scripts executable
find debian/fglrx-amdcccle/usr/lib/fglrx/bin/ \
-type f | xargs chmod a+x
# Make sure that every binary in bin is executable
find debian/fglrx/usr/lib/fglrx/bin/ \
-type f | xargs chmod a+x
# Rename libraries which are supposed to have fglrx-libGL as a prefix
for lib in `find debian/fglrx/ -name 'fglrx-libGL*'`; \
do \
file_name=`echo $lib | awk -F/ '{print $NF}'`; \
path=`echo $lib | sed -e "s|\/$file_name|\/|"`; \
# Remove fglrx prefix \
new_name=`echo $file_name | sed -e "s|fglrx\-||"`; \
full_path=`echo "$path$new_name"`; \
mv -f $lib $full_path; \
done
# Rename libraries which are supposed to have fglrx-libglx as a prefix
for lib in `find debian/fglrx/ -name 'fglrx-libglx*'`; \
do \
file_name=`echo $lib | awk -F/ '{print $NF}'`; \
path=`echo $lib | sed -e "s|\/$file_name|\/|"`; \
new_path=`echo $path | sed -e 's/fglrx\/$//'`; \
# Remove fglrx prefix \
new_name=`echo $file_name | sed -e "s|fglrx\-||"`; \
full_path=`echo "$new_path$new_name"`; \
mv -f $lib $full_path; \
done
# Create links for PowerXpress X modules (except for extensions)
for i in \
debian/fglrx/usr/lib/fglrx/xorg/modules/* \
; do \
orig_name=`echo $i | sed -e "s|debian/fglrx/||"`; \
if [ `echo $orig_name | sed -e "s|usr/lib/fglrx/xorg/modules/||"` != "extensions" ]; then \
link_name=$orig_name ; \
link_name=`echo $orig_name | sed -e "s|usr/lib/fglrx/xorg/modules|usr/lib/pxpress/xorg/modules|"`; \
dh_link -pfglrx $orig_name $link_name ; \
fi \
done
# Create links for PowerXpress libs (except for libGL)
for i in \
debian/fglrx/usr/lib/fglrx/* \
; do \
orig_name=`echo $i | sed -e "s|debian/fglrx/||"`; \
# Copy each file except for libGL* \
if [ -f $i ]; then \
if [ ! `echo $orig_name | grep libGL` ]; then \
link_name=$orig_name ; \
link_name=`echo $orig_name | sed -e "s|usr/lib/fglrx|usr/lib/pxpress/lib|"`; \
dh_link -pfglrx $orig_name $link_name ; \
fi \
else \
# Here we only accept the dri directory \
dir_name=`echo $orig_name | awk -F/ '{print $NF}'`; \
if [ "$dir_name" = "dri" ]; then \
link_name=$orig_name ; \
link_name=`echo $orig_name | sed -e "s|usr/lib/fglrx|usr/lib/pxpress/lib|"`; \
dh_link -pfglrx $orig_name $link_name ; \
fi \
fi \
done
# Blacklist any other driver that udev may want to load instead of fglrx
# and create an alias for the module so that it can be used as fglrx
printf '# This file was installed by fglrx\n# Do not edit this file manually\n\nblacklist radeon\nalias fglrx fglrx\nalias radeon off\nalias lbm-radeon off' > /tmp/fglrx.VQx1Nw/debian/fglrx/lib/fglrx/modprobe.conf
#ld.so.conf
echo "/usr/lib/fglrx" > "/tmp/fglrx.VQx1Nw/debian/fglrx/usr/lib/fglrx/ld.so.conf"
# ld.so.conf for PowerXpress
echo "/usr/lib/i386-linux-gnu/mesa" > "/tmp/fglrx.VQx1Nw/debian/fglrx/usr/lib/pxpress/ld.so.conf"
echo "/usr/lib/pxpress/lib" >> "/tmp/fglrx.VQx1Nw/debian/fglrx/usr/lib/pxpress/ld.so.conf"
# empty ld.so.conf for the fake multi-arch alternative
echo "" > "/tmp/fglrx.VQx1Nw/debian/fglrx/usr/lib/fglrx/alt_ld.so.conf"
# empty ld.so.conf for the fake multi-arch alternative for PXpress
echo "" > "/tmp/fglrx.VQx1Nw/debian/fglrx/usr/lib/pxpress/alt_ld.so.conf"
# Generate modaliases
sh -e debian/modaliases/fglrx_supported \
lib/modules/fglrx/build_mod/fglrxko_pci_ids.h fglrx fglrx > \
debian/fglrx.modaliases
dh_modaliases
make: dh_modaliases: Command not found
debian/rules:218: recipe for target 'binary-arch' failed
make: *** [binary-arch] Error 127
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
Removing temporary directory: fglrx-install.MuvT6u
sh amd-driver-installer-14.301.1001-x86.x86_64.run --buildpkg Ubuntu/trusty
Created directory fglrx-install.MuvT6u
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-14.301.1001......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
AMD Catalyst(TM) Proprietary Driver Installer/Packager
=====================================================================
Generating package: Ubuntu/trusty
Resolving build dependencies...
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package (>
E: Unable to locate package 2
Unable to resolve dh-modaliases xserver-xorg-dev (>= 2. Please manually install and try again.
Package build failed!
Package build utility output:
./packages/Ubuntu/ati-packager.sh: 294: ./packages/Ubuntu/ati-packager.sh: debclean: not found
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 2:14.301-0ubuntu1
dpkg-buildpackage: source distribution trusty
dpkg-buildpackage: source changed by AMD: Advanced Micro Devices. <http://ati.amd.com/support/driver.html>
dpkg-source --before-build fglrx.VQx1Nw
dpkg-buildpackage: host architecture i386
debian/rules build
#Create important strings
for i in 10fglrx \
dkms.conf \
fglrx.install \
fglrx-dev.install \
fglrx-dev.links \
fglrx-amdcccle.install \
fglrx.grub-gfxpayload \
fglrx.dirs \
fglrx.links \
fglrx.postinst \
fglrx.postrm \
fglrx.preinst \
fglrx.prerm \
overrides/fglrx; do \
sed -e "s|#PKGXMODDIR#|usr/lib/fglrx/xorg/modules|g" \
-e "s|#LIBDIR#|usr/lib|g" \
-e "s|#LIBDIR32#|usr/lib32|g" \
-e "s|#BINDIR#|usr/bin|g" \
-e "s|#SYSCONFDIR#|etc|g" \
-e "s|#MANDIR#|usr/share/man/man1|g" \
-e "s|#LDSOCONF#|usr/lib/fglrx/ld.so.conf|g" \
-e "s|#ALTLDSOCONF#|usr/lib/fglrx/alt_ld.so.conf|g" \
-e "s|#ALTPRIORITY#|1000|g" \
-e "s|#PXALTPRIORITY#|900|g" \
-e "s|#AUTOSTARTDIR#|etc/xdg/autostart|g" \
-e "s|#DATADIR#|usr/share|g" \
-e "s|#PKGDESKDIR#|usr/share/fglrx|g" \
-e "s|#PKGDATADIR#|usr/share/fglrx|g" \
-e "s|#PKGCONFIGDIR#|usr/lib/fglrx|g" \
-e "s|#PKGBINDIR#|usr/lib/fglrx/bin|g" \
-e "s|#PKGLIBDIR#|usr/lib/fglrx|g" \
-e "s|#PKGLIBDIR32#|usr/lib32/fglrx|g" \
-e "s|#PKGDRIVERSDIR#|usr/lib/fglrx/xorg|g" \
-e "s|#XORGEXTRA#|usr/lib/i386-linux-gnu/xorg/extra-modules|g" \
-e "s|#PKGEXTENSIONDIR#|usr/lib/fglrx/xorg|g" \
-e "s|#XORGEXTENSIONSDIR#|usr/lib/xorg/modules/extensions|g" \
-e "s|#DRIVERNAME#|fglrx|g" \
-e "s|#DRIVERDEVNAME#|fglrx-dev|g" \
-e "s|#DRIVERSRCNAME#||g" \
-e "s|#INCLUDEDIR#|usr/include|g" \
-e "s|#PKGLIBCONFDIR#|lib/fglrx|g" \
-e "s|#GRUBBLKLISTDIR#|usr/share/grub-gfxpayload-lists/blacklist|g" \
-e "s|#PKGXMODDIR#|usr/lib/fglrx/xorg/modules|g" \
-e "s|#PXDIR#|usr/lib/pxpress|g" \
-e "s|#PXDIR32#|usr/lib32/pxpress|g" \
-e "s|#PXXMODDIR#|usr/lib/pxpress/xorg/modules|g" \
-e "s|#PXDIRNAME#|pxpress|g" \
-e "s|#PXLIBDIR#|usr/lib/pxpress/lib|g" \
-e "s|#PXLIBDIR32#|usr/lib32/pxpress/lib|g" \
-e "s|#PXLDSOCONF#|usr/lib/pxpress/ld.so.conf|g" \
-e "s|#ALTPXLDSOCONF#|usr/lib/pxpress/alt_ld.so.conf|g" \
-e "s|#CVERSION#|14.301|g" \
-e "s|#SRCXARCH#|xpic|g" \
-e "s|#SRCARCH#|x86|g" \
-e "s|#SRCOTHERARCH#|x86_64|g" \
-e "s|#SRCLIBDIR#|lib|g" \
-e "s|#DEB_HOST_MULTIARCH#|i386-linux-gnu|g" \
-e "s|#OTHER_ARCH#|x86_64-linux-gnu|g" \
debian/$i.in > debian/$i; \
done
# remove exec bit on everything
find arch \
etc \
lib \
module \
usr \
xpic -type f | xargs chmod -x
find: `module': No such file or directory
# set executable on user apps
find arch/x86/usr/sbin \
arch/x86/usr/X11R6/bin \
usr/sbin/ -type f | xargs chmod a+x
# set exec bit on scripts
find lib etc debian -name "*.sh" -type f | xargs chmod +x
# set the permissions on the pxpress scripts
chmod 744 debian/pxpress/switch*
dh build
dh_testdir
dh_auto_configure
dh_auto_build
dh_auto_test
dh build
fakeroot debian/rules binary
# refresh copyright file
cat debian/copyright_stub_0 > debian/copyright
cat usr/share/doc/fglrx/LICENSE.TXT >> debian/copyright
cat debian/copyright_stub_1 >> debian/copyright
# Generate the xserver ABI dependencies
cat debian/substvars >> debian/fglrx.substvars
#Steps that we can't easily represent in debhelper files or .in files yet
# Remove any libraries that may be caught by shell expansion
find . -name libGLE* | xargs rm -f
find . -name libEGL* | xargs rm -f
dh_installdirs -pfglrx
# Install the QT libraries
dh_install -pfglrx "arch/x86/usr/share/ati/lib" "usr/share/ati"
dh_installdirs -pfglrx-dev
dh_installdocs -pfglrx usr/share/doc/fglrx/* --exclude LICENSE.TXT
dh_installdocs -pfglrx debian/AUTHORS
dh_installdocs -pfglrx debian/copyright
dh_installinit -pfglrx -n --name="atieventsd" --no-start --update-rcd-params="defaults 31"
#remove executable bits from stack
dh_install -pfglrx-amdcccle
execstack -c debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle
dh_install -pfglrx
for i in \
debian/fglrx/usr/lib/fglrx/bin/clinfo \
debian/fglrx/usr/lib/fglrx/bin/atiode \
debian/fglrx/usr/lib/fglrx/bin/amdnotifyui \
debian/fglrx/usr/lib/fglrx/dri/fglrx_dri.so \
debian/fglrx/usr/lib/fglrx/*libGL.so.*.* \
debian/fglrx/usr/lib/fglrx/*libOpenCL.so.* \
; do execstack -q $i; execstack -c $i; done
- debian/fglrx/usr/lib/fglrx/bin/clinfo
- debian/fglrx/usr/lib/fglrx/bin/atiode
- debian/fglrx/usr/lib/fglrx/bin/amdnotifyui
- debian/fglrx/usr/lib/fglrx/dri/fglrx_dri.so
- debian/fglrx/usr/lib/fglrx/fglrx-libGL.so.1.2
- debian/fglrx/usr/lib/fglrx/libOpenCL.so.1
# Make some additional scripts executable
find debian/fglrx-amdcccle/usr/lib/fglrx/bin/ \
-type f | xargs chmod a+x
# Make sure that every binary in bin is executable
find debian/fglrx/usr/lib/fglrx/bin/ \
-type f | xargs chmod a+x
# Rename libraries which are supposed to have fglrx-libGL as a prefix
for lib in `find debian/fglrx/ -name 'fglrx-libGL*'`; \
do \
file_name=`echo $lib | awk -F/ '{print $NF}'`; \
path=`echo $lib | sed -e "s|\/$file_name|\/|"`; \
# Remove fglrx prefix \
new_name=`echo $file_name | sed -e "s|fglrx\-||"`; \
full_path=`echo "$path$new_name"`; \
mv -f $lib $full_path; \
done
# Rename libraries which are supposed to have fglrx-libglx as a prefix
for lib in `find debian/fglrx/ -name 'fglrx-libglx*'`; \
do \
file_name=`echo $lib | awk -F/ '{print $NF}'`; \
path=`echo $lib | sed -e "s|\/$file_name|\/|"`; \
new_path=`echo $path | sed -e 's/fglrx\/$//'`; \
# Remove fglrx prefix \
new_name=`echo $file_name | sed -e "s|fglrx\-||"`; \
full_path=`echo "$new_path$new_name"`; \
mv -f $lib $full_path; \
done
# Create links for PowerXpress X modules (except for extensions)
for i in \
debian/fglrx/usr/lib/fglrx/xorg/modules/* \
; do \
orig_name=`echo $i | sed -e "s|debian/fglrx/||"`; \
if [ `echo $orig_name | sed -e "s|usr/lib/fglrx/xorg/modules/||"` != "extensions" ]; then \
link_name=$orig_name ; \
link_name=`echo $orig_name | sed -e "s|usr/lib/fglrx/xorg/modules|usr/lib/pxpress/xorg/modules|"`; \
dh_link -pfglrx $orig_name $link_name ; \
fi \
done
# Create links for PowerXpress libs (except for libGL)
for i in \
debian/fglrx/usr/lib/fglrx/* \
; do \
orig_name=`echo $i | sed -e "s|debian/fglrx/||"`; \
# Copy each file except for libGL* \
if [ -f $i ]; then \
if [ ! `echo $orig_name | grep libGL` ]; then \
link_name=$orig_name ; \
link_name=`echo $orig_name | sed -e "s|usr/lib/fglrx|usr/lib/pxpress/lib|"`; \
dh_link -pfglrx $orig_name $link_name ; \
fi \
else \
# Here we only accept the dri directory \
dir_name=`echo $orig_name | awk -F/ '{print $NF}'`; \
if [ "$dir_name" = "dri" ]; then \
link_name=$orig_name ; \
link_name=`echo $orig_name | sed -e "s|usr/lib/fglrx|usr/lib/pxpress/lib|"`; \
dh_link -pfglrx $orig_name $link_name ; \
fi \
fi \
done
# Blacklist any other driver that udev may want to load instead of fglrx
# and create an alias for the module so that it can be used as fglrx
printf '# This file was installed by fglrx\n# Do not edit this file manually\n\nblacklist radeon\nalias fglrx fglrx\nalias radeon off\nalias lbm-radeon off' > /tmp/fglrx.VQx1Nw/debian/fglrx/lib/fglrx/modprobe.conf
#ld.so.conf
echo "/usr/lib/fglrx" > "/tmp/fglrx.VQx1Nw/debian/fglrx/usr/lib/fglrx/ld.so.conf"
# ld.so.conf for PowerXpress
echo "/usr/lib/i386-linux-gnu/mesa" > "/tmp/fglrx.VQx1Nw/debian/fglrx/usr/lib/pxpress/ld.so.conf"
echo "/usr/lib/pxpress/lib" >> "/tmp/fglrx.VQx1Nw/debian/fglrx/usr/lib/pxpress/ld.so.conf"
# empty ld.so.conf for the fake multi-arch alternative
echo "" > "/tmp/fglrx.VQx1Nw/debian/fglrx/usr/lib/fglrx/alt_ld.so.conf"
# empty ld.so.conf for the fake multi-arch alternative for PXpress
echo "" > "/tmp/fglrx.VQx1Nw/debian/fglrx/usr/lib/pxpress/alt_ld.so.conf"
# Generate modaliases
sh -e debian/modaliases/fglrx_supported \
lib/modules/fglrx/build_mod/fglrxko_pci_ids.h fglrx fglrx > \
debian/fglrx.modaliases
dh_modaliases
make: dh_modaliases: Command not found
debian/rules:218: recipe for target 'binary-arch' failed
make: *** [binary-arch] Error 127
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
Removing temporary directory: fglrx-install.MuvT6u
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: (A卡福音)AMD今天同步发布了催化剂14.9,正式支持14.04!
安裝 詳細參考
1. 在 Ubuntu 安裝
1-1. https://help.ubuntu.com/community/Binar ... alyst_13.4
# 單顯卡 把 13.4 改為 14.9
1-2. https://help.ubuntu.com/community/Binar ... d_graphics
# 雙顯卡 把 13.4 改為 14.9
2. http://support.amd.com/en-us/kb-article ... Notes.aspx
1. 在 Ubuntu 安裝
1-1. https://help.ubuntu.com/community/Binar ... alyst_13.4
# 單顯卡 把 13.4 改為 14.9
1-2. https://help.ubuntu.com/community/Binar ... d_graphics
# 雙顯卡 把 13.4 改為 14.9
2. http://support.amd.com/en-us/kb-article ... Notes.aspx
-
- 帖子: 1
- 注册时间: 2014-11-10 17:51
- 系统: ubuntu 14.04 LTS
Re: (A卡福音)AMD今天同步发布了催化剂14.9,正式支持14.04!
LZ 第6步 不就相当于重复安装了一遍吗?
-
- 帖子: 53
- 注册时间: 2011-02-03 11:50
Re: (A卡福音)AMD今天同步发布了催化剂14.9,正式支持14.04!
deb包编译一切顺利,唯独重启无法进入图形界面。求解!?
-
- 帖子: 2
- 注册时间: 2014-11-28 21:01
- 系统: Ubuntu 14.04
Re: (A卡福音)AMD今天同步发布了催化剂14.9,正式支持14.04!
双显卡(AMD+I卡)能装这个吗
-
- 帖子: 2
- 注册时间: 2015-11-25 9:30
- 系统: Ubuntu15.10
Re: (A卡福音)AMD今天同步发布了催化剂14.9,正式支持14.04!
sed: can't read debian/fglrx-amdcccle.dirs.in: No such file or directory
# remove exec bit on everything
find arch \
etc \
lib \
module \
usr \
xpic_64a -type f | xargs chmod -x
find: `module': No such file or directory
# set executable on user apps
find arch/x86_64/usr/sbin \
arch/x86_64/usr/X11R6/bin \
usr/sbin/ -type f | xargs chmod a+x
# set exec bit on scripts
find lib etc debian -name "*.sh" -type f | xargs chmod +x
# set the permissions on the pxpress scripts
chmod 744 debian/pxpress/switch*
dh build
make: dh: Command not found
debian/rules:241: recipe for target 'build-arch' failed
make: *** [build-arch] Error 127
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Removing temporary directory: fglrx-install.TrtSOU
请问一下我这是卡在哪一步了呀,15.10
# remove exec bit on everything
find arch \
etc \
lib \
module \
usr \
xpic_64a -type f | xargs chmod -x
find: `module': No such file or directory
# set executable on user apps
find arch/x86_64/usr/sbin \
arch/x86_64/usr/X11R6/bin \
usr/sbin/ -type f | xargs chmod a+x
# set exec bit on scripts
find lib etc debian -name "*.sh" -type f | xargs chmod +x
# set the permissions on the pxpress scripts
chmod 744 debian/pxpress/switch*
dh build
make: dh: Command not found
debian/rules:241: recipe for target 'build-arch' failed
make: *** [build-arch] Error 127
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Removing temporary directory: fglrx-install.TrtSOU
请问一下我这是卡在哪一步了呀,15.10