ubuntu16.04,怎么装AMDubuntu14.04显卡驱动动

温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!&&|&&
勤奋好学 崇尚技术
LOFTER精选
网易考拉推荐
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
sudo sh /usr/share/ati/fglrx-uninstall.shsudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*说明:在安装最新显卡驱动之前,最好先执行一下上面的两条命令,保证没有其他显卡驱动2 准备必需的库sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases linux-headers-generic如果是64位的ubuntu,安装ia32-libs库文件sudo apt-get install ia32-libs64位 驱动内核模块:sudo apt-get install dkms3 准备工作做好以后,一次执行下面命令即可完成ati显卡驱动的安装sudo apt-get install build-essential cdbs dh-make dkms execstack dh-modaliases fakerootcd ~mkdir catalyst12.4; cd catalyst12.4/wget /drivers/linux/amd-d ... x86_64.runchmod +x amd-driver-installer-12-4-x86.x86_64.run./amd-driver-installer-12-4-x86.x86_64.run --extract drivercd driver/common/lib/modules/fglrx/build_mod/wget -O fglrx.patch /5gNgEmVfzs3ytD5QZ2YGCipatch -p1 & fglrx.patchcd ~/catalyst12.4/driver/./ati-installer.sh 8.961 --buildpkg Ubuntu/precisecd ../4&安装生成的包:sudo dpkg -i fglrx*.deb5&生成配置文件:sudo aticonfig --initial -f防止配置未生效:sudo aticonfig --input=/etc/X11/xorg.conf --tls=16 sudo reboot7 检查是否安装成功&fglrxinfoGood luck !
阅读(3016)|
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
历史上的今天
loftPermalink:'',
id:'fks_',
blogTitle:'ubuntu12.04下安装ATI显卡最新驱动',
blogAbstract:'1 重装/卸载sudo sh /usr/share/ati/fglrx-uninstall.shsudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*说明:在安装最新显卡驱动之前,最好先执行一下上面的两条命令,保证没有其他显卡驱动2 准备必需的库sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack',
blogTag:'',
blogUrl:'blog/static/3',
isPublished:1,
istop:false,
modifyTime:7,
publishTime:3,
permalink:'blog/static/3',
commentCount:1,
mainCommentCount:1,
recommendCount:0,
bsrk:-100,
publisherId:0,
recomBlogHome:false,
currentRecomBlog:false,
attachmentsFileIds:[],
groupInfo:{},
friendstatus:'none',
followstatus:'unFollow',
pubSucc:'',
visitorProvince:'',
visitorCity:'',
visitorNewUser:false,
postAddInfo:{},
mset:'000',
remindgoodnightblog:false,
isBlackVisitor:false,
isShowYodaoAd:false,
hostIntro:'自信乐观
诚实信用\n\n勤奋好学 崇尚技术\n\n谦虚严谨',
hmcon:'1',
selfRecomBlogCount:'0',
lofter_single:''
{list a as x}
{if x.moveFrom=='wap'}
{elseif x.moveFrom=='iphone'}
{elseif x.moveFrom=='android'}
{elseif x.moveFrom=='mobile'}
${a.selfIntro|escape}{if great260}${suplement}{/if}
{list a as x}
推荐过这篇日志的人:
{list a as x}
{if !!b&&b.length>0}
他们还推荐了:
{list b as y}
转载记录:
{list d as x}
{list a as x}
{list a as x}
{list a as x}
{list a as x}
{if x_index>4}{break}{/if}
${fn2(x.publishTime,'yyyy-MM-dd HH:mm:ss')}
{list a as x}
{if !!(blogDetail.preBlogPermalink)}
{if !!(blogDetail.nextBlogPermalink)}
{list a as x}
{if defined('newslist')&&newslist.length>0}
{list newslist as x}
{if x_index>7}{break}{/if}
{list a as x}
{var first_option =}
{list x.voteDetailList as voteToOption}
{if voteToOption==1}
{if first_option==false},{/if}&&“${b[voteToOption_index]}”&&
{if (x.role!="-1") },“我是${c[x.role]}”&&{/if}
&&&&&&&&${fn1(x.voteTime)}
{if x.userName==''}{/if}
网易公司版权所有&&
{list x.l as y}
{if defined('wl')}
{list wl as x}{/list}更多数码资讯,请关注南窗数码
“笔记本网卡”相关经验ubuntu 16.04 如何安装开源的Radeon 和 AMDGPU_ubuntu吧_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:105,560贴子:
ubuntu 16.04 如何安装开源的Radeon 和 AMDGPU收藏
如题,因为我是amd显卡,新手一个,不知道怎么安装开源的Radeon 和 AMDGPU,有没有什么帖子,谁能告诉下,谢谢。
缺牙要及时修复,揭秘种植牙如何做到几十年不掉?
Ubuntu自带开源驱动
登录百度帐号推荐应用
为兴趣而生,贴吧更懂你。或视频地址复制
Flash地址复制
Html地址复制
离线看更方便
用或其他应用扫描二维码
Ubuntu16.04安装AMDGPU-PRO闭源驱动
广播电视节目制作经营许可证:(沪)字第1248号
| 网络文化经营许可证:沪网文[6号 | 信息网络传播视听节目许可证:0910417 | 互联网ICP备案:沪ICP备号-3 沪ICP证:沪B2- | 违法不良信息举报邮箱: | 违法不良信息举报电话:转3
网上有害信息举报专区: |ubuntu16重装显卡驱动后,torch中的问题
说明:最好直接安装lua5.2,而后torch,cutorch,cunn等都安装新版本的,否则可能有冲突。
前几天重新安装了最新的显卡驱动,结果今天使用torch的require &cutorch&时,报错(类似下面的信息):
cannot load torch/install/lib/lua/5.1/libcutorch.so
/torch/cutorch/issues/210说要重新安装cutorch,使用luarocks install cutorch后,又提示Specify CUDA_TOOLKIT_ROOT_DIR,如下:
网上一搜,/torch/cutorch/issues/425说是没有安装cuda。
1.由于之前重装显卡驱动时,已经将cuda删除了。因而此时需要重新安装cuda。索性安装cuda8.0。官网/cuda-downloads下载ubuntu16.04的版本。之后按照官网说明,在终端中输入:
sudo dpkg -i cuda-repo-ubuntu-local_8.0.44-1_amd64.deb
sudo apt-get update
sudo apt-get install cuda
2.此时直接在终端中输入nvcc --version时,还是会提示找不到nvcc。/p/中9楼指出,需要添加环境变量。在终端中输入gedit .bashrc,最后添加(最后一个不确定是否需要添加):
export PATH=/usr/local/cuda-8.0/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64:$LD_LIBRARY_PATH
export CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-8.0:$CUDA_TOOLKIT_ROOT_DIR
重启后,输入nvcc --version,成功:
3.下载cutorch,网址:/torch/cutorch
4.终端定位到该文件夹内,而后输入:
luarocks install rocks/cutorch-1.0-0.rockspec
等待安装完成。
说明:rocks文件夹内有cutorch-1.0-0.rockspec和cutorch-scm-1.rockspec两个文件。如果使用如下命令:
luarocks install rocks/cutorch-scm-1.rockspec
1 error detected in the compilation of &/tmp/tmpxft_00000-7_THCTensorMath.cpp1.ii&.
CMake Error at THC_generated_THCTensorMath.cu.o.cmake:267 (message):
Error generating file
/tmp/luarocks_cutorch-scm-1-1850/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMath.cu.o
lib/THC/CMakeFiles/THC.dir/build.make:105: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath.cu.o' failed
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath.cu.o] Error 1
make[2]: *** 正在等待未完成的任务....
/tmp/luarocks_cutorch-scm-1-1850/cutorch/lib/THC/THCTensorMathReduce.cuh(471): error: identifier &TH_INDEX_BASE& is undefined
/tmp/luarocks_cutorch-scm-1-1850/cutorch/lib/THC/THCTensorMathReduce.cuh(552): error: identifier &TH_INDEX_BASE& is undefined
2 errors detected in the compilation of &/tmp/tmpxft_00000-5_THCTensorMath2.cpp4.ii&.
CMake Error at THC_generated_THCTensorMath2.cu.o.cmake:267 (message):
Error generating file
/tmp/luarocks_cutorch-scm-1-1850/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMath2.cu.o
lib/THC/CMakeFiles/THC.dir/build.make:112: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath2.cu.o' failed
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath2.cu.o] Error 1 /tmp/luarocks_cutorch-scm-1-1850/cutorch/lib/THC/THCTensorMathReduce.cuh(471): error: identifier &TH_INDEX_BASE& is undefined
/tmp/luarocks_cutorch-scm-1-1850/cutorch/lib/THC/THCTensorMathReduce.cuh(552): error: identifier &TH_INDEX_BASE& is undefined
2 errors detected in the compilation of &/tmp/tmpxft_000000-5_THCTensorMathScan.cpp4.ii&.
CMake Error at THC_generated_THCTensorMathScan.cu.o.cmake:267 (message):
Error generating file
/tmp/luarocks_cutorch-scm-1-1850/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMathScan.cu.o
lib/THC/CMakeFiles/THC.dir/build.make:147: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathScan.cu.o' failed
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathScan.cu.o] Error 1
/tmp/luarocks_cutorch-scm-1-1850/cutorch/lib/THC/THCTensorMathReduce.cuh(471): error: identifier &TH_INDEX_BASE& is undefined
/tmp/luarocks_cutorch-scm-1-1850/cutorch/lib/THC/THCTensorMathReduce.cuh(552): error: identifier &TH_INDEX_BASE& is undefined
2 errors detected in the compilation of &/tmp/tmpxft_000000-5_THCTensorMathReduce.cpp4.ii&.
CMake Error at THC_generated_THCTensorMathReduce.cu.o.cmake:267 (message):
Error generating file
/tmp/luarocks_cutorch-scm-1-1850/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMathReduce.cu.o
lib/THC/CMakeFiles/THC.dir/build.make:140: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathReduce.cu.o' failed
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathReduce.cu.o] Error 1
CMakeFiles/Makefile2:172: recipe for target 'lib/THC/CMakeFiles/THC.dir/all' failed
make[1]: *** [lib/THC/CMakeFiles/THC.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Error: Build error: Failed building.
/torch/cutorch/issues/480指出,需要更新torch,nn,cunn等。懒得更新了,因而就使用老版本的了。
5.此时再require &cutorch&便不会出错。
6.此时若要使用cunn,还是会报错:
在官网下载cunn:/torch/cunn,并安装cunn-1.0-0.rockspec:
luarocks install cunn-1.0-0.rockspec
此处若安装新的cunn-scm-1.rockspec,也会报错:
安装完之后,require &cunn&成功。
7.之后require &cudnn&再次遇到问题。重装之后,require时,会提示:
attempt to call field 'hasFastHalfInstructions' (a nil value)
/soumith/cudnn.torch/issues/279指出,需要更新lua到5.2。
暂时不使用cndnn了,不更新了。重新配置起来太麻烦了。
本文永久更新地址:
------分隔线----------------------------

我要回帖

更多关于 ubuntu14.04显卡驱动 的文章

 

随机推荐