luke-jr / bfgminer

Modular ASIC/FPGA miner written in C, featuring overclocking, monitoring, fan speed control and remote interface capabilities.
http://luke.dashjr.org/programs/bitcoin/files/bfgminer/
Other
1.84k stars 814 forks source link

GPU detection bug #749

Open allardheld opened 6 years ago

allardheld commented 6 years ago

Hi,

Ubuntu 16.04 sees AMD RX570 OpenCL drivers installed Bfgminer doesn't detect card

~/bfgminer# ./bfgminer -S opencl:auto --gpu-platform 0 -n No protocol specified

[2018-03-01 15:09:35] CL Platform 0 vendor: Advanced Micro Devices, Inc. [2018-03-01 15:09:35] CL Platform 0 name: AMD Accelerated Parallel Processing [2018-03-01 15:09:35] CL Platform 0 version: OpenCL 1.2 AMD-APP (1445.5) [2018-03-01 15:09:35] Error -1: Getting Device IDs (num) [2018-03-01 15:09:35] clDevicesNum returned error, no GPUs usable [2018-03-01 15:09:35] 0 GPU devices max detected

Thanks Allard

fogoat commented 6 years ago

What happens if you just use ./bfgminer -S opencl:auto ?