Bitcoin Forum

Bitcoin => Mining support => Topic started by: deftx on June 15, 2011, 11:10:03 PM



Title: Linux phoenix/poclbm -- Suddenly can't mine
Post by: deftx on June 15, 2011, 11:10:03 PM
I was messing around with different card configurations, trying to get 3 to work in one machine.

I'm using both a persistent LinuxCoin and a write-once LinuxCoin installation (USB), which means one is vanilla upon reboot.

I was able to mine fine, always, on the vanilla. I thought I had maybe messed up my persistent LinuxCoin installation.

Suddenly, I get this error when trying to mine on both installations:

[15/06/2011 15:57:10] FATAL kernel error: Failed to load OpenCL kernel!

Googling led me to the forums, asking others "Did you accept the ATI License agreement?". I did, and it was already accepted on the persistent installation.

I can confirm it works perfectly fine on Windows. No clue as to why Linux suddenly stopped working, even across different installations.

I cleared my CMOS for good measure. Nothing.

What's going on here?


Title: Re: Linux phoenix/poclbm -- Suddenly can't mine
Post by: nomnomnom on June 17, 2011, 07:47:35 PM
Hard to say what the problem could be.

I would double check that the files in /etc/OpenCL exists (they get extracted there when you accept the sdk license)

Code:
ls -l /etc/OpenCL/vendors/
total 8
-r--r--r-- 1 user user 15 Jan 27 04:13 amdocl32.icd
-r--r--r-- 1 user user 15 Jan 27 04:13 amdocl64.icd

if in doubt, just do another
Code:
cd /; tar xzf /opt/AMD-APP-SDK-v2.4-lnx64/icd-registration.tgz

Also on linuxcoin I had problems with the miners in /opt/miners, so I copied
my directory with the miners from my desktop to /home/user  :)

And if you start your miners in a SCREEN session, you have to add something to .screenrc
Code:
setenv LD_LIBRARY_PATH "/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/:/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/"
setenv DISPLAY ":0"

Maybe one of that helps :)