sgminer-dev / sgminer

Scrypt GPU miner
GNU General Public License v3.0
629 stars 825 forks source link

OpenCL not detected on latest git version #169

Closed archenroot closed 10 years ago

archenroot commented 10 years ago

Hi, latest release when downloaded it detects OpenCL without issue. The latest git dev version tells me OpenCL...............: NOT FOUND. GPU mining support DISABLED. From my env: LD_LIBRARY_PATH=:/opt/AMDAPP/lib/x86_64:/opt/AMDAPP/lib/x86 LIBGL_DRIVERS_PATH=/usr/lib/i386-linux-gnu/dri:/usr/lib/x86_64-linux-gnu/dri

I tried to set-up manually LDFLAGS for configure time, but with no help: CFLAGS="-O2 -Wall -march=native -I /opt/AMDAPP/include/" LDFLAGS="-L /opt/AMDAPP/lib/x86_64" ./configure

Any hint? thx

veox commented 10 years ago

There have been no changes to the build scripts between 4.1.153 and current git master.

Cannot reproduce. :/

archenroot commented 10 years ago

I see now where is the problem from the latest beta drivers of the AMD SDK. I was playing around with different drivers performance and forgot after new driver installation procedure to reinstall the SDK as well, because the note of SDK says:

    As of SDK 2.9, the AMD APP SDK GPU runtime is not supported. To get the APP GPU runtime file,
    install the Catalyst driver. The SDK 2.9 runtime supports only CPU hardware; it is installed under
    /opt/AMDAPP/

    Recommandations for GPU user:
    Install 13.10 (or later) Catalyst driver then install SDK 2.9 to avoid the CPU RT files installation.

So I reinstalled after the driver also the sdk and it is fixed.

mrbrdo commented 10 years ago

@veox please check, I am not sure if you wanted to leave this open or not

platinum4 commented 10 years ago

@veox is this issue closable as of recent commits in the month of June 2014 and as of https://github.com/sgminer-dev/sgminer/issues/182 ?

veox commented 10 years ago

OK, let's close it.