Bitcoin Forum

Bitcoin => Mining support => Topic started by: vulgata on August 24, 2011, 12:35:15 AM



Title: ./CLInfo only shows CPU!
Post by: vulgata on August 24, 2011, 12:35:15 AM
I feel like this is a common issue, and I have had this in the past, but I just installed a new distro and I have no idea how to fix it.  I have installed Catalyst 11.8 from the ATI website and I'm using SDK 2.1.  I've searched for a while on Google, the forums, and my head, but to no avail.  SOS!


Title: Re: ./CLInfo only shows CPU!
Post by: nomnomnom on August 25, 2011, 05:32:28 AM
Hello,

make sure that you have extracted the SDK License.
(I think this was like, cd /; tar xvf /path/to/amdsdk/icd-registration.tgz)

And you have to check if you added the SDK Variables to your enviromnent,
I just added /opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64 to my /etc/ld.so.conf.
Seems to work too. (read the pdfs in the doc folder of the sdk if in doubt)


Title: Re: ./CLInfo only shows CPU!
Post by: vulgata on August 27, 2011, 09:17:00 PM
Thanks for your reply, but I've already done those a million times :/

Hello,

make sure that you have extracted the SDK License.
(I think this was like, cd /; tar xvf /path/to/amdsdk/icd-registration.tgz)

Code:
/etc/OpenCL/vendors $ ls
atiocl32.icd  atiocl64.icd  nvidia.icd

And you have to check if you added the SDK Variables to your enviromnent,
I just added /opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64 to my /etc/ld.so.conf.
Seems to work too. (read the pdfs in the doc folder of the sdk if in doubt)


My .bashrc:

Code:
export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64:$LD_LIBRARY_PATH
export ATISTREAMSDKROOT=/opt/ati-stream-sdk-v2.1-lnx64
export ATISTREAMSDKSAMPLESROOT=/opt/ati-stream-sdk-v2.1-lnx64


Title: Re: ./CLInfo only shows CPU!
Post by: grndzero on August 29, 2011, 10:44:30 PM
Thanks for your reply, but I've already done those a million times :/

Hello,

make sure that you have extracted the SDK License.
(I think this was like, cd /; tar xvf /path/to/amdsdk/icd-registration.tgz)

Code:
/etc/OpenCL/vendors $ ls
atiocl32.icd  atiocl64.icd  nvidia.icd

And you have to check if you added the SDK Variables to your enviromnent,
I just added /opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64 to my /etc/ld.so.conf.
Seems to work too. (read the pdfs in the doc folder of the sdk if in doubt)


My .bashrc:

Code:
export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64:$LD_LIBRARY_PATH
export ATISTREAMSDKROOT=/opt/ati-stream-sdk-v2.1-lnx64
export ATISTREAMSDKSAMPLESROOT=/opt/ati-stream-sdk-v2.1-lnx64

Why are you running 11.8? I haven't tried 11.8, but 11.7 was buggy.

11.6 still seems to be the sweet spot on Linux, and it gets along just fine with 2.1 SDK

Also having nvidia drivers installed could be causing a problem, you should try removing them if OpenCL still isn't recognized after installing 11.6