crazyates
Legendary
Offline
Activity: 952
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 17, 2012, 02:57:34 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?
Obv being optimized for your hardware will help, but it really depends on the number of cores you have, and at what speeds they're running at. A 460 has 336 cores, at 675MHz. The closest comparison I can come up with is a 5570, with 400 SPU at 650MHz.
|
|
|
|
senseless
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 17, 2012, 11: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.
|
|
|
|
philips
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 18, 2012, 01:39:49 PM |
|
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
|
|
|
|
yzfzfcex
Newbie
Offline
Activity: 3
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 22, 2013, 11: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: /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 #!/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 <limits.h>" # 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 <limits.h>" and "using namespace boost;" sed -i $last_line_include_boost's-^\(.*\)$-\1\n\#include <limits.h>\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: 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
|
|
|
|
philips
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 22, 2013, 01:39:39 PM |
|
I might be interested out of curiosity but I no longer have a working Nvidia card. I fried mine while playing Amnesia.
|
|
|
|
Bernd33-1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 22, 2013, 08: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
|
|
|
|
yzfzfcex
Newbie
Offline
Activity: 3
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 23, 2013, 03:12:10 PM |
|
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...
|
|
|
|
420
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 31, 2013, 03:59:47 AM |
|
is there potential to damage a card?
|
Donations: 1JVhKjUKSjBd7fPXQJsBs5P3Yphk38AqPr - TIPS the hacks, the hacks, secure your bits!
|
|
|
|
slush
Legendary
Offline
Activity: 1386
Merit: 1097
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 03, 2013, 06: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!
|
|
|
|
Clock Loop
Newbie
Offline
Activity: 22
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 11, 2013, 09: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://bitcointalk.org/index.php?topic=18313.0DO 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://bitcointalk.org/index.php?topic=2444.0If 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.
|
|
|
|
Lacan82
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 15, 2013, 03:42:45 AM |
|
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](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
uMMcQxCWELNzkt
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 15, 2013, 06: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... ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Ffc01.deviantart.net%2Ffs70%2Ff%2F2013%2F105%2Fa%2F9%2Frcpmining_by_architekogp-d61u1h4.jpg&t=665&c=A-Jsp9ax-dcGfg) If I remember correctly I would need to join a pool or something?
|
|
|
|
Krako
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 21, 2013, 09:15:59 AM |
|
Hi I trying to use the rpcminer.cuda.exe with guiminer (geforce gtx660) 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 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
|
|
|
|
Aggrophobia
Legendary
Offline
Activity: 1078
Merit: 1001
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 21, 2013, 02:23:12 PM |
|
is anyone able to compile the cudafiles with cuda 5.0 for windows 7 x64?
|
|
|
|
milazi
Newbie
Offline
Activity: 43
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 24, 2013, 04:34:24 AM |
|
windows
|
|
|
|
Stoneysilence
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 104
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 26, 2013, 04:07:50 AM |
|
I tried to download the Windows Binaries and got a warning from ESET NOD32 that it was a virus they coined BitcoinMiner.M
|
|
|
|
420
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 04, 2013, 01:07:52 AM |
|
with a cuda mod miner I get 185Khash with litecoin on GTX 680
|
Donations: 1JVhKjUKSjBd7fPXQJsBs5P3Yphk38AqPr - TIPS the hacks, the hacks, secure your bits!
|
|
|
Eli0t
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 28, 2013, 03:38:23 AM |
|
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
|
LTC: LKpJf3uk7KsHU73kxq8iFJrP1AAKN7Yni7 DGC: DKXGvEbj3Rwgrm2QQbRyNPDDZDYoq4Y44d XPM: AWV5AKfLFyoBaMjg9C77rGUBhuFxz5DGGL
|
|
|
Tritonio
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 22, 2013, 05: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?
|
|
|
|
|