Bitcoin Forum
April 28, 2017, 10:34:24 AM *
News: If the forum does not load normally for you, please send me a traceroute.
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [23] 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 »
  Print  
Author Topic: [ANN] sph-sgminer: multi-coin multi-algorithm GPU miner | added MaruCoin  (Read 457981 times)
badman74
Hero Member
*****
Offline Offline

Activity: 532


View Profile
March 19, 2014, 03:23:15 AM
 #441

Anybody have luck on Mac?

I compiled on Mac after making quarkhash, xhash and quash "static inline" instead of just inline and it does start but after a while GPU get's sick and I don't see any hashes... Tried all of them kernels - same result with exception of scrypt. Any ideas what I might be missing?


ehhh? i don't know what you did but if you want to compile with working qubitcoin, and quarkcoin try using the one from here
https://github.com/DJstone/sph-sgminer
no mod needed just compile and go

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1493375664
Hero Member
*
Offline Offline

Posts: 1493375664

View Profile Personal Message (Offline)

Ignore
1493375664
Reply with quote  #2

1493375664
Report to moderator
1493375664
Hero Member
*
Offline Offline

Posts: 1493375664

View Profile Personal Message (Offline)

Ignore
1493375664
Reply with quote  #2

1493375664
Report to moderator
The Seeker
Newbie
*
Offline Offline

Activity: 5


View Profile
March 19, 2014, 09:49:36 AM
 #442

Hello, yesterday I migrate from BAMT 1.1 to BAMT 1.6 to try Darkcoin mining. Configure my BAMT like before - i had enough experience with Linux and mining but have trouble start mining Darkcoin. With default cgminer there are no problems at all - it mines like in older version, but when change the bamt.conf to sgminer-sph i get:

Started sgminer 4.1.0-85-gccc7d
Loaded configuration file /etc/bamt/sgminer-sph.conf
Kernel darkcoin is experimental.
Error -11: Building Program (clBuildProgram)
Error compiling program for search.
Frontend phase failed compilation.
Error: Creating kernel search failed!

Failed to init GPU thread 0, disabling device 0
Restarting the GPU from the menu will not fix this.
Try restarting sgminer.

In "sgminer-sph.conf" i change only the pool/worker data. In bamt.conf - stop cgminer with "#cgminer_opts: --api-listen --config /etc/bamt/cgminer.conf", and set: cgminer_opts: --api-listen --config /etc/bamt/sgminer-sph.conf miner-sgminer-sph: 1

I read in here:
"Error -11: Building Program (clBuildProgram) - execute miner from the directory where "kernel" directory is present"
and start mining process from the console with:

export DISPLAY=:0
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
./sgminer --kernel darkcoin -o stratum+tcp://stratum1.suchpool.pw:3335 -u xxxxx.1 -p xxxx

with no options just to check if the mining process will start at any kH/s. The console returns:
Started sgminer 4.1.0-85-gccc7d
Kernel darkcoin is experimental.Killed

It takes about 1 or 2 minutes between start and error (kill) of the mining process.

Where can i find a solution of my problem, thanks in advance.
I mine with one HD6950.
badman74
Hero Member
*****
Offline Offline

Activity: 532


View Profile
March 19, 2014, 11:17:40 AM
 #443

Hello, yesterday I migrate from BAMT 1.1 to BAMT 1.6 to try Darkcoin mining. Configure my BAMT like before - i had enough experience with Linux and mining but have trouble start mining Darkcoin. With default cgminer there are no problems at all - it mines like in older version, but when change the bamt.conf to sgminer-sph i get:

Started sgminer 4.1.0-85-gccc7d
Loaded configuration file /etc/bamt/sgminer-sph.conf
Kernel darkcoin is experimental.
Error -11: Building Program (clBuildProgram)
Error compiling program for search.
Frontend phase failed compilation.
Error: Creating kernel search failed!

Failed to init GPU thread 0, disabling device 0
Restarting the GPU from the menu will not fix this.
Try restarting sgminer.

In "sgminer-sph.conf" i change only the pool/worker data. In bamt.conf - stop cgminer with "#cgminer_opts: --api-listen --config /etc/bamt/cgminer.conf", and set: cgminer_opts: --api-listen --config /etc/bamt/sgminer-sph.conf miner-sgminer-sph: 1

I read in here:
"Error -11: Building Program (clBuildProgram) - execute miner from the directory where "kernel" directory is present"
and start mining process from the console with:

export DISPLAY=:0
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
./sgminer --kernel darkcoin -o stratum+tcp://stratum1.suchpool.pw:3335 -u xxxxx.1 -p xxxx

with no options just to check if the mining process will start at any kH/s. The console returns:
Started sgminer 4.1.0-85-gccc7d
Kernel darkcoin is experimental.Killed

It takes about 1 or 2 minutes between start and error (kill) of the mining process.

Where can i find a solution of my problem, thanks in advance.
I mine with one HD6950.

sounds like the kernel path is messed up or something

Edit: also it defaults to thread-congurency 6016
So maybe try setting it manually to something lower will help

smart15
Full Member
***
Offline Offline

Activity: 170


View Profile
March 19, 2014, 11:20:40 AM
 #444

what is the best rate on darkcoin should I get on 7950? mine is 1.8 Mh/s

7000pool mining pool: http://www.7000pool.com/
MOCKBA
Newbie
*
Offline Offline

Activity: 21


View Profile
March 19, 2014, 08:56:08 PM
 #445

Anybody have luck on Mac?

I compiled on Mac after making quarkhash, xhash and quash "static inline" instead of just inline and it does start but after a while GPU get's sick and I don't see any hashes... Tried all of them kernels - same result with exception of scrypt. Any ideas what I might be missing?


ehhh? i don't know what you did but if you want to compile with working qubitcoin, and quarkcoin try using the one from here
https://github.com/DJstone/sph-sgminer
no mod needed just compile and go
I was using prettyhatemachine branch.

Regardless I am getting the same link error on DJstone and same 0h/s GPU reported as sick after a while...
Code:
Undefined symbols for architecture x86_64:
  "_qhash", referenced from:
      _qubitcoin_test in sgminer-qubitcoin.o
      _qubitcoin_regenhash in sgminer-qubitcoin.o
      _scanhash_qubitcoin in sgminer-qubitcoin.o
  "_quarkhash", referenced from:
      _quarkcoin_test in sgminer-quarkcoin.o
      _quarkcoin_regenhash in sgminer-quarkcoin.o
      _scanhash_quarkcoin in sgminer-quarkcoin.o
  "_xhash", referenced from:
      _darkcoin_test in sgminer-darkcoin.o
      _darkcoin_regenhash in sgminer-darkcoin.o
      _scanhash_darkcoin in sgminer-darkcoin.o
ld: symbol(s) not found for architecture x86_64
badman74
Hero Member
*****
Offline Offline

Activity: 532


View Profile
March 19, 2014, 09:11:25 PM
 #446

Anybody have luck on Mac?

I compiled on Mac after making quarkhash, xhash and quash "static inline" instead of just inline and it does start but after a while GPU get's sick and I don't see any hashes... Tried all of them kernels - same result with exception of scrypt. Any ideas what I might be missing?


ehhh? i don't know what you did but if you want to compile with working qubitcoin, and quarkcoin try using the one from here
https://github.com/DJstone/sph-sgminer
no mod needed just compile and go
I was using prettyhatemachine branch.

Regardless I am getting the same link error on DJstone and same 0h/s GPU reported as sick after a while...
Code:
Undefined symbols for architecture x86_64:
  "_qhash", referenced from:
      _qubitcoin_test in sgminer-qubitcoin.o
      _qubitcoin_regenhash in sgminer-qubitcoin.o
      _scanhash_qubitcoin in sgminer-qubitcoin.o
  "_quarkhash", referenced from:
      _quarkcoin_test in sgminer-quarkcoin.o
      _quarkcoin_regenhash in sgminer-quarkcoin.o
      _scanhash_quarkcoin in sgminer-quarkcoin.o
  "_xhash", referenced from:
      _darkcoin_test in sgminer-darkcoin.o
      _darkcoin_regenhash in sgminer-darkcoin.o
      _scanhash_darkcoin in sgminer-darkcoin.o
ld: symbol(s) not found for architecture x86_64
did you configure with
CFLAGS="-O2 -Wall -march=native" ./configure --enable-opencl

edit: not sure of the steps you need to take... (i am a windows user)

child_harold
Hero Member
*****
Offline Offline

Activity: 812



View Profile
March 19, 2014, 10:39:35 PM
 #447

Anybody have luck on Mac?

I compiled on Mac after making quarkhash, xhash and quash "static inline" instead of just inline and it does start but after a while GPU get's sick and I don't see any hashes... Tried all of them kernels - same result with exception of scrypt. Any ideas what I might be missing?


ehhh? i don't know what you did but if you want to compile with working qubitcoin, and quarkcoin try using the one from here
https://github.com/DJstone/sph-sgminer
no mod needed just compile and go
I was using prettyhatemachine branch.

Regardless I am getting the same link error on DJstone and same 0h/s GPU reported as sick after a while...
Code:
Undefined symbols for architecture x86_64:
  "_qhash", referenced from:
      _qubitcoin_test in sgminer-qubitcoin.o
      _qubitcoin_regenhash in sgminer-qubitcoin.o
      _scanhash_qubitcoin in sgminer-qubitcoin.o
  "_quarkhash", referenced from:
      _quarkcoin_test in sgminer-quarkcoin.o
      _quarkcoin_regenhash in sgminer-quarkcoin.o
      _scanhash_quarkcoin in sgminer-quarkcoin.o
  "_xhash", referenced from:
      _darkcoin_test in sgminer-darkcoin.o
      _darkcoin_regenhash in sgminer-darkcoin.o
      _scanhash_darkcoin in sgminer-darkcoin.o
ld: symbol(s) not found for architecture x86_64
did you configure with
CFLAGS="-O2 -Wall -march=native" ./configure --enable-opencl

edit: not sure of the steps you need to take... (i am a windows user)

some guys working on it here http://www.asteroidapp.com/forums/discussion/402/support-for-sph-sgminer/p1
would love to know results. good luck!

child_harold
Hero Member
*****
Offline Offline

Activity: 812



View Profile
March 19, 2014, 11:58:12 PM
 #448

Anybody have luck on Mac?

I compiled on Mac after making quarkhash, xhash and quash "static inline" instead of just inline and it does start but after a while GPU get's sick and I don't see any hashes... Tried all of them kernels - same result with exception of scrypt. Any ideas what I might be missing?


ehhh? i don't know what you did but if you want to compile with working qubitcoin, and quarkcoin try using the one from here
https://github.com/DJstone/sph-sgminer
no mod needed just compile and go
I was using prettyhatemachine branch.

Regardless I am getting the same link error on DJstone and same 0h/s GPU reported as sick after a while...
Code:
Undefined symbols for architecture x86_64:
  "_qhash", referenced from:
      _qubitcoin_test in sgminer-qubitcoin.o
      _qubitcoin_regenhash in sgminer-qubitcoin.o
      _scanhash_qubitcoin in sgminer-qubitcoin.o
  "_quarkhash", referenced from:
      _quarkcoin_test in sgminer-quarkcoin.o
      _quarkcoin_regenhash in sgminer-quarkcoin.o
      _scanhash_quarkcoin in sgminer-quarkcoin.o
  "_xhash", referenced from:
      _darkcoin_test in sgminer-darkcoin.o
      _darkcoin_regenhash in sgminer-darkcoin.o
      _scanhash_darkcoin in sgminer-darkcoin.o
ld: symbol(s) not found for architecture x86_64
did you configure with
CFLAGS="-O2 -Wall -march=native" ./configure --enable-opencl

edit: not sure of the steps you need to take... (i am a windows user)

some guys working on it here http://www.asteroidapp.com/forums/discussion/402/support-for-sph-sgminer/p1
would love to know results. good luck!

Seems resolved in the thread I posted above:

"Just remove the inline in front of xhash, qhash, and quarkhash. The linker can't find the functions precisely because they're inline in their respective *.c file."

If you get this working PLEASE upload the compiled binary somewhere. Many thanks.

MOCKBA
Newbie
*
Offline Offline

Activity: 21


View Profile
March 20, 2014, 01:08:48 AM
 #449

Anybody have luck on Mac?

I compiled on Mac after making quarkhash, xhash and quash "static inline" instead of just inline and it does start but after a while GPU get's sick and I don't see any hashes... Tried all of them kernels - same result with exception of scrypt. Any ideas what I might be missing?


ehhh? i don't know what you did but if you want to compile with working qubitcoin, and quarkcoin try using the one from here
https://github.com/DJstone/sph-sgminer
no mod needed just compile and go
I was using prettyhatemachine branch.

Regardless I am getting the same link error on DJstone and same 0h/s GPU reported as sick after a while...
Code:
Undefined symbols for architecture x86_64:
  "_qhash", referenced from:
      _qubitcoin_test in sgminer-qubitcoin.o
      _qubitcoin_regenhash in sgminer-qubitcoin.o
      _scanhash_qubitcoin in sgminer-qubitcoin.o
  "_quarkhash", referenced from:
      _quarkcoin_test in sgminer-quarkcoin.o
      _quarkcoin_regenhash in sgminer-quarkcoin.o
      _scanhash_quarkcoin in sgminer-quarkcoin.o
  "_xhash", referenced from:
      _darkcoin_test in sgminer-darkcoin.o
      _darkcoin_regenhash in sgminer-darkcoin.o
      _scanhash_darkcoin in sgminer-darkcoin.o
ld: symbol(s) not found for architecture x86_64
did you configure with
CFLAGS="-O2 -Wall -march=native" ./configure --enable-opencl

edit: not sure of the steps you need to take... (i am a windows user)

some guys working on it here http://www.asteroidapp.com/forums/discussion/402/support-for-sph-sgminer/p1
would love to know results. good luck!

Seems resolved in the thread I posted above:

"Just remove the inline in front of xhash, qhash, and quarkhash. The linker can't find the functions precisely because they're inline in their respective *.c file."

If you get this working PLEASE upload the compiled binary somewhere. Many thanks.

I think proper solution considering this is to add -std=gnu89 to CFLAGS.

CFLAGS="-O3 -std=gnu89 -march=native" ./configure

It would compile just fine, but still doesn't work for me (0 khs) on quark, dark and qubit... It does work for scrypt and grostl and needless to say that everything works on the same Mac in Windows...

It did for qubit for me but hash rates are pathetic 77kH/s vs. 500+ I am getting on the same Mac in Windows. Still no luck with quark or dark.
lordbah
Newbie
*
Offline Offline

Activity: 12


View Profile
March 20, 2014, 01:33:47 AM
 #450

Trying to build on Ubuntu 13.10 64-bit. It seemed like it was going to succeed but did not produce a file 'sgminer'.

Code:
...
  CC       sgminer-scrypt.o
  CC       sgminer-darkcoin.o
  CC       sgminer-qubitcoin.o
  CC       sgminer-quarkcoin.o
  CC       sgminer-myriadcoin-groestl.o
  CC       sgminer-fuguecoin.o
  CCLD     sgminer
$

'make -n' output seems okay. At least it has a '-o sgminer' like I expected.

Code:
rm -f sgminer
echo "  CCLD    " sgminer;/bin/bash ./libtool --silent --tag=CC   --mode=link gcc  -g -O2 -lpthread  -o sgminer sgminer-sgminer.o sgminer-api.o sgminer-util.o sgminer-sha2.o sgminer-logging.o sgminer-driver-opencl.o sgminer-ocl.o sgminer-findnonce.o sgminer-adl.o sgminer-scrypt.o sgminer-darkcoin.o sgminer-qubitcoin.o sgminer-quarkcoin.o sgminer-myriadcoin-groestl.o sgminer-fuguecoin.o  -lcurl   compat/jansson-2.5/src/.libs/libjansson.a -lpthread -lOpenCL -lrt -lm lib/libgnu.a ccan/libccan.a sph/libsph.a -lpthread

I got rid of the '--silent' but still no executable produced.

Any idea what's wrong, or where it might be hiding a useful error message?

--
Well I copied the gcc command out and ran it and it worked. Don't know what's up with libtool.

I ran it and got the error about 'blake.cl' file not found. So 'cd kernel' and run '../sgminer'. No complaint about blake.cl. But ...

Code:
[21:47:34] Network diff set to 457                   
[21:47:34] Stratum from Pool 0 requested work restart                   
[21:47:34] Error -6: Enqueueing kernel onto command queue. (clEnqueueNDRangeKernel)                   
[21:47:34] GPU 1 failure, disabling!                   
[21:47:36] Thread 4 being disabled                   
[21:47:36] Thread 5 being disabled                   
[21:47:37] Thread 6 being disabled
     

It claims to be doing 319Kh/s (darkcoin), but hasn't submitted anything yet (no accepts or rejects) so I'm a bit dubious.

(5s):318.7K (avg):319.6Kh/s | A:0  R:0  HW:0  WU:0.000/m

N[e]wBie
Full Member
***
Offline Offline

Activity: 164


View Profile
March 20, 2014, 01:56:19 AM
 #451

is there any way to use this miner for skein? t he kernel is included but it doesn't work

BTC: 1ESZr887vTZqYtDuwwspn1jBaoRU9jMcv1
badman74
Hero Member
*****
Offline Offline

Activity: 532


View Profile
March 20, 2014, 01:56:47 AM
 #452

Anybody have luck on Mac?

I compiled on Mac after making quarkhash, xhash and quash "static inline" instead of just inline and it does start but after a while GPU get's sick and I don't see any hashes... Tried all of them kernels - same result with exception of scrypt. Any ideas what I might be missing?


ehhh? i don't know what you did but if you want to compile with working qubitcoin, and quarkcoin try using the one from here
https://github.com/DJstone/sph-sgminer
no mod needed just compile and go
I was using prettyhatemachine branch.

Regardless I am getting the same link error on DJstone and same 0h/s GPU reported as sick after a while...
Code:
Undefined symbols for architecture x86_64:
  "_qhash", referenced from:
      _qubitcoin_test in sgminer-qubitcoin.o
      _qubitcoin_regenhash in sgminer-qubitcoin.o
      _scanhash_qubitcoin in sgminer-qubitcoin.o
  "_quarkhash", referenced from:
      _quarkcoin_test in sgminer-quarkcoin.o
      _quarkcoin_regenhash in sgminer-quarkcoin.o
      _scanhash_quarkcoin in sgminer-quarkcoin.o
  "_xhash", referenced from:
      _darkcoin_test in sgminer-darkcoin.o
      _darkcoin_regenhash in sgminer-darkcoin.o
      _scanhash_darkcoin in sgminer-darkcoin.o
ld: symbol(s) not found for architecture x86_64
did you configure with
CFLAGS="-O2 -Wall -march=native" ./configure --enable-opencl

edit: not sure of the steps you need to take... (i am a windows user)

some guys working on it here http://www.asteroidapp.com/forums/discussion/402/support-for-sph-sgminer/p1
would love to know results. good luck!

Seems resolved in the thread I posted above:

"Just remove the inline in front of xhash, qhash, and quarkhash. The linker can't find the functions precisely because they're inline in their respective *.c file."

If you get this working PLEASE upload the compiled binary somewhere. Many thanks.

I think proper solution considering this is to add -std=gnu89 to CFLAGS.

CFLAGS="-O3 -std=gnu89 -march=native" ./configure

It would compile just fine, but still doesn't work for me (0 khs) on quark, dark and qubit... It does work for scrypt and grostl and needless to say that everything works on the same Mac in Windows...

It did for qubit for me but hash rates are pathetic 77kH/s vs. 500+ I am getting on the same Mac in Windows. Still no luck with quark or dark.
try building from here
https://github.com/badman74/sph-sgminer

badman74
Hero Member
*****
Offline Offline

Activity: 532


View Profile
March 20, 2014, 02:05:53 AM
 #453

is there any way to use this miner for skein? t he kernel is included but it doesn't work
skein is not supported at the moment
i know very little about coding so i haven't been able to add a new kernel myself and phm is doing this as a hobby so it may not get added as there is already a cgminer version i believe

MOCKBA
Newbie
*
Offline Offline

Activity: 21


View Profile
March 20, 2014, 03:11:17 AM
 #454

Anybody have luck on Mac?

I compiled on Mac after making quarkhash, xhash and quash "static inline" instead of just inline and it does start but after a while GPU get's sick and I don't see any hashes... Tried all of them kernels - same result with exception of scrypt. Any ideas what I might be missing?


ehhh? i don't know what you did but if you want to compile with working qubitcoin, and quarkcoin try using the one from here
https://github.com/DJstone/sph-sgminer
no mod needed just compile and go
I was using prettyhatemachine branch.

Regardless I am getting the same link error on DJstone and same 0h/s GPU reported as sick after a while...
Code:
Undefined symbols for architecture x86_64:
  "_qhash", referenced from:
      _qubitcoin_test in sgminer-qubitcoin.o
      _qubitcoin_regenhash in sgminer-qubitcoin.o
      _scanhash_qubitcoin in sgminer-qubitcoin.o
  "_quarkhash", referenced from:
      _quarkcoin_test in sgminer-quarkcoin.o
      _quarkcoin_regenhash in sgminer-quarkcoin.o
      _scanhash_quarkcoin in sgminer-quarkcoin.o
  "_xhash", referenced from:
      _darkcoin_test in sgminer-darkcoin.o
      _darkcoin_regenhash in sgminer-darkcoin.o
      _scanhash_darkcoin in sgminer-darkcoin.o
ld: symbol(s) not found for architecture x86_64
did you configure with
CFLAGS="-O2 -Wall -march=native" ./configure --enable-opencl

edit: not sure of the steps you need to take... (i am a windows user)

some guys working on it here http://www.asteroidapp.com/forums/discussion/402/support-for-sph-sgminer/p1
would love to know results. good luck!

Seems resolved in the thread I posted above:

"Just remove the inline in front of xhash, qhash, and quarkhash. The linker can't find the functions precisely because they're inline in their respective *.c file."

If you get this working PLEASE upload the compiled binary somewhere. Many thanks.

I think proper solution considering this is to add -std=gnu89 to CFLAGS.

CFLAGS="-O3 -std=gnu89 -march=native" ./configure

It would compile just fine, but still doesn't work for me (0 khs) on quark, dark and qubit... It does work for scrypt and grostl and needless to say that everything works on the same Mac in Windows...

It did for qubit for me but hash rates are pathetic 77kH/s vs. 500+ I am getting on the same Mac in Windows. Still no luck with quark or dark.
try building from here
https://github.com/badman74/sph-sgminer
This branch
1. didn't need  -std=gnu89,
2. gave me about 88khs on qubit (vs. 77 before and ~550 on Windows),
3. did "Error -11" on quark and same (0khs->SICK) on dark...

Something about .cl that OSX doesn't like... Just FYI I am playing with this on 6770. I am on Maverics 10.9.2 and from what I know there were updates to ATI drivers with 10.9.2, yet it didn't impact other .cl...
MOCKBA
Newbie
*
Offline Offline

Activity: 21


View Profile
March 20, 2014, 03:24:22 AM
 #455

is there any way to use this miner for skein? t he kernel is included but it doesn't work
skein is not supported at the moment
i know very little about coding so i haven't been able to add a new kernel myself and phm is doing this as a hobby so it may not get added as there is already a cgminer version i believe
I looked at cgminer_heavy last night regarding may be adding skein to sgminer and it doesn't look that complicated borrowing a kernel that is  Wink However I didn't venture into doing it since mining MYR via skein is worse then doing it even via scrypt from what I could tell.
badman74
Hero Member
*****
Offline Offline

Activity: 532


View Profile
March 20, 2014, 03:28:44 AM
 #456

Anybody have luck on Mac?

I compiled on Mac after making quarkhash, xhash and quash "static inline" instead of just inline and it does start but after a while GPU get's sick and I don't see any hashes... Tried all of them kernels - same result with exception of scrypt. Any ideas what I might be missing?


ehhh? i don't know what you did but if you want to compile with working qubitcoin, and quarkcoin try using the one from here
https://github.com/DJstone/sph-sgminer
no mod needed just compile and go
I was using prettyhatemachine branch.

Regardless I am getting the same link error on DJstone and same 0h/s GPU reported as sick after a while...
Code:
Undefined symbols for architecture x86_64:
  "_qhash", referenced from:
      _qubitcoin_test in sgminer-qubitcoin.o
      _qubitcoin_regenhash in sgminer-qubitcoin.o
      _scanhash_qubitcoin in sgminer-qubitcoin.o
  "_quarkhash", referenced from:
      _quarkcoin_test in sgminer-quarkcoin.o
      _quarkcoin_regenhash in sgminer-quarkcoin.o
      _scanhash_quarkcoin in sgminer-quarkcoin.o
  "_xhash", referenced from:
      _darkcoin_test in sgminer-darkcoin.o
      _darkcoin_regenhash in sgminer-darkcoin.o
      _scanhash_darkcoin in sgminer-darkcoin.o
ld: symbol(s) not found for architecture x86_64
did you configure with
CFLAGS="-O2 -Wall -march=native" ./configure --enable-opencl

edit: not sure of the steps you need to take... (i am a windows user)

some guys working on it here http://www.asteroidapp.com/forums/discussion/402/support-for-sph-sgminer/p1
would love to know results. good luck!

Seems resolved in the thread I posted above:

"Just remove the inline in front of xhash, qhash, and quarkhash. The linker can't find the functions precisely because they're inline in their respective *.c file."

If you get this working PLEASE upload the compiled binary somewhere. Many thanks.

I think proper solution considering this is to add -std=gnu89 to CFLAGS.

CFLAGS="-O3 -std=gnu89 -march=native" ./configure

It would compile just fine, but still doesn't work for me (0 khs) on quark, dark and qubit... It does work for scrypt and grostl and needless to say that everything works on the same Mac in Windows...

It did for qubit for me but hash rates are pathetic 77kH/s vs. 500+ I am getting on the same Mac in Windows. Still no luck with quark or dark.
try building from here
https://github.com/badman74/sph-sgminer
This branch
1. didn't need  -std=gnu89,
2. gave me about 88khs on qubit (vs. 77 before and ~550 on Windows),
3. did "Error -11" on quark and same (0khs->SICK) on dark...

Something about .cl that OSX doesn't like... Just FYI I am playing with this on 6770. I am on Maverics 10.9.2 and from what I know there were updates to ATI drivers with 10.9.2, yet it didn't impact other .cl...
hmm that is very odd
it seems to work fine for me on all algo, but then again i am on windows
don't know what else to try at the moment

badman74
Hero Member
*****
Offline Offline

Activity: 532


View Profile
March 20, 2014, 03:31:59 AM
 #457

is there any way to use this miner for skein? t he kernel is included but it doesn't work
skein is not supported at the moment
i know very little about coding so i haven't been able to add a new kernel myself and phm is doing this as a hobby so it may not get added as there is already a cgminer version i believe
I looked at cgminer_heavy last night regarding may be adding skein to sgminer and it doesn't look that complicated borrowing a kernel that is  Wink However I didn't venture into doing it since mining MYR via skein is worse then doing it even via scrypt from what I could tell.
i think the whole heavy.cl would have to be rewritten at the very least, in addition to the other changes to the miner for voting
i learned what little i know about coding in '92 on a TSR-80......

iopq
Hero Member
*****
Offline Offline

Activity: 644


View Profile
March 20, 2014, 03:38:32 AM
 #458

is there any way to use this miner for skein? t he kernel is included but it doesn't work
skein is not supported at the moment
i know very little about coding so i haven't been able to add a new kernel myself and phm is doing this as a hobby so it may not get added as there is already a cgminer version i believe
I looked at cgminer_heavy last night regarding may be adding skein to sgminer and it doesn't look that complicated borrowing a kernel that is  Wink However I didn't venture into doing it since mining MYR via skein is worse then doing it even via scrypt from what I could tell.
you're wrong, when the difficuly of skein is under 2K and groestl is at like 170+ you should be mining skein, you'll get more coins that way
right now I'm mining it with qubit, though

edit: mining skein now because I'd be getting 2300 coins a day which is $4 a day

Syth
Member
**
Offline Offline

Activity: 119


View Profile
March 20, 2014, 08:26:05 AM
 #459

Are you planning on adding a bin for the latest client?
The Seeker
Newbie
*
Offline Offline

Activity: 5


View Profile
March 20, 2014, 10:33:20 AM
 #460

Hello, yesterday I migrate from BAMT 1.1 to BAMT 1.6 to try Darkcoin mining. Configure my BAMT like before - i had enough experience with Linux and mining but have trouble start mining Darkcoin. With default cgminer there are no problems at all - it mines like in older version, but when change the bamt.conf to sgminer-sph i get:

Started sgminer 4.1.0-85-gccc7d
Loaded configuration file /etc/bamt/sgminer-sph.conf
Kernel darkcoin is experimental.
Error -11: Building Program (clBuildProgram)
Error compiling program for search.
Frontend phase failed compilation.
Error: Creating kernel search failed!

Failed to init GPU thread 0, disabling device 0
Restarting the GPU from the menu will not fix this.
Try restarting sgminer.

In "sgminer-sph.conf" i change only the pool/worker data. In bamt.conf - stop cgminer with "#cgminer_opts: --api-listen --config /etc/bamt/cgminer.conf", and set: cgminer_opts: --api-listen --config /etc/bamt/sgminer-sph.conf miner-sgminer-sph: 1

I read in here:
"Error -11: Building Program (clBuildProgram) - execute miner from the directory where "kernel" directory is present"
and start mining process from the console with:

export DISPLAY=:0
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
./sgminer --kernel darkcoin -o stratum+tcp://stratum1.suchpool.pw:3335 -u xxxxx.1 -p xxxx

with no options just to check if the mining process will start at any kH/s. The console returns:
Started sgminer 4.1.0-85-gccc7d
Kernel darkcoin is experimental.Killed

It takes about 1 or 2 minutes between start and error (kill) of the mining process.

Where can i find a solution of my problem, thanks in advance.
I mine with one HD6950.

sounds like the kernel path is messed up or something

Edit: also it defaults to thread-congurency 6016
So maybe try setting it manually to something lower will help



Last night i recompile the sgminer-sph:
------------------------------------------------------------------------
sgminer 4.1.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...............: -g -O2
  LDFLAGS..............:  -lpthread
  LDADD................: -ldl -lcurl   compat/jansson-2.5/src/.libs/libjansson.a -lpthread -L/opt/AMDAPP/lib/x86 -lOpenCL    -lm -lrt

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /usr/local

and no change with my problem (maybe if i change some flags in ./configure script?) - is there any other software or version for mining darkcoins in Linux?
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [23] 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!