Title: clDevicesNum returned error, no GPUs usable (Sgminer, Linux)
Post by: GreenRaccoon23 on October 05, 2014, 11:29:00 PM
I'm trying to run sgminer on an AMD Radeon HD 7970. I'm using Arch Linux 64 bit with the catalyst-total package from the AUR (catalyst version 14.9). I've spent a ridiculous amount of time trying to figure this out and I've run out of things to try. The really odd thing is that it works in Xubuntu, just not Linux Mint XFCE or Arch. Problem: sgminer doesn't detect my GPU My steps are: -install catalyst 14.9 ("catalyst-total" from AUR) -install amd amd app sdk 2.9 -git clone sgminer from the "sgminer-dev" git source -move amd adl sdk (version 6) into sgminer's adl_sdk directory -install sgminer with these commands: git submodule init git submodule update autoreconf -i CFLAGS="-O2 -Wall -march=native" ./configure make sudo make install After all that, here's the output of " sgminer -n": sgminer -n [17:59:14] CL Platform vendor: Mesa [17:59:14] CL Platform name: Default [17:59:14] CL Platform version: OpenCL 1.1 MESA 10.3.0 [17:59:14] Error -1: Getting Device IDs (num) [17:59:14] clDevicesNum returned error, no GPUs usable [17:59:14] 0 GPU devices max detected Here's the output of " fglrxinfo": $ fglrxinfo display: :0.0 screen: 0 OpenGL vendor string: Advanced Micro Devices, Inc. OpenGL renderer string: AMD Radeon HD 7900 Series OpenGL version string: 4.4.13084 Compatibility Profile Context 14.301.1001 Here's the output of " aticonfig --lsa": $ sudo aticonfig --lsa * 0. 01:00.0 AMD Radeon HD 7900 Series
* - Default adapter
Title: Re: clDevicesNum returned error, no GPUs usable (Sgminer, Linux)
Post by: GreenRaccoon23 on October 05, 2014, 11:47:08 PM
Here's my log when I install sgminer: ======================================== Downloading sgminer... Cloning into 'sgminer'... ======================================== Installing sgminer... Submodule 'jansson' (https://github.com/akheron/jansson.git) registered for path 'submodules/jansson' Cloning into 'submodules/jansson'... Submodule path 'submodules/jansson': checked out 'df248712a5d982b0721b6e8d15b09d4a9264301e' libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'. libtoolize: copying file `./ltmain.sh' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. configure.ac:11: installing './compile' configure.ac:12: installing './config.guess' configure.ac:12: installing './config.sub' configure.ac:5: installing './install-sh' configure.ac:5: installing './missing' src/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' configure.ac:24: installing './compile' configure.ac:17: installing './config.guess' configure.ac:17: installing './config.sub' configure.ac:22: installing './install-sh' configure.ac:22: installing './missing' Makefile.am: installing './depcomp' checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking for ranlib... ranlib checking whether gcc needs -traditional... no checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for stdint.h... (cached) yes checking for mprotect... yes checking for sigaction... yes checking for sigaltstack... yes checking for siginterrupt... yes checking for mmap... yes checking for MAP_ANONYMOUS... yes checking whether memchr works... yes checking whether memmem is declared... yes checking for memmem... yes checking whether memmem works... yes checking for C/C++ restrict keyword... __restrict checking for uid_t in sys/types.h... yes checking for inline... inline checking whether the preprocessor supports include_next... yes checking whether system header files limit the line length... no checking for wchar_t... yes checking for unsigned long long int... yes checking for long long int... yes checking whether stdint.h conforms to C99... yes checking whether memmem is declared without a macro... yes checking whether mempcpy is declared without a macro... yes checking whether memrchr is declared without a macro... yes checking whether rawmemchr is declared without a macro... yes checking whether stpcpy is declared without a macro... yes checking whether stpncpy is declared without a macro... yes checking whether strchrnul is declared without a macro... yes checking whether strdup is declared without a macro... yes checking whether strncat is declared without a macro... yes checking whether strndup is declared without a macro... yes checking whether strnlen is declared without a macro... yes checking whether strpbrk is declared without a macro... yes checking whether strsep is declared without a macro... yes checking whether strcasestr is declared without a macro... yes checking whether strtok_r is declared without a macro... yes checking whether strerror_r is declared without a macro... yes checking whether strsignal is declared without a macro... yes checking whether strverscmp is declared without a macro... yes checking whether memmem works in linear time... yes checking for memmem... (cached) yes checking whether memmem works... (cached) yes checking for struct sigaction.sa_sigaction... yes checking for volatile sig_atomic_t... yes checking for sighandler_t... yes checking whether sigaction is declared without a macro... yes checking whether sigaddset is declared without a macro... yes checking whether sigdelset is declared without a macro... yes checking whether sigemptyset is declared without a macro... yes checking whether sigfillset is declared without a macro... yes checking whether sigismember is declared without a macro... yes checking whether sigpending is declared without a macro... yes checking whether sigprocmask is declared without a macro... yes checking for sigprocmask... yes checking whether NULL can be used in arbitrary expressions... yes checking for ANSI C header files... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for OpenCL... yes checking for pthread_create in -lpthread... yes checking for ./ADL_SDK/adl_sdk.h... yes checking for library containing addstr... -lncurses checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBCURL... yes checking whether to use git version if available... checking for git... git checking for .git/... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating submodules/Makefile config.status: creating ccan/Makefile config.status: creating lib/Makefile config.status: creating sph/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands === configuring in submodules/jansson (/home/dan/sgminer/submodules/jansson) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' 'CFLAGS=-O2 -Wall -march=native' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking for int32_t... yes checking for uint32_t... yes checking for uint16_t... yes checking for uint8_t... yes checking for unsigned long long int... yes checking for long long int... yes checking for inline... inline checking for close... yes checking for getpid... yes checking for gettimeofday... yes checking for localeconv... yes checking for open... yes checking for read... yes checking for sched_yield... yes checking for strtoll... yes checking for gcc __sync builtins... yes checking for gcc __atomic builtins... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating jansson.pc config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating src/jansson_config.h config.status: creating test/Makefile config.status: creating test/bin/Makefile config.status: creating test/suites/Makefile config.status: creating test/suites/api/Makefile config.status: creating jansson_private_config.h config.status: executing depfiles commands config.status: executing libtool commands
------------------------------------------------------------------------ sgminer 5.0.0 ------------------------------------------------------------------------
Configuration Options Summary:
Use git version......: yes libcurl(GBT+getwork).: Enabled: -lcurl curses.TUI...........: FOUND: -lncurses OpenCL...............: FOUND. GPU mining support enabled ADL..................: SDK found, GPU monitoring support enabled
Compilation............: make (or gmake) CPPFLAGS.............: CFLAGS...............: -O2 -Wall -march=native LDFLAGS..............: -lpthread LDADD................: -ldl -lcurl submodules/jansson/src/.libs/libjansson.a -lpthread -L/opt/AMDAPP/lib/x86_64 -lOpenCL -lm -lrt
Installation...........: make install (as root if needed, with 'su' or 'sudo') prefix...............: /usr/local
make all-recursive make[1]: Entering directory '/home/dan/sgminer' Making all in lib make[2]: Entering directory '/home/dan/sgminer/lib' GEN arg-nonnull.h GEN c++defs.h GEN warn-on-use.h GEN signal.h GEN string.h make all-recursive make[3]: Entering directory '/home/dan/sgminer/lib' make[4]: Entering directory '/home/dan/sgminer/lib' CC dummy.o AR libgnu.a make[4]: Leaving directory '/home/dan/sgminer/lib' make[3]: Leaving directory '/home/dan/sgminer/lib' make[2]: Leaving directory '/home/dan/sgminer/lib' Making all in submodules make[2]: Entering directory '/home/dan/sgminer/submodules' Making all in jansson make[3]: Entering directory '/home/dan/sgminer/submodules/jansson' make all-recursive make[4]: Entering directory '/home/dan/sgminer/submodules/jansson' Making all in doc make[5]: Entering directory '/home/dan/sgminer/submodules/jansson/doc' make[5]: Nothing to be done for 'all'. make[5]: Leaving directory '/home/dan/sgminer/submodules/jansson/doc' Making all in src make[5]: Entering directory '/home/dan/sgminer/submodules/jansson/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT dump.lo -MD -MP -MF .deps/dump.Tpo -c -o dump.lo dump.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT dump.lo -MD -MP -MF .deps/dump.Tpo -c dump.c -fPIC -DPIC -o .libs/dump.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT dump.lo -MD -MP -MF .deps/dump.Tpo -c dump.c -o dump.o >/dev/null 2>&1 mv -f .deps/dump.Tpo .deps/dump.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT error.lo -MD -MP -MF .deps/error.Tpo -c -o error.lo error.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -fPIC -DPIC -o .libs/error.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1 mv -f .deps/error.Tpo .deps/error.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT hashtable.lo -MD -MP -MF .deps/hashtable.Tpo -c -o hashtable.lo hashtable.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT hashtable.lo -MD -MP -MF .deps/hashtable.Tpo -c hashtable.c -fPIC -DPIC -o .libs/hashtable.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT hashtable.lo -MD -MP -MF .deps/hashtable.Tpo -c hashtable.c -o hashtable.o >/dev/null 2>&1 mv -f .deps/hashtable.Tpo .deps/hashtable.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT hashtable_seed.lo -MD -MP -MF .deps/hashtable_seed.Tpo -c -o hashtable_seed.lo hashtable_seed.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT hashtable_seed.lo -MD -MP -MF .deps/hashtable_seed.Tpo -c hashtable_seed.c -fPIC -DPIC -o .libs/hashtable_seed.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT hashtable_seed.lo -MD -MP -MF .deps/hashtable_seed.Tpo -c hashtable_seed.c -o hashtable_seed.o >/dev/null 2>&1 mv -f .deps/hashtable_seed.Tpo .deps/hashtable_seed.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT load.lo -MD -MP -MF .deps/load.Tpo -c -o load.lo load.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT load.lo -MD -MP -MF .deps/load.Tpo -c load.c -fPIC -DPIC -o .libs/load.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT load.lo -MD -MP -MF .deps/load.Tpo -c load.c -o load.o >/dev/null 2>&1 mv -f .deps/load.Tpo .deps/load.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT memory.lo -MD -MP -MF .deps/memory.Tpo -c -o memory.lo memory.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT memory.lo -MD -MP -MF .deps/memory.Tpo -c memory.c -fPIC -DPIC -o .libs/memory.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT memory.lo -MD -MP -MF .deps/memory.Tpo -c memory.c -o memory.o >/dev/null 2>&1 mv -f .deps/memory.Tpo .deps/memory.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT pack_unpack.lo -MD -MP -MF .deps/pack_unpack.Tpo -c -o pack_unpack.lo pack_unpack.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT pack_unpack.lo -MD -MP -MF .deps/pack_unpack.Tpo -c pack_unpack.c -fPIC -DPIC -o .libs/pack_unpack.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT pack_unpack.lo -MD -MP -MF .deps/pack_unpack.Tpo -c pack_unpack.c -o pack_unpack.o >/dev/null 2>&1 mv -f .deps/pack_unpack.Tpo .deps/pack_unpack.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT strbuffer.lo -MD -MP -MF .deps/strbuffer.Tpo -c -o strbuffer.lo strbuffer.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT strbuffer.lo -MD -MP -MF .deps/strbuffer.Tpo -c strbuffer.c -fPIC -DPIC -o .libs/strbuffer.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT strbuffer.lo -MD -MP -MF .deps/strbuffer.Tpo -c strbuffer.c -o strbuffer.o >/dev/null 2>&1 mv -f .deps/strbuffer.Tpo .deps/strbuffer.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT strconv.lo -MD -MP -MF .deps/strconv.Tpo -c -o strconv.lo strconv.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT strconv.lo -MD -MP -MF .deps/strconv.Tpo -c strconv.c -fPIC -DPIC -o .libs/strconv.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT strconv.lo -MD -MP -MF .deps/strconv.Tpo -c strconv.c -o strconv.o >/dev/null 2>&1 mv -f .deps/strconv.Tpo .deps/strconv.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT utf.lo -MD -MP -MF .deps/utf.Tpo -c -o utf.lo utf.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT utf.lo -MD -MP -MF .deps/utf.Tpo -c utf.c -fPIC -DPIC -o .libs/utf.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT utf.lo -MD -MP -MF .deps/utf.Tpo -c utf.c -o utf.o >/dev/null 2>&1 mv -f .deps/utf.Tpo .deps/utf.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT value.lo -MD -MP -MF .deps/value.Tpo -c -o value.lo value.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT value.lo -MD -MP -MF .deps/value.Tpo -c value.c -fPIC -DPIC -o .libs/value.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT value.lo -MD -MP -MF .deps/value.Tpo -c value.c -o value.o >/dev/null 2>&1 mv -f .deps/value.Tpo .deps/value.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -no-undefined -export-symbols-regex '^json_' -version-info 10:0:6 -o libjansson.la -rpath /usr/local/lib dump.lo error.lo hashtable.lo hashtable_seed.lo load.lo memory.lo pack_unpack.lo strbuffer.lo strconv.lo utf.lo value.lo libtool: link: /usr/bin/nm -B .libs/dump.o .libs/error.o .libs/hashtable.o .libs/hashtable_seed.o .libs/load.o .libs/memory.o .libs/pack_unpack.o .libs/strbuffer.o .libs/strconv.o .libs/utf.o .libs/value.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libjansson.exp libtool: link: /usr/bin/grep -E -e "^json_" ".libs/libjansson.exp" > ".libs/libjansson.expT" libtool: link: mv -f ".libs/libjansson.expT" ".libs/libjansson.exp" libtool: link: echo "{ global:" > .libs/libjansson.ver libtool: link: cat .libs/libjansson.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libjansson.ver libtool: link: echo "local: *; };" >> .libs/libjansson.ver libtool: link: gcc -shared -fPIC -DPIC .libs/dump.o .libs/error.o .libs/hashtable.o .libs/hashtable_seed.o .libs/load.o .libs/memory.o .libs/pack_unpack.o .libs/strbuffer.o .libs/strconv.o .libs/utf.o .libs/value.o -O2 -march=native -Wl,-soname -Wl,libjansson.so.4 -Wl,-version-script -Wl,.libs/libjansson.ver -o .libs/libjansson.so.4.6.0 libtool: link: (cd ".libs" && rm -f "libjansson.so.4" && ln -s "libjansson.so.4.6.0" "libjansson.so.4") libtool: link: (cd ".libs" && rm -f "libjansson.so" && ln -s "libjansson.so.4.6.0" "libjansson.so") libtool: link: ar cru .libs/libjansson.a dump.o error.o hashtable.o hashtable_seed.o load.o memory.o pack_unpack.o strbuffer.o strconv.o utf.o value.o libtool: link: ranlib .libs/libjansson.a libtool: link: ( cd ".libs" && rm -f "libjansson.la" && ln -s "../libjansson.la" "libjansson.la" ) make[5]: Leaving directory '/home/dan/sgminer/submodules/jansson/src' Making all in test make[5]: Entering directory '/home/dan/sgminer/submodules/jansson/test' Making all in bin make[6]: Entering directory '/home/dan/sgminer/submodules/jansson/test/bin' make[6]: Nothing to be done for 'all'. make[6]: Leaving directory '/home/dan/sgminer/submodules/jansson/test/bin' Making all in suites make[6]: Entering directory '/home/dan/sgminer/submodules/jansson/test/suites' Making all in api make[7]: Entering directory '/home/dan/sgminer/submodules/jansson/test/suites/api' make[7]: Nothing to be done for 'all'. make[7]: Leaving directory '/home/dan/sgminer/submodules/jansson/test/suites/api' make[7]: Entering directory '/home/dan/sgminer/submodules/jansson/test/suites' make[7]: Nothing to be done for 'all-am'. make[7]: Leaving directory '/home/dan/sgminer/submodules/jansson/test/suites' make[6]: Leaving directory '/home/dan/sgminer/submodules/jansson/test/suites' make[6]: Entering directory '/home/dan/sgminer/submodules/jansson/test' make[6]: Nothing to be done for 'all-am'. make[6]: Leaving directory '/home/dan/sgminer/submodules/jansson/test' make[5]: Leaving directory '/home/dan/sgminer/submodules/jansson/test' make[5]: Entering directory '/home/dan/sgminer/submodules/jansson' make[5]: Leaving directory '/home/dan/sgminer/submodules/jansson' make[4]: Leaving directory '/home/dan/sgminer/submodules/jansson' make[3]: Leaving directory '/home/dan/sgminer/submodules/jansson' make[3]: Entering directory '/home/dan/sgminer/submodules' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/dan/sgminer/submodules' make[2]: Leaving directory '/home/dan/sgminer/submodules' Making all in ccan make[2]: Entering directory '/home/dan/sgminer/ccan' CC opt/libccan_a-helpers.o CC opt/libccan_a-opt.o CC opt/libccan_a-parse.o CC opt/libccan_a-usage.o AR libccan.a make[2]: Leaving directory '/home/dan/sgminer/ccan' Making all in sph make[2]: Entering directory '/home/dan/sgminer/sph' CC bmw.o CC echo.o CC jh.o CC luffa.o CC simd.o CC blake.o CC cubehash.o CC groestl.o CC keccak.o CC shavite.o CC skein.o CC sha2.o CC sha2big.o CC fugue.o CC hamsi.o CC panama.o CC shabal.o CC whirlpool.o AR libsph.a make[2]: Leaving directory '/home/dan/sgminer/sph' make[2]: Entering directory '/home/dan/sgminer' CC sgminer-sgminer.o CC sgminer-api.o api.c: In function ‘print_data’: api.c:768:29: warning: argument to ‘sizeof’ in ‘snprintf’ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] snprintf(buf, sizeof(buf), "0x%08x", *((uint32_t *)(root->data))); ^ CC sgminer-util.o CC sgminer-logging.o CC sgminer-driver-opencl.o CC sgminer-ocl.o ocl.c: In function ‘initCl’: ocl.c:361:11: warning: variable ‘slot’ set but not used [-Wunused-but-set-variable] cl_uint slot, cpnd; ^ CC sgminer-findnonce.o CC sgminer-adl.o CC sgminer-pool.o CC sgminer-algorithm.o CC sgminer-config_parser.o config_parser.c: In function ‘build_pool_json’: config_parser.c:1246:13: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] else if (!empty_string(pool->xintensity)) ^ config_parser.c:1242:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (!empty_string(pool->rawintensity)) ^ config_parser.c: In function ‘build_profile_settings_json’: config_parser.c:1350:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] else if (!empty_string(profile->xintensity)) ^ config_parser.c:1346:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (!empty_string(profile->rawintensity)) ^ CC ocl/sgminer-patch_kernel.o CC ocl/sgminer-build_kernel.o CC ocl/sgminer-binary_kernel.o CC algorithm/sgminer-scrypt.o CC algorithm/sgminer-darkcoin.o CC algorithm/sgminer-qubitcoin.o CC algorithm/sgminer-quarkcoin.o CC algorithm/sgminer-myriadcoin-groestl.o CC algorithm/sgminer-fuguecoin.o CC algorithm/sgminer-inkcoin.o CC algorithm/sgminer-animecoin.o CC algorithm/sgminer-groestlcoin.o CC algorithm/sgminer-sifcoin.o CC algorithm/sgminer-twecoin.o CC algorithm/sgminer-marucoin.o CC algorithm/sgminer-maxcoin.o CC algorithm/sgminer-talkcoin.o CC algorithm/sgminer-bitblock.o CC algorithm/sgminer-x14.o CC algorithm/sgminer-fresh.o algorithm/fresh.c: In function ‘fresh_regenhash’: algorithm/fresh.c:138:9: warning: unused variable ‘scratchbuf’ [-Wunused-variable] char *scratchbuf; ^ algorithm/fresh.c: In function ‘scanhash_fresh’: algorithm/fresh.c:153:9: warning: unused variable ‘scratchbuf’ [-Wunused-variable] char *scratchbuf; ^ CCLD sgminer make[2]: Leaving directory '/home/dan/sgminer' make[1]: Leaving directory '/home/dan/sgminer' Making install in lib make[1]: Entering directory '/home/dan/sgminer/lib' make install-recursive make[2]: Entering directory '/home/dan/sgminer/lib' make[3]: Entering directory '/home/dan/sgminer/lib' make[4]: Entering directory '/home/dan/sgminer/lib' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/dan/sgminer/lib' make[3]: Leaving directory '/home/dan/sgminer/lib' make[2]: Leaving directory '/home/dan/sgminer/lib' make[1]: Leaving directory '/home/dan/sgminer/lib' Making install in submodules make[1]: Entering directory '/home/dan/sgminer/submodules' Making install in jansson make[2]: Entering directory '/home/dan/sgminer/submodules/jansson' Making install in doc make[3]: Entering directory '/home/dan/sgminer/submodules/jansson/doc' make[4]: Entering directory '/home/dan/sgminer/submodules/jansson/doc' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/dan/sgminer/submodules/jansson/doc' make[3]: Leaving directory '/home/dan/sgminer/submodules/jansson/doc' Making install in src make[3]: Entering directory '/home/dan/sgminer/submodules/jansson/src' make[4]: Entering directory '/home/dan/sgminer/submodules/jansson/src' /usr/bin/mkdir -p '/usr/local/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c libjansson.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libjansson.so.4.6.0 /usr/local/lib/libjansson.so.4.6.0 libtool: install: (cd /usr/local/lib && { ln -s -f libjansson.so.4.6.0 libjansson.so.4 || { rm -f libjansson.so.4 && ln -s libjansson.so.4.6.0 libjansson.so.4; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f libjansson.so.4.6.0 libjansson.so || { rm -f libjansson.so && ln -s libjansson.so.4.6.0 libjansson.so; }; }) libtool: install: /usr/bin/install -c .libs/libjansson.lai /usr/local/lib/libjansson.la libtool: install: /usr/bin/install -c .libs/libjansson.a /usr/local/lib/libjansson.a libtool: install: chmod 644 /usr/local/lib/libjansson.a libtool: install: ranlib /usr/local/lib/libjansson.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/sbin" ldconfig -n /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib
If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- /usr/bin/mkdir -p '/usr/local/include' /usr/bin/install -c -m 644 jansson.h jansson_config.h '/usr/local/include' make[4]: Leaving directory '/home/dan/sgminer/submodules/jansson/src' make[3]: Leaving directory '/home/dan/sgminer/submodules/jansson/src' Making install in test make[3]: Entering directory '/home/dan/sgminer/submodules/jansson/test' Making install in bin make[4]: Entering directory '/home/dan/sgminer/submodules/jansson/test/bin' make[5]: Entering directory '/home/dan/sgminer/submodules/jansson/test/bin' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/home/dan/sgminer/submodules/jansson/test/bin' make[4]: Leaving directory '/home/dan/sgminer/submodules/jansson/test/bin' Making install in suites make[4]: Entering directory '/home/dan/sgminer/submodules/jansson/test/suites' Making install in api make[5]: Entering directory '/home/dan/sgminer/submodules/jansson/test/suites/api' make[6]: Entering directory '/home/dan/sgminer/submodules/jansson/test/suites/api' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/home/dan/sgminer/submodules/jansson/test/suites/api' make[5]: Leaving directory '/home/dan/sgminer/submodules/jansson/test/suites/api' make[5]: Entering directory '/home/dan/sgminer/submodules/jansson/test/suites' make[6]: Entering directory '/home/dan/sgminer/submodules/jansson/test/suites' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/home/dan/sgminer/submodules/jansson/test/suites' make[5]: Leaving directory '/home/dan/sgminer/submodules/jansson/test/suites' make[4]: Leaving directory '/home/dan/sgminer/submodules/jansson/test/suites' make[4]: Entering directory '/home/dan/sgminer/submodules/jansson/test' make[5]: Entering directory '/home/dan/sgminer/submodules/jansson/test' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/home/dan/sgminer/submodules/jansson/test' make[4]: Leaving directory '/home/dan/sgminer/submodules/jansson/test' make[3]: Leaving directory '/home/dan/sgminer/submodules/jansson/test' make[3]: Entering directory '/home/dan/sgminer/submodules/jansson' make[4]: Entering directory '/home/dan/sgminer/submodules/jansson' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/local/lib/pkgconfig' /usr/bin/install -c -m 644 jansson.pc '/usr/local/lib/pkgconfig' make[4]: Leaving directory '/home/dan/sgminer/submodules/jansson' make[3]: Leaving directory '/home/dan/sgminer/submodules/jansson' make[2]: Leaving directory '/home/dan/sgminer/submodules/jansson' make[2]: Entering directory '/home/dan/sgminer/submodules' make[3]: Entering directory '/home/dan/sgminer/submodules' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/dan/sgminer/submodules' make[2]: Leaving directory '/home/dan/sgminer/submodules' make[1]: Leaving directory '/home/dan/sgminer/submodules' Making install in ccan make[1]: Entering directory '/home/dan/sgminer/ccan' make[2]: Entering directory '/home/dan/sgminer/ccan' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/dan/sgminer/ccan' make[1]: Leaving directory '/home/dan/sgminer/ccan' Making install in sph make[1]: Entering directory '/home/dan/sgminer/sph' make[2]: Entering directory '/home/dan/sgminer/sph' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/dan/sgminer/sph' make[1]: Leaving directory '/home/dan/sgminer/sph' make[1]: Entering directory '/home/dan/sgminer' make[2]: Entering directory '/home/dan/sgminer' /usr/bin/mkdir -p '/usr/local/bin' /bin/sh ./libtool --mode=install /usr/bin/install -c sgminer '/usr/local/bin' libtool: install: /usr/bin/install -c sgminer /usr/local/bin/sgminer /usr/bin/mkdir -p '/usr/local/bin' /usr/bin/install -c ./kernel/aes_helper.cl ./kernel/alexkarnew.cl ./kernel/alexkarold.cl ./kernel/animecoin.cl ./kernel/bitblock.cl ./kernel/bitblockold.cl ./kernel/blake.cl ./kernel/bmw.cl ./kernel/bufius.cl ./kernel/ckolivas.cl ./kernel/cubehash.cl ./kernel/darkcoin.cl ./kernel/darkcoin-mod.cl ./kernel/echo.cl ./kernel/fresh.cl ./kernel/fugue.cl ./kernel/fuguecoin.cl ./kernel/groestl.cl ./kernel/groestlcoin.cl ./kernel/hamsi.cl ./kernel/hamsi_helper_big.cl ./kernel/hamsi_helper.cl ./kernel/inkcoin.cl ./kernel/jh.cl ./kernel/keccak.cl ./kernel/luffa.cl ./kernel/marucoin.cl ./kernel/marucoin-mod.cl ./kernel/marucoin-modold.cl ./kernel/maxcoin.cl ./kernel/myriadcoin-groestl.cl ./kernel/panama.cl ./kernel/psw.cl ./kernel/quarkcoin.cl ./kernel/qubitcoin.cl ./kernel/shabal.cl ./kernel/shavite.cl ./kernel/sifcoin.cl ./kernel/simd.cl ./kernel/skein.cl '/usr/local/bin' /usr/bin/install -c ./kernel/talkcoin-mod.cl ./kernel/twecoin.cl ./kernel/whirlpool.cl ./kernel/x14.cl ./kernel/x14old.cl ./kernel/zuikkis.cl '/usr/local/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/dan/sgminer' make[1]: Leaving directory '/home/dan/sgminer' [17:58:49] CL Platform vendor: Mesa [17:58:49] CL Platform name: Default [17:58:49] CL Platform version: OpenCL 1.1 MESA 10.3.0 [17:58:49] Error -1: Getting Device IDs (num) [17:58:49] clDevicesNum returned error, no GPUs usable [17:58:49] 0 GPU devices max detected [17:58:49] CL Platform vendor: Mesa [17:58:49] CL Platform name: Default [17:58:49] CL Platform version: OpenCL 1.1 MESA 10.3.0 [17:58:49] Error -1: Getting Device IDs (num) [17:58:49] clDevicesNum returned error, no GPUs usable [17:58:49] 0 GPU devices max detected Found fglrx primary device section Using /etc/X11/xorg.conf Saving back-up to /etc/X11/xorg.conf.fglrx-5
Title: Re: clDevicesNum returned error, no GPUs usable (Sgminer, Linux)
Post by: GreenRaccoon23 on October 05, 2014, 11:59:13 PM
Here's the my log when I install amd app sdk: ======================================== Installing AMD APP SDK version 2.9... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 142M 100 142M 0 0 2367k 0 0:01:01 0:01:01 --:--:-- 2627k AMD-APP-SDK-v2.9-RC-lnx64.tgz default-install_lnx_64.pl icd-registration.tgz Install-AMD-APP.sh ReadMe.txt ... ‘lib/x86_64/libamdocl64.so’ -> ‘/usr/lib/libamdocl64.so’ ‘lib/x86_64/libGLEW.so’ -> ‘/usr/lib/libGLEW.so’ ‘lib/x86_64/libglut.so’ -> ‘/usr/lib/libglut.so’ ‘lib/x86_64/libOpenCL.so’ -> ‘/usr/lib/libOpenCL.so’ ‘lib/x86_64/libOpenCL.so.1’ -> ‘/usr/lib/libOpenCL.so.1’ sending incremental file list
sent 179 bytes received 12 bytes 382.00 bytes/sec total size is 414,666 speedup is 2,171.03 etc/ etc/OpenCL/ etc/OpenCL/vendors/ etc/OpenCL/vendors/amdocl64.icd etc/OpenCL/vendors/amdocl32.icd sending incremental file list
sent 107 bytes received 13 bytes 240.00 bytes/sec total size is 30 speedup is 0.25 =========================================================== 64-bit Operating System Found.. Starting Installation of AMD APPSDK v2.9 .... SDK package name is :AMD-APP-SDK-v2.9-RC-lnx64.tgz Checking Latest Version Info..... =========================================================== 64-bit Operating System Found.. Starting Installation of AMD APPSDK v2.9 .... SDK package name is :AMD-APP-SDK-v2.9-RC-lnx64.tgz Checking Latest Version Info..... Continuing in background, pid 7858. Continuing in background, pid 7858. ...... Continuing Installation... ===============================================================
Directory already exists deleting ...... Continuing Installation... ===============================================================
Directory already exists deleting Current directory path is : /tmp/amd-app-sdk Current directory path is : /tmp/amd-app-sdk Untar command executed succesfully, The SDK package available Untar command executed succesfully, The ICD package available Copying files to /opt/AMDAPP/ ... Untar command executed succesfully, The SDK package available Untar command executed succesfully, The ICD package available Copying files to /opt/AMDAPP/ ... SDK files copied successfully at /opt/AMDAPP/ SDK files copied successfully at /opt/AMDAPP/ AMD Catalyst OpenCL Runtime is available hence skipping OpenCL CPU Runtime Installation AMD Catalyst OpenCL Runtime is available hence skipping OpenCL CPU Runtime Installation ln: failed to create symbolic link ‘/usr/lib64/libOpenCL.so’ln: failed to create symbolic link ‘/usr/lib64/libOpenCL.so’: File exists : File exists ln: failed to create symbolic link ‘/usr/lib/libOpenCL.so’ln: failed to create symbolic link ‘/usr/lib/libOpenCL.so’: File exists : File exists Updating Environment variables... Updating Environment variables... 32-bit path is :32-bit path is :/opt/AMDAPP/lib/x86 /opt/AMDAPP/lib/x86 64-bit path is :64-bit path is :/opt/AMDAPP/lib/x86_64 /opt/AMDAPP/lib/x86_64 Environment variables updated successfully Environment variables updated successfully AMD APPSDK v2.9 installation Completed >> Reboot required to reflect the changes =============================================================== AMD APPSDK v2.9 installation Completed >> Reboot required to reflect the changes ===============================================================
Title: Re: clDevicesNum returned error, no GPUs usable (Sgminer, Linux)
Post by: GreenRaccoon23 on October 08, 2014, 02:05:40 PM
-bump-
Anyone have an idea?
Title: Re: clDevicesNum returned error, no GPUs usable (Sgminer, Linux)
Post by: Calhil on October 08, 2014, 07:30:02 PM
Make a script to launch your miner: #!/bin/bash
export DISPLAY=:0 export GPU_USE_SYNC_OBJECTS=1 export GPU_MAX_ALLOC_PERCENT=100
sgminer -n Also make sure the drivers are installed correctly and system detects all the gpus. You can verify that by running: DISPLAY=:0 aticonfig --odgt --adapter=all or
Title: Re: clDevicesNum returned error, no GPUs usable (Sgminer, Linux)
Post by: lonelyminer (Peter Šurda) on October 23, 2014, 06:30:08 AM
Try adding to the command line options when running sgminer.
|