AMD driver and AMD APP SDK installation

Started by alessio, December 06, 2011, 05:15:35 PM

Previous topic - Next topic

alessio

AMD driver and AMD APP SDK

AMD driver
Download the right driver from AMD download page and AMD APP SDK from here

Install the video driver :
unzip amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip
sudo sh amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run --buildandinstallpkg Ubuntu/precise
sudo aticonfig --initial


and reboot.

Old and deprecated, AMD APP SDK is not required for oclhashcat.

AMD APP SDK 2.5

Before you start be sure you have removed from your system any previous version of the AMD APP SDK.

sudo tar -xvzf AMD-APP-SDK-v2.5-lnx32.tgz
sudo sh Install-AMD-APP.sh
sudo rm /opt/AMDAPP/lib/x86/{libOpenCL.so.1,libamdocl32.so}
sudo ln -s /usr/lib/libOpenCL.so.1 /usr/lib/libOpenCL.so
sudo ln -s /usr/lib32/libOpenCL.so.1 /usr/lib32/libOpenCL.so


If you have a 64-bit version of Backbox you have to type also:

sudo rm /opt/AMDAPP/lib/x86_64/{libOpenCL.so.1,libamdocl64.so}
sudo ln â€"s /usr/lib64/libOpenCL.so.1 /usr/lib64/libOpenCL.so


romeyro

#1
Hi,

Thank You. Worked like a charm but in your link it's the AMDAPP SDK 2.6 and its not working.
So here are the right links

AMD APP SDK 2.5 Linux x86
http://developer.amd.com/Downloads/AMD-APP-SDK-v2.5-lnx32.tgz
(openSUSE 11.x, Ubuntu 11.04, Red Hat Enterprise Linux 6.x)

AMD APP SDK 2.5 Linux x64
http://developer.amd.com/Downloads/AMD-APP-SDK-v2.5-lnx64.tgz
(openSUSE 11.x, Ubuntu 11.04, Red Hat Enterprise Linux 6.x)

:)

---
ROmeyro

alessio

With the new amd app sdk you have to install it before the amd driver because this updates some files.
I'll check it soon and edit the guide.
Thanks

electroblu3

Is the above method still to be used? Just want to double check as I am having issues running BackBox.

alessio


electroblu3


proxydark

about this I have a problem. I am trying to install AMD-APP-SDK-v2.9-lnx64.tgz but i stuck on
sudo ln -s /usr/lib32/libOpenCL.so.1 /usr/lib32/libOpenCL.so

I am getting info that
ln: target '/usr/lib64/libOpenCL.so' is not a directory

what to do to continue ??

ZEROF

Wrong path ...

If you installed 64bit lib you can't build ln -s with copy paste and wrong path.

sudo ln -s /usr/lib64/libOpenCL.so.1 /usr/lib64/libOpenCL.so

Or something like that is more logic, then installing lib64 and running command for lib32.

Quote from: proxydark on May 14, 2015, 05:31:07 PM
about this I have a problem. I am trying to install AMD-APP-SDK-v2.9-lnx64.tgz but i stuck on
sudo ln -s /usr/lib32/libOpenCL.so.1 /usr/lib32/libOpenCL.so

I am getting info that
ln: target '/usr/lib64/libOpenCL.so' is not a directory

what to do to continue ??

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*

proxydark

it looks like that , there is no lib64 on my pc
when i am trying to use the same command without 64 it saying that file already exist

any suggestions how to finish installing the app ?

ostendali

Quote from: proxydark on May 16, 2015, 11:15:34 PM
it looks like that , there is no lib64 on my pc
when i am trying to use the same command without 64 it saying that file already exist

any suggestions how to finish installing the app ?
there is no such path as /usr/lib....

what you are looking for is /lib or /lib64. this when one mixes up the 2 architecture libraries because sometimes the 64 versions are not that good enough.

However, in a 64bit arch /usr/lib/ is teh default library path (without specifying the arch).

Follow Alessio's first post because you are messing things I guess.