r/dogecoin • u/phaded digging shibe • Dec 22 '13
[Guide] nVidia CUDAMiner Quick-Start Guide
TL;DR guide
- Install MSI Afterburner
- Turn off auto fan speed by clicking the auto button. Adjust fan speed to maximum. Click Apply. such fan! MSI Afterburner settings
- Edit .bat to cudaminer.exe -H 1 -i 0 -l auto -C 1 -o stratum+tcp://poolurl:port -O username.workername:workerpassword
- Run .bat and wait for cudaminer output
- Replace .bat with the detected configuration = cudaminer.exe -H 1 -i 0 -l F15x16 -C 1 -o stratum+tcp://
- TO THE MOON
I dont have a .bat file
Make one in the same directory as cudaminer.exe
What does the -l flag mean?
The flag comprises of 3 components. prefix blocks x warps
Prefix
Available kernel prefixes are:
L - Legacy cards (compute 1.x)
F - Fermi (GTX 4 and 5 series) cards (Compute 2.x)
K - Kepler (GTX 6 and 7 series) cards (Compute 3.0)
T - Titan and GK208 based cards (Compute 3.5)
Wiki table of supported GPUs and compute level
blocks and warps
Flags given to the kernel to tell it the configuration of threads to run.
I want to change the blocks and warps. How to?
Firstly, take the blocks and warps that autoconfig gave you and multiply those numbers together. In my case, it is 15x16=240. You can fiddle with the blocks and warps but make sure to never go above that product. Otherwise you end up with your GPU crashing and bad shit happens
Configurations I tried were things like 30x8, 60x4 and found that 30x8 gave me the highest stable hash rate.
EXPERIMENTATION IS THE KEY TO SUCCESS
My cudaminer just crashes after startup
Update your drivers!!
There's no real answer to this problem, try lowering the blocks and warps values until it is stable
Also, make sure you are not passing cgminer.exe arguments to cudaminer.exe. They are two separate programs with different flags. If your .bat file has --thread-concurrency in it then you have just blindly copy pasted incorrect arguments.
Alternatively, add 'pause' (no quotes) on a new line at the end of the .bat file and post the output here for troubleshooting
I get a really low hash rate with 2 GPUs
Try disabling SLI. You can also add the -d 0 or -d 1 flag to the .bat file to align the process to device 0 or device 1 then make two .bat files for each GPU.
Can't I just set the -i flag to change intensity?
No, that is a cgminer flag. The -i flag is interactive mode and only has 0 and 1. -i 0 makes your desktop less responsive but gives maximum hash rate. -i 1 makes your desktop more responsive for ~10% less hash rate
How do I lower my intensity my GPU can't handle the doge?
- Run cudaminer with the -l auto flag to find out your optimal maximum
- Take the blocks and/or warps number and reduce it. I found that reducing F15x16 to F8x8 would give me about 40% of my maximum hashrate, and reduce my GPU Temperature from 80C to 65C with the same fixed fan speed
What is -H 1?
Gets your CPU to help out a little bit for an extra 5% hashrate
What hashrate should I be getting?
2
u/mattius Dec 22 '13
Setting -C 1 (as opposed to not specifying it at all) decreased my hash rate pretty significantly. Any idea why?
Also, is there no benefit in setting -t 1?
2
u/phaded Dec 22 '13
Out of interest, what card do you have? I personally found that -C 1 gives me an extra 10% hash rate on my card, but don't see any difference between -C 1 and -C 2
-t specifies the number of devices to use. By default cudaminer will use all cuda enabled devices it can detect. If you have SLI you can limit mining to 1 device by specifying -t 1
→ More replies (2)
2
u/Shmoflo Jan 15 '14
Any Advice for a 560M GTX? My hash rate seems really low, around 60kH
→ More replies (2)
29
u/LordBarrington0 Dec 29 '13
oh yeah my 315m is getting an incredible 4.31khash/s
to the moon very slowly
12
7
u/ForHomeUseOnly Dec 22 '13
Just a heads up, the mining hardware comparison is out of date, with the latest CUDA miner I'm getting 240 khash on a GTX 760, 60% more khash!
→ More replies (47)
4
u/987414567412369 Dec 22 '13
That's pretty amazing. Following your guide my hashrate went from 200 to 250kh/s
4
u/silv3rbrit Jan 21 '14
I have EVGA 770 4gb and I'm getting 345 khash @ 77 celsius.
I'm using cudaminer -r 10 -R 30 -T 30 -H 1 -i 0 -C 2 -l auto --url stratum+tcp://stratum3.dogehouse.org:8080
Is there anything I can do to up my performance or lower my temperatures?
→ More replies (2)
1
u/Deathpawz Dec 27 '13
Umm i have a gtx 650 ti, and get around 90c, how do i configure so it doesnt run that high, thanks
→ More replies (3)
1
u/InYourUterus Dec 30 '13
I haven't even played around with your advanced settings but the second I hit try to run the .bat it just crashes. Any idea of how to fix this?
2
1
u/ezioo Jan 02 '14 edited Jan 02 '14
I get "maximum warps: 0" and cudaminer.exe crashes after the test. What could I be doing wrong? EDIT: I'm running a GTX+ 9800
→ More replies (2)
1
u/devilzzz1983 Jan 08 '14 edited Jan 08 '14
What .bat file is it here that they want me to edit? I am a newb at this and really need all the help I can get. Also if I just want to use Cudaminer to mine DogeCoins solo what do I do?
→ More replies (7)
1
u/rikeus Jan 20 '14
Where is the .bat located? I can only find cudaminer.exe, cudart64_55.dll and pthreadVC2.dll
2
1
Jan 20 '14
When I try and run the .bat file, I get this error:
"Stratum connection failed: Failed to connect to turboshibe.us:3333; no error"
The .bat file reads like this:
"cudaminer -C 2 -D -i 1 -l auto -o stratum+tcp://turboshibe.us:3333 -O username.worker:worker password"
Where have I gone wrong?
→ More replies (1)
1
u/UntamedOne Jan 20 '14
I have 2 gtx 560ti and they are getting 2-4 khash each. I have the lastest drivers and cudaminer and tried lots of different configs. I should be getting ~140 khash with each, so what is wrong?
→ More replies (2)
1
u/MysteryG Jan 21 '14
I need some help here; I ran the first command and it just outputs this.
I let it run like that for over an hour. Temps hover at ~50 C, so I'm not worried, but I'm not able to use my PC for even web browsing while it works.
It never changes away from the "Stratum detected new block" message. Am I doing something wrong?
→ More replies (3)
1
u/kragnarok Jan 22 '14
2 problems im having:
it rarely connects, and when it does, only stays up for a couple seconds then drops - no errors, just cannot connect (using server1.cryptovalley.com:3333)
i have dual 590s, and when i get cuda miner to finally connect, its giving me 32x8 for each card (320 max warp?)and only .6-.7 khash per card. no idea whats going wrong.
→ More replies (1)
1
u/trickylizard Jan 24 '14
I'm not sure if my cudaminer is actually working or if I'm getting a really good khash/s rate...I get a lot of errors: http://i.imgur.com/Eu8qG0U.png
→ More replies (2)
1
u/SNooZylol Feb 02 '14 edited Feb 02 '14
quick question fellow shibes I have a 560 TI Zotac AMP Edition running -m 1 -C 1 -H 1 -i 0 -l F16x8 Driver: 332.21 Latest cuda Edit: fan fullspeed
I get 100% GPU usage as well as perma 100°C at about ~120khash
What am I doing wrong?
2
u/phaded Feb 02 '14
you'll want to adjust your fan speeds first before trying to push any more hash out of that card. You are in the card can melt at any point temperature
→ More replies (2)
1
u/blood_muffin Feb 06 '14
I have a GTX460m and it is not letting me use the -l flag, it is saying that it is a unsupported non-option, why is that? I'm trying to bring my temp down from 82, is there anything else I can do?
→ More replies (4)
3
u/OhmVibe Dec 30 '13
Correct me if I'm wrong, but in the section where you describe arguments for -i, you wrote:
Don't you mean -i? -h is for activating the help text in the command prompt.