Bitcoin Forum

Other => Beginners & Help => Topic started by: galaxy07 on June 22, 2011, 08:29:12 PM



Title: Introduction and LinuxCoin and Phoenix miner: Failed to load OpenCL kernel!
Post by: galaxy07 on June 22, 2011, 08:29:12 PM
Hello,
I followed the bitcoin community for some weeks and have finally set up  my mining rig (a 5870 and a flashed 5850, more cards comming). This is my first post here.

I use LinuxCoin and have been using the poclbm miner, which went quite well.
Now I want to switch to phoenix, but I get the error  "FATAL kernel error: Failed to load OpenCL kernel!", both with phatk and poclmb kernels.
Code:
user@linuxcoin:/opt/miners/phoenix$ export LD_LIBRARY_PATH=/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/
user@linuxcoin:/opt/miners/phoenix$ python phoenix.py -u http://api.bitcoin.cz:8332 -k poclbm  DEVICE=0
[22/06/2011 20:28:05] FATAL kernel error: Failed to load OpenCL kernel!
user@linuxcoin:/opt/miners/phoenix$ python phoenix.py -u http://api.bitcoin.cz:8332 -k phatk  DEVICE=0
[22/06/2011 20:28:30] FATAL kernel error: Failed to load OpenCL kernel!

I find this strange, since the poclbm miner uses the same OpenCL library and works fine.

Can anybody help?
Thanks,


Title: Re: Introduction and LinuxCoin and Phoenix miner: Failed to load OpenCL kernel!
Post by: h2 on July 02, 2011, 07:51:53 AM
hi!

try the same once with sudo.
afterwards you can switch back to the non-sudo command.

hope it helps

greets
h2


Title: Re: Introduction and LinuxCoin and Phoenix miner: Failed to load OpenCL kernel!
Post by: no_alone on July 02, 2011, 08:01:21 AM
Hello,
I followed the bitcoin community for some weeks and have finally set up  my mining rig (a 5870 and a flashed 5850, more cards comming). This is my first post here.

I use LinuxCoin and have been using the poclbm miner, which went quite well.
Now I want to switch to phoenix, but I get the error  "FATAL kernel error: Failed to load OpenCL kernel!", both with phatk and poclmb kernels.
Code:
user@linuxcoin:/opt/miners/phoenix$ export LD_LIBRARY_PATH=/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/
user@linuxcoin:/opt/miners/phoenix$ python phoenix.py -u http://api.bitcoin.cz:8332 -k poclbm  DEVICE=0
[22/06/2011 20:28:05] FATAL kernel error: Failed to load OpenCL kernel!
user@linuxcoin:/opt/miners/phoenix$ python phoenix.py -u http://api.bitcoin.cz:8332 -k phatk  DEVICE=0
[22/06/2011 20:28:30] FATAL kernel error: Failed to load OpenCL kernel!

I find this strange, since the poclbm miner uses the same OpenCL library and works fine.

Can anybody help?
Thanks,



python ./phoenix.py ......


Title: Re: Introduction and LinuxCoin and Phoenix miner: Failed to load OpenCL kernel!
Post by: SilverLeaf on July 02, 2011, 08:43:56 AM
You have to sudo.