Bitcoin Forum

Other => Beginners & Help => Topic started by: esimon on December 10, 2013, 04:11:54 PM



Title: [bfgminer] [debian] [ati] 0 GPU devices max detected
Post by: esimon on December 10, 2013, 04:11:54 PM
Hi All,

I have Linux debian wheezy 64 bit.
I Have Radeon HD 7950.
I have installed fglrx driver as it was instructed on https://wiki.debian.org/ATIProprietary
Code:
# aptitude update
# aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') fglrx-driver
I have AMD APP SDK installed (version 2.9)
I have downloaded and included ADL headers in ADL folder of bfgminer

I have cloned and build bfgminer from git repo (version 3.8.1), and installed all dependencies it needed.
Here is how i configured and compile it:
Code:
CFLAGS="-O2 -Wall -march=native -I /opt/AMDAPP/include" LDFLAGS="-L/opt/AMDAPP/lib/x86_64" ./configure --enable-scrypt --enable-opencl

Now, I get this:
Code:
$ bfgminer -n 
$ [2013-12-10 18:07:13] 0 GPU devices max detected

I have checked if fglrx is OK, adn it is:
Code:
$ fglrxinfo 
display: :0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 7900 Series
OpenGL version string: 4.2.11762 Compatibility Profile Context

I have searched the forum and Google, but couldn't find solution to my problem. And yes, I did try to
Code:
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1

Please help me if you have fixed such problem.


Title: Re: [bfgminer] [debian] [ati] 0 GPU devices max detected
Post by: dE_logics on December 19, 2013, 10:45:01 AM
Then it's clear.

BFGminer is broken, so is cgminer, but at least it detects the GPUs.