You are not logged in.
Hi,
I have just setup a fresh amd64 Archlinux box with AMD 2 x R9 290 Graphics cards to mine litecoins. I have catalyst-test and amdapp-sdk from AUR installed. And bfgminer is configured/compiled from source.
The issue I am having is that I can only mine if I use sudo under my normal user.
eg. sudo bfgminer -S opencl:auto -n returns 2 cards, all good!
[2013-12-06 15:10:47] CL Platform 0 vendor: Advanced Micro Devices, Inc.
[2013-12-06 15:10:47] CL Platform 0 name: AMD Accelerated Parallel Processing
[2013-12-06 15:10:47] CL Platform 0 version: OpenCL 1.2 AMD-APP (1348.4)
[2013-12-06 15:10:47] Platform 0 devices: 2
[2013-12-06 15:10:47] 0 Hawaii
[2013-12-06 15:10:47] 1 Hawaii
[2013-12-06 15:10:47] CL Platform 1 vendor: Advanced Micro Devices, Inc.
[2013-12-06 15:10:47] CL Platform 1 name: AMD Accelerated Parallel Processing
[2013-12-06 15:10:47] CL Platform 1 version: OpenCL 1.2 AMD-APP (1214.3)
[2013-12-06 15:10:47] Error -1: Getting Device IDs (num)
[2013-12-06 15:10:47] GPU 0 AMD Radeon R9 290 Series hardware monitoring enabled
[2013-12-06 15:10:47] GPU 1 AMD Radeon R9 290 Series hardware monitoring enabled
[2013-12-06 15:10:47] 2 GPU devices max detected bfgminer -S opencl:auto -n returns no cards. su - to root then bfgminer -S opencl:auto -n also returns no cards.
[2013-12-06 15:12:38] CL Platform 0 vendor: Advanced Micro Devices, Inc.
[2013-12-06 15:12:38] CL Platform 0 name: AMD Accelerated Parallel Processing
[2013-12-06 15:12:38] CL Platform 0 version: OpenCL 1.2 AMD-APP (1214.3)
[2013-12-06 15:12:38] Error -1: Getting Device IDs (num)
[2013-12-06 15:12:38] CL Platform 1 vendor: Advanced Micro Devices, Inc.
[2013-12-06 15:12:38] CL Platform 1 name: AMD Accelerated Parallel Processing
[2013-12-06 15:12:38] CL Platform 1 version: OpenCL 1.2 AMD-APP (1214.3)
[2013-12-06 15:12:38] Error -1: Getting Device IDs (num)
[2013-12-06 15:12:38] clDevicesNum returned error, no GPUs usable
[2013-12-06 15:12:38] 0 GPU devices max detectedThis has to be a permissions issue but since preserving the environment but gaining root permissions allows it to work... but I am in the users group?!
crw-rw-rw- 1 root users 251, 0 Dec 6 15:13 card0
crw-rw-rw- 1 root users 251, 1 Dec 6 15:13 card1Last edited by shazeal (2013-12-07 20:53:00)
Offline
I ended up wiping the disk and installing Gentoo instead. Same thing happened.
The solution was actually simple, removing the AMD APP SDK and recompiling cgminer without it fixed the issue. Now I can mine as a normal user and it runs much better.
Offline