# Testing ocl\_cuckatoo plugin

**URL:** <https://forum.grin.mw/t/testing-ocl-cuckatoo-plugin/1793>\
**Category:** Mining\
**Created:** [January 6, 2019, 9:08pm UTC](https://forum.grin.mw/t/testing-ocl-cuckatoo-plugin/1793 "2019-01-06T21:08:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![notkeynesian](https://avatars.discourse-cdn.com/v4/letter/n/ecae2f/32.png) [@notkeynesian](https://forum.grin.mw/u/notkeynesian)\
**Post date:** [January 6, 2019, 9:08pm UTC](https://forum.grin.mw/t/testing-ocl-cuckatoo-plugin/1793/1 "2019-01-06T21:08:09Z")

</div>

The computer I intend to mine grin with is an AMD Ryzen 7 with a RX580 AMD (8GB) card on Ubuntu 18.04. I know that cuda is better supported but I dont have an NVIDIA card avail at the moment. I’m testing the various options I have.

I noticed the grin-miner repo got opencl support and decided to give it a whirl.

- I installed opencl (via; sudo apt install ocl-icd-opencl-dev)
- I ran ./install\_ocl\_plugins.sh to install the plugins (no error)

grin-miner starts and successfully connects to stratum before it receives the following error;

**thread ‘\<unnamed\>’ panicked at ‘Platform::list: Error retrieving platform list: Unable to get platform id list after 10 seconds of waiting.’, libcore/result.rs:1009:5**

my config settings are;

[[mining.miner\_plugin\_config]]  
plugin\_name = “ocl\_cuckatoo”  
[mining.miner\_plugin\_config.parameters]  
platform = 1  
device = 0  
edge\_bits = 31

Does anybody have any ideas? Im guessing by the error the system cant actually communicate with my opencl drivers although i did install the latest drivers from amd. I ran glmark2 and received like a 5850 scores or something.

* * *

FWIW, CPU mining (cuckaroo\_cpu\_avx2\_29) yield about 0.25 gps

[[mining.miner\_plugin\_config]]  
plugin\_name = “cuckaroo\_cpu\_avx2\_29”  
[mining.miner\_plugin\_config.parameters]  
nthreads = 8

---

<div class="post-metadata">

**Author:** ![hashmap](https://avatars.discourse-cdn.com/v4/letter/h/ce73a5/32.png) [@hashmap](https://forum.grin.mw/u/hashmap)\
**Post date:** [January 7, 2019, 8:20pm UTC](https://forum.grin.mw/t/testing-ocl-cuckatoo-plugin/1793/2 "2019-01-07T20:20:53Z")

</div>

Could you post output of clinfo command?  
Cuckaroo29 for AMD is around the corner btw.

---

<div class="post-metadata">

**Author:** ![erik80](https://avatars.discourse-cdn.com/v4/letter/e/838e76/32.png) [@erik80](https://forum.grin.mw/u/erik80)\
**Post date:** [January 19, 2019, 11:28am UTC](https://forum.grin.mw/t/testing-ocl-cuckatoo-plugin/1793/3 "2019-01-19T11:28:05Z")

</div>

I have the same error with AMD Radeon R7 M360 on Xubuntu 18.04. clinfo returns “Number of platforms 0”
