Hi all. I've recently purchased a pretty decent computer with an NVIDIA GTX 780 Ti graphics card...and hoping to mine the hell out of darkcoin! I've already installed Ubuntu 12.04 LTS and have been all over the 'net trying to wrap my head around the procedure for installing ccminer, a.k.a cuda miner.
It seems there are basically two large steps: the first is to install cuda-tools and the second is to install the miner itself.
For the first step, installing cuda-toos, I have seen a bunch of different tutorials of varying complexity...but I have also seen that I can simply install them by using the gui package manager, and installing the package "nvidia-cuda-toolkit." Is this correct? Is that really all I need to do, or am I mislead on this?
As for installing ccminer/cuda-miner, I am having much more difficulty finding a straight-forward tutorial. Can anyone please help with this?
By the way, once I have done this myself I will probably write up my own complete, step-by-step tutorial, to make the process as clear as possible for others, so by helping me hopefully you will be in turn helping others.
As always, thanks in advance!
sudo apt-get update
sudo apt-get install freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libgl1-mesa-glx libglu1-mesa libglu1-mesa-dev gcc make -y
sudo apt-get install libcurl4-openssl-dev autoconf git screen libncurses5-dev -y
sudo apt-get install linux-headers-$(uname -r) -y
wget http://developer.download.nvidia.com/compute/cuda/5_5/rel/installers/cuda_5.5.22_linux_64.run
sudo sh cuda_5.5.22_linux_64.run -silent -driver -toolkit
[...]
wget http://developer.download.nvidia.com/compute/cuda/6_0/rel/installers/cuda_6.0.37_linux_64.run
sudo sh cuda_6.0.37_linux_64.run -silent -driver -toolkit
./autogen.sh
./configure
PATH=/usr/local/cuda-5.5/bin:$PATH make
LD_LIBRARY_PATH=/usr/local/cuda-5.5/lib64 ./ccminer {your_options}
I am always getting the source from original source on github --> https://github.com/cbuchner1/ccminerMuch appreciated!
One more question: I've seen the miner in various places online; where should I download it from, and where should I download it to on my system?
I am always getting the source from original source on github --> https://github.com/cbuchner1/ccminer
Additionally there is a fork for older Nvidia cards, which only support compute 2.x
--> https://github.com/KBomba/ccminer-KBomba
Actually i always installed this always on headless system without x serverI suspected that if I removed the "-silent" from the line...
sudo sh cuda_5.5.22_linux_64.run -silent -driver -toolkit
...I might get some clues...and I did. I needed to shut down my X server first...will try again later or probably tomorrow.
Check out CCMiner 1.2, i moved your post to the apropriate thread.I've tested sgminer,phm-sgminer,cudaminer nothing to work just errors.
So far i found phm-sgminer 4.1.0 starting but it gives me errors too.
So can anyone make me a little guide on how to setup my GT430 mining darkcoins?
Ok. it starts but it shows me this for about 10 minutes...nothing else happening.Check out CCMiner 1.2, i moved your post to the apropriate thread.
[2014-07-25 13:16:04] 1 miner threads started, using 'x11' algorithm.
[2014-07-25 13:16:04] Starting Stratum on .. ( the pool link..forum denied link )
[2014-07-25 13:16:05] GPU #0: GeForce GT 430, 9100 khash/s
[2014-07-25 13:16:06] GPU #0: GeForce GT 430, 613392 khash/s
[2014-07-25 13:32:34]stratum_recv_line failed
[2014-07-25 13:32:34]Stratum connection interrupted
I've installed cuda tools and ccminer, but when I try to run ccminer I just get a message telling me what version it is, who wrote it, etc....but it doesnt seem to be mining at all.
I am really in need of some information about the command line options I should set.
C:\darkcoin\testnet\ccminer-v1.2\x86>ccminer.exe --help
*** ccMiner for nVidia GPUs by Christian Buchner and Christian H. ***
This is version 1.2 (beta)
based on pooler-cpuminer 2.3.2 (c) 2010 Jeff Garzik, 2012 pooler
based on pooler-cpuminer extension for HVC from
https://github.com/heavycoin/cpuminer-heavycoin
and
http://hvc.1gh.com/
Cuda additions Copyright 2014 Christian Buchner, Christian H.
LTC donation address: LKS1WDKGED647msBQfLBHV3Ls8sveGncnm
BTC donation address: 16hJF5mceSojnTD3ZTUDqdRhDyPJzoRakM
YAC donation address: Y87sptDEcpLkLeAuex6qZioDbvy1qXZEj4
Usage: minerd [OPTIONS]
Options:
-a, --algo=ALGO specify the algorithm to use
fugue256 Fuguecoin hash
heavy Heavycoin hash
mjollnir Mjollnircoin hash
groestl Groestlcoin hash
myr-gr Myriad-Groestl hash
jackpot Jackpot hash
quark Quark hash
anime Animecoin hash
nist5 NIST5 (TalkCoin) hash
x11 X11 (DarkCoin) hash
x13 X13 (MaruCoin) hash
dmd-gr Diamond-Groestl hash
-d, --devices takes a comma separated list of CUDA devices to use.
Device IDs start counting from 0! Alternatively takes
string names of your cards like gtx780ti or gt640#2
(matching 2nd gt640 in the PC)
-f, --diff Divide difficulty by this factor (std is 1)
-v, --vote=VOTE block reward vote (for HeavyCoin)
-m, --trust-pool trust the max block reward vote (maxvote) sent by the pool
-o, --url=URL URL of mining server
-O, --userpass=U:P username:password pair for mining server
-u, --user=USERNAME username for mining server
-p, --pass=PASSWORD password for mining server
--cert=FILE certificate for mining server using SSL
-x, --proxy=[PROTOCOL://]HOST[:PORT] connect through a proxy
-t, --threads=N number of miner threads (default: number of nVidia GPUs)
-r, --retries=N number of times to retry if a network call fails
(default: retry indefinitely)
-R, --retry-pause=N time to pause between retries, in seconds (default: 30)
-T, --timeout=N network timeout, in seconds (default: 270)
-s, --scantime=N upper bound on time spent scanning current work when
long polling is unavailable, in seconds (default: 5)
--no-longpoll disable X-Long-Polling support
--no-stratum disable X-Stratum support
-q, --quiet disable per-thread hashmeter output
-D, --debug enable debug output
-P, --protocol-dump verbose dump of protocol-level activities
--benchmark run in offline benchmark mode
-c, --config=FILE load a JSON-format configuration file
-V, --version display version information and exit
-h, --help display this help text and exit
ccminer.exe --algo=x11 -o localhost:19998 -u darkcoinrpc -p mySUPERsecretPASSWORD
Use --help
Code:C:\darkcoin\testnet\ccminer-v1.2\x86>ccminer.exe --help *** ccMiner for nVidia GPUs by Christian Buchner and Christian H. *** This is version 1.2 (beta) based on pooler-cpuminer 2.3.2 (c) 2010 Jeff Garzik, 2012 pooler based on pooler-cpuminer extension for HVC from https://github.com/heavycoin/cpuminer-heavycoin and http://hvc.1gh.com/ Cuda additions Copyright 2014 Christian Buchner, Christian H. LTC donation address: LKS1WDKGED647msBQfLBHV3Ls8sveGncnm BTC donation address: 16hJF5mceSojnTD3ZTUDqdRhDyPJzoRakM YAC donation address: Y87sptDEcpLkLeAuex6qZioDbvy1qXZEj4 Usage: minerd [OPTIONS] Options: -a, --algo=ALGO specify the algorithm to use fugue256 Fuguecoin hash heavy Heavycoin hash mjollnir Mjollnircoin hash groestl Groestlcoin hash myr-gr Myriad-Groestl hash jackpot Jackpot hash quark Quark hash anime Animecoin hash nist5 NIST5 (TalkCoin) hash x11 X11 (DarkCoin) hash x13 X13 (MaruCoin) hash dmd-gr Diamond-Groestl hash -d, --devices takes a comma separated list of CUDA devices to use. Device IDs start counting from 0! Alternatively takes string names of your cards like gtx780ti or gt640#2 (matching 2nd gt640 in the PC) -f, --diff Divide difficulty by this factor (std is 1) -v, --vote=VOTE block reward vote (for HeavyCoin) -m, --trust-pool trust the max block reward vote (maxvote) sent by the pool -o, --url=URL URL of mining server -O, --userpass=U:P username:password pair for mining server -u, --user=USERNAME username for mining server -p, --pass=PASSWORD password for mining server --cert=FILE certificate for mining server using SSL -x, --proxy=[PROTOCOL://]HOST[:PORT] connect through a proxy -t, --threads=N number of miner threads (default: number of nVidia GPUs) -r, --retries=N number of times to retry if a network call fails (default: retry indefinitely) -R, --retry-pause=N time to pause between retries, in seconds (default: 30) -T, --timeout=N network timeout, in seconds (default: 270) -s, --scantime=N upper bound on time spent scanning current work when long polling is unavailable, in seconds (default: 5) --no-longpoll disable X-Long-Polling support --no-stratum disable X-Stratum support -q, --quiet disable per-thread hashmeter output -D, --debug enable debug output -P, --protocol-dump verbose dump of protocol-level activities --benchmark run in offline benchmark mode -c, --config=FILE load a JSON-format configuration file -V, --version display version information and exit -h, --help display this help text and exit
This commandline works very well for me
Code:ccminer.exe --algo=x11 -o localhost:19998 -u darkcoinrpc -p mySUPERsecretPASSWORD
I can see absolutely no reason in the sourcecode why Ubuntu version should differ in options from Windows version"--help" was the first thing I tried....and I am still struggling with this. It seems that the command line you quoted is for windows, but I am running Ubuntu.
Here's the command line I am currinetly working with:
LD_LIBRARY_PATH=/usr/local/cuda-6.0/lib64 ./ccminer -a X11 -d gtx780ti -f 1 -o stratum+tcp://162.209.99.35:7903 -u XhwsyqCT5pXmfbMCvjkVefcqTAzsUd1y2z -P mypassword -t 1 -D
Of course, I have been trying all sorts of variations as well. I know I am very close...and also a bit frustrated!
I can see absolutely no reason in the sourcecode why Ubuntu version should differ in options from Windows version
https://github.com/cbuchner1/ccminer/blob/master/cpu-miner.c#L210-L264
For me the Ubuntu version works with the same options as i wrote above - maybe cuda 6 doesnt work and you should try cuda 5.5 as this is the officially supported cuda version...