Pages:
Author

Topic: RPC Miners (CPU/4way/CUDA/OpenCL) (Read 548494 times)

legendary
Activity: 1316
Merit: 1003
September 26, 2013, 01:13:38 AM
Avira started detecting the rcpminer-cpu.exe as a Security or Private Risk (SPR/BitCoin.djh.1). Also if you search the file's hash on google you'll find that it's known as winvnc86.exe and wininiit.exe. I suppose someone used it in a botnet or other trojan?
Same for ESET NOD32.
hero member
Activity: 640
Merit: 500
Vanity of vanities; all is vanity...
September 22, 2013, 12:16:52 PM
Avira started detecting the rcpminer-cpu.exe as a Security or Private Risk (SPR/BitCoin.djh.1). Also if you search the file's hash on google you'll find that it's known as winvnc86.exe and wininiit.exe. I suppose someone used it in a botnet or other trojan?
sr. member
Activity: 252
Merit: 250
May 27, 2013, 10:38:23 PM
for anyone wondering if this app will give you a faster hash rate than newer CUDA miners the answer is no

after some tweaking for best performance i was able to get the same hash rate (maybe even 1% less) as i get by default with ufasoft Coins CUDA implementation and there i get a much better readout and stratum support into the bargain.

560ti(no OC) ~83 MH/s with -aggression=9 -gpugrid=128 -gputhreads=384
420
hero member
Activity: 756
Merit: 500
May 03, 2013, 08:07:52 PM
with a cuda mod miner I get 185Khash with litecoin on GTX 680
member
Activity: 104
Merit: 10
April 25, 2013, 11:07:50 PM
I tried to download the Windows Binaries and got a warning from ESET NOD32 that it was a virus they coined BitcoinMiner.M
newbie
Activity: 43
Merit: 0
April 23, 2013, 11:34:24 PM
windows
legendary
Activity: 1078
Merit: 1001
April 21, 2013, 09:23:12 AM
is anyone able to compile the cudafiles with cuda 5.0 for windows 7 x64?
sr. member
Activity: 407
Merit: 250
April 21, 2013, 04:15:59 AM
Hi
I trying to use the rpcminer.cuda.exe with guiminer (geforce gtx660)

Quote
Client will start 1 miner threads
Work will be refreshed every 4000 ms
1 CUDA GPU devices found
Setting CUDA device to first device found
Loading module bitcoinminercuda_11.cubin
Unable to load CUDA module

I get the above error but few pages back I found this answer

Quote
You need to compile the .cu file targeting the 1.1, 1.2, and 2.0 CUDA architecture, and give the resulting cubin the appropriate name, and place it in the working directory before you start the miner.

Please can some one teachme how to doing this? I am absolutely ignorant about and I have no Idea what is this and how to make it work.

Thanks a lot in advance
sr. member
Activity: 406
Merit: 250
April 15, 2013, 01:22:14 PM
Noob question? How do I set this up, the readme.txt does not have any instructions, I have a NVidia GPU. So far I have copied the rar files into a folder in the program files. When I start up the rcpminer-cuda.exe I get this message...


If I remember correctly I would need to join a pool or something?
sr. member
Activity: 247
Merit: 250
April 14, 2013, 10:42:45 PM
I'm attempting to use NVCC to get rid of the Unable to Load CUDA module error. I'm getting this after I run the command to compile.

LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol _main reference
d in function ___tmainCRTStartup
a.exe : fatal error LNK1120: 1 unresolved externals


Anyone able to help?Smiley

newbie
Activity: 22
Merit: 0
April 11, 2013, 04:59:29 AM
I have dual gtx460's watercooled & oclocked to 851mhz and they hash at about 145 Mhash/sec (70Mhash/sec each)
This is the norm for nvidia.
 

I use two rpcminer-cuda.exe instances like so:
-gpu=0 -gpugrid=320 -gputhreads=320 -aggression=7 -workrefreshms=1000
-gpu=1 -gpugrid=320 -gputhreads=320 -aggression=7 -workrefreshms=1000

Guiminer Messages about "lost connection" are normal, its from the pool servers reply time.  

Every server has different reply times, if your miner tries to query the server too soon, guiminer will say you have connection problems.
You need to find the refresh rate your pool allows and change -workrefreshms=XXXX to the servers limit.
Default for  -workrefreshms=4000


Most virus scanners and firewall programs hate "coin" miners and call them viruses, so make sure your virus scanner and firewall allow rpcminer-cuda.exe, and guiminer.

I use p2pool as my pool server.
https://bitcointalksearch.org/topic/1500-th-p2pool-decentralized-dos-resistant-hop-proof-pool-18313

DO NOT USE rpcminer-mod-cuda.exe
This MOD also uses up all of 1 cpu, so i think its using the cpu to do hash also, perhaps tricking users into thinking its better than original.  It uses all cpu, and no hashes are accepted in GUIMINER, even tho it says its hashing, and p2pool says almost all are DOA...
DO NOT USE THIS MOD-->hxxps://github.com/cdmackie/rpcminer-mod/tree/master/bin
 USE ORIGINAL RPCMINER

Original RPCMINER: https://bitcointalksearch.org/topic/rpc-miners-cpu4waycudaopencl-2444

If your RPCMINER program uses 100% of any cpu, and GUIminer shows 0(0) under "Accepted"
 (if you are only doing gpu mining) then you have the modified broken rpcminer-cuda.
legendary
Activity: 1386
Merit: 1097
March 03, 2013, 01:34:47 PM
Many people reported problems while using RPCminer with Stratum proxy. I just released Stratum proxy 1.5.1 with workaround especially for RPCminer. If you have RPCminer and want to mine over Stratum, please use proxy with --old-target parameter and let me know if it fixed your issues!
legendary
Activity: 1386
Merit: 1097
February 16, 2013, 05:54:55 AM
Is this miner still in development? If so, there's one bug report: https://bitcointalksearch.org/topic/rpc-miners-and-stratum-support-144016
420
hero member
Activity: 756
Merit: 500
January 30, 2013, 10:59:47 PM
is there potential to damage a card?
newbie
Activity: 3
Merit: 0
January 23, 2013, 10:12:10 AM
I might be interested out of curiosity but I no longer have a working Nvidia card. I fried mine while playing Amnesia.

HAHA Well, I hope we don't do the same thing with this one. Let me know if you come up with some ideas. I am willing to try...
sr. member
Activity: 336
Merit: 250
January 22, 2013, 03:04:10 PM
Hi,

I try to work with remote miner server and remote miner client but with no success. Maybe one can help?

My PC with Internetconnection (IP=192.168.0.113) starts with:
rpcminer-cuda.exe -url=http://port80.btcguild.com:80 -user=USER -password=PASSWORD -threads=1 -aggression=8 -remoteserver -remotebindaddr=192.168.0.113 -remotepassword=banana -distributiontype=contributed

A second PC in my network (192.168.0.110) starts with:
rpcminer-opencl.exe -server=192.168.0.113 -password=banana -aggression=6

But the Client says always "Could nit retreive work from RPC Server. Curl return Value 7"

Maybe someone knews what I'm doing wrong?

Thangs, Bernd
hero member
Activity: 700
Merit: 500
January 22, 2013, 08:39:39 AM
I might be interested out of curiosity but I no longer have a working Nvidia card. I fried mine while playing Amnesia.
newbie
Activity: 3
Merit: 0
January 22, 2013, 06:41:12 AM
Hello everyone. I would like to know if there is still someone interested in trying to compile this in Linux.

I'm having trouble to compile in Ubuntu 10.04. I am preparing a little script in Bash based on previous posts so that others benefit from it as well, but I can't get pass the issue with nvcc (I'm using gcc and g++ version 4.4). I also attach the characteristics of my video card. Let me know if you need more information:

The error is this:
Code:
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status

The script is this
Code:
#!/bin/bash

# Script to modify the source to build rpcminer with CUDA support

echo "Make sure to have installed the CUDA drivers and toolkit";
echo "You can go to https://developer.nvidia.com/cuda-downloads";
echo "and https://help.ubuntu.com/community/Cuda";
sleep 3;

# 0.  Prepare the environment
Unpack the zip file with the source and go into the folder
unzip -q -d rpcminer `ls bitcoin-remote-rpc-*-src.zip` && cd rpcminer

# 1.  Open up the CMakeLists.txt.  There's a group of seven options
# (lines 5-11 in my version of the file for me).  I set "Enable CUDA
# miner" and "Build RPC miner" to ON and everythign else to OFF.
sed -i 's-\(OPTION(BITCOIN_\(ENABLE\|BUILD\)_\(OPENCL\|REMOTE\|GUI\|DAEMON\).*\)ON)-\1OFF)-g;' CMakeLists.txt;

# 2. Ran cmake → go to step 4

# 3.  Cleaned up some compile errors:
# 3A.  Added "#include "
# and "using namespace boost;" to serialize.h after the rest of the
# #includes
# 3A-a. Find last line with #include (after the boost library;
# there is another include near line 1112)
last_line_include_boost=`sed -n '/\#include.*boost/=' ./src/serialize.h | tail -n 1`;
# 3A-b. Add both "#include " and "using namespace boost;"
sed -i $last_line_include_boost's-^\(.*\)$-\1\n\#include \nusing namespace boost\;-g' ./src/serialize.h;
# 3C.  Modified bitcoinminercuda.cu to "#define _BITCOIN_MINER_CUDA_"
# right above the #ifdef that checks for it.
# 3C-a. For every file named "bitcoinminercuda.cu", check if it does
# not have "#define _BITCOIN_MINER_CUDA_". If that is the case, find
# the line with "#ifdef _BITCOIN_MINER_CUDA_", and put
# "#define# _BITCOIN_MINER_CUDA_" before it
for i in `find ./ -iname 'bitcoinminercuda.cu'`; do
   if [[ -z `grep '#define _BITCOIN_MINER_CUDA_' "$i"` ]]; then
      sed -i '/\#ifdef _BITCOIN_MINER_CUDA_/{x;s-.*-\#define _BITCOIN_MINER_CUDA_-;p;x}' "$i";
   fi;
done;

#4.  Ran make → Ran cmake and make
cmake ./ && make

#5.  Build the appropriate ".cubin" file
fad
#5A. Ask the user to input the correct version of the compute
#capabilities for their GPU
# http://wiki.blender.org/index.php/Dev:2.6/Source/Render/Cycles/Building
# http://ondoc.logand.com/d/365/html
# https://en.wikipedia.org/wiki/CUDA
# http://docs.nvidia.com/cuda/cuda-c-programming-guide/
#5A-a. Print message with the link to find the right information
echo "Visit the website https://developer.nvidia.com/cuda-gpus";
echo "and look for the Compute Capability corresponding to the model";
echo "of your GPU. Then input the number and press enter";
#5A-b. Read value from standard input
read GPU_CompCap;
#5A-c. Delete the period in the version
GPU_CompCap=`echo "$GPU_CompCap" | tr -d '.'`;
#5A-d. Run nvcc to compile the cubin file
nvcc ./src/cuda/bitcoinminercuda.cu -gencode arch=compute_"$GPU_CompCap",\"code=sm_$GPU_CompCap,compute_$GPU_CompCap\" --keep

I have been using 1.3 for GPU_CompCap. I also tried with 1.2 with the same result

The specs of my card are:
Code:
Device 0: "NVS 3100M"
  CUDA Driver Version / Runtime Version          5.0 / 5.0
  CUDA Capability Major/Minor version number:    1.2
  Total amount of global memory:                 511 MBytes (536084480 bytes)
  ( 2) Multiprocessors x (  8) CUDA Cores/MP:    16 CUDA Cores
  GPU Clock rate:                                1468 MHz (1.47 GHz)
  Memory Clock rate:                             790 Mhz
  Memory Bus Width:                              64-bit
  Max Texture Dimension Size (x,y,z)             1D=(8192), 2D=(65536,32768), 3D=(2048,2048,2048)
  Max Layered Texture Size (dim) x layers        1D=(8192) x 512, 2D=(8192,8192) x 512
  Total amount of constant memory:               65536 bytes
  Total amount of shared memory per block:       16384 bytes
  Total number of registers available per block: 16384
  Warp size:                                     32
  Maximum number of threads per multiprocessor:  1024
  Maximum number of threads per block:           512
  Maximum sizes of each dimension of a block:    512 x 512 x 64
  Maximum sizes of each dimension of a grid:     65535 x 65535 x 1
  Maximum memory pitch:                          2147483647 bytes
  Texture alignment:                             256 bytes
  Concurrent copy and kernel execution:          Yes with 1 copy engine(s)
  Run time limit on kernels:                     Yes
  Integrated GPU sharing Host Memory:            No
  Support host page-locked memory mapping:       Yes
  Alignment requirement for Surfaces:            Yes
  Device has ECC support:                        Disabled
  Device supports Unified Addressing (UVA):      No
  Device PCI Bus ID / PCI location ID:           1 / 0
  Compute Mode:
     < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >

deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 5.0, CUDA Runtime Version = 5.0, NumDevs = 1, Device0 = NVS 3100M

If someone can help me with the optimal parameters, that would be greatly appreciated :D
hero member
Activity: 700
Merit: 500
September 18, 2012, 08:39:49 AM
No point then...

A 470 has 448 cores so that would be close to a 5670 perhaps?....still weak.
I can bring it with cgminer to 150MH/s and I was curious to see if CUDA would push that limit even higher...

Thanks
hero member
Activity: 1118
Merit: 541
September 17, 2012, 06:23:29 PM
Thought about it (gdb) but in the end I gotta ask: is it worth it?

I mean (other than pure curiosity which drives me so far) is using this CUDA miner gonna bring me some gain in speed, so much that it would turn an Nvida card in something efficient for mining?

So you have an 460 and I suppose you have done some tests openCL vs Cuda with it...is there any significant improvement?  

The only improvement in cuda vs opencl is not having the miner use 100% cpu of 1 core. Which is the entire reason I updated the code for this one to support newer gpus. If there is any performance difference; It's insignificant at best.





Pages:
Jump to: