nq-miner
nq-miner copied to clipboard
Error: Failed to initialize miner: clGetPlatformIDs
Hi, I used https://hub.shortnim.me/setupMiner for setting up the program and installed everything as told. I get this error after executing ./start_gpu.sh as root:
------------------------START Miner----------------------
[I 19:32:39] NQMiner: NQ Miner 0.99.7 OpenCL starting
Error: Failed to initialize miner: clGetPlatformIDs
at new NativeMiner (/snapshot/nq-miner/src/NativeMiner.js:0:0)
at /snapshot/nq-miner/index.js:0:0
at Object.
What's the issue? Do I lack some dependencies? Do I have to install something manually? It looks like a runtime error but honestly idk.
Feel free to help. Thanks in advance!
it looks like you don't have OpenCL platform available. What's your GPU/drivers versions?
also try running clinfo
to find out details
Hi, Here's some information about my system: https://pastebin.com/FVvUcHNJ I also installed amdpro-gpu drivers. But still, clinfo shows 0.
yeah, you need to figure out how to install drivers that support OpenCL
Using ROCm might solve this
In case anyone is still running into this issue: On Linux, when installing the AMD drivers, you'll need to set --opencl=rocr,legacy
to include support for OpenCL. documentation