cbuchner1 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 09:50:43 AM |
|
Is there a way to have log and share files saved to the computer much like cgminer does? If so what is the command i need to add to batch file?
No specific logging yet. But as cudaMiner will always have an identical feature set to pooler's cpuminer (like for example the stratum support), you might want to direct such wishes at the maintainer of the cpuminer project. This is pooler himself (he also has a forum account here, and his project is also on github where you can make feature requests).
|
|
|
|
blastbob
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 01:21:27 PM |
|
|
Bitrated user: blastbob.
|
|
|
kenshin23
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 66
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 08:21:49 PM Last edit: July 11, 2013, 11:55:43 AM by kenshin23 |
|
I'm currently experiencing something weird with cudaminer. Khash/s jumps a lot, from being stable at 165 Kh/s to sometimes hashing at 160, 155, 80, 140, and so. Launch config at 70x2 then autoconfig. Still weird.
have you tried running with -i 0 ? Not yet, because I've been using the computer while mining, but I hadn't seen that happen before. I will try and post back with results. Also, trying with -l 35x4 certainly gives more stable results, but hashrate is a little lower. I get 155 kh/s give or take with it. Edit: Just switched to -i 0 -l 70x2, and cudaminer's back to 165+ kh/s stable. It didn't need the -i 0 switch before, but the PC's still responsive enough to use while mining, so all is good, I guess. If only the GTX 670's fan didn't sound like a jet engine...
|
|
|
|
altsay
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2013, 10:37:46 AM |
|
I wonder the performances of these cards for laptops: Anyone mining with these?
|
|
|
|
cbuchner1 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 12, 2013, 09:34:53 AM Last edit: July 12, 2013, 12:52:14 PM by cbuchner1 |
|
I wonder the performances of these cards for laptops: Anyone mining with these? some newer GT730M now ship based on the newer GK208 die - Meaning they have a barrel shifter that accelerates SHA256 and scrypt, and these can use 255 registers per thread. Currently expect around 40 kHash/s in scrypt from these models - I am planning to optimize the code further. I think 60-80kHash might be achieved. A relevant thread on the nvidia forums: https://devtalk.nvidia.com/default/topic/546357/sounds-like-gk208-laptops-cards-will-support-most-sm_35-features/Couple this with pooler's cpuminer running AVX2 instructions on Intel Haswell chips, and you've got pretty good hashing power for a laptop.
|
|
|
|
cbuchner1 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 12, 2013, 10:00:36 PM Last edit: July 12, 2013, 11:27:11 PM by cbuchner1 |
|
Okay, now I have a new cudaMiner windows binary with working stratum protocol. It just took less than 90 minutes to put all my CUDA related changes into pooler's code. I will need a few more hours to package a nice release version. Linux compilation may currently be borked. I was focusing on a clean Windows/Visual C++ port of the original cpuminer code, so testing compilation on Linux was not a priority.
|
|
|
|
cbuchner1 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 12, 2013, 10:41:29 PM |
|
cudaMiner 2013-07-13 release is out. No changes were done to the CUDA parts, I simply inherited stratum and other small fixes from pooler's latest cpuminer 2.3.2 release version. Check the README.txt file for an example on the stratum URL syntax. I successfully tested this on coinotron.com. I still take donations ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) Christian P.S. The next steps will be: a) cleaning up the CUDA code and modularizing it better. b) I intend to improve the performance of the Titan kernel c) add back the old "special" kernel for legacy devices (compute 1.x).
|
|
|
|
GoldBit89
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 07:51:58 AM |
|
getting this error with this setup:
setx GPU_MAX_ALLOC_PERCENT 100 setx GPU_USE_SYNC_OBJECTS 1
"C:\Users\xxxxx\Desktop\cudaminer-cbuchner\Cuda miner 7 12 2013\CudaMiner-master\cudaminer.exe" -d 0 -i 1 -l auto -C 0 -o stratum+tcp://www.fastcoin.tk:8348 -O xxx.1:xxxxpool7813 -m -D 2>logfile.txt
[ ] 1 miner threads started, using 'scrypt' algorithm. [ ] HTTP request failed: Failed connect to 127.0.0.32; No error [ ] json_rpc_call failed, retry after 15 seconds [ ] HTTP request failed: Failed connect to 127.0.0.32; No error [ ] json_rpc_call failed, retry after 15 seconds [ ] HTTP request failed: Failed connect to 127.0.0.32; No error
how do i resolve this?
*** UPDATE *** appears i fixed it just by re arranging everything:
setx GPU_MAX_ALLOC_PERCENT 100 setx GPU_USE_SYNC_OBJECTS 1
"C:\Users\xxxx\Desktop\cudaminer-cbuchner\Cuda miner 7 12 2013\CudaMiner-master\cudaminer.exe" -d 0 -i 1 -l auto -C 0 -m -D 2>logfile.txt -o xxxx.1:xxxxpool7813 -o stratum+tcp://www.fastcoin.tk:8348
|
FTC 6nvzqqaCEizThvgMeC86MGzhAxGzKEtNH8 |WDC WckDxipCes2eBmxrUYEhrUfNNRZexKuYjR |BQC bSDm3XvauqWWnqrxfimw5wdHVDQDp2U8XU BOT EjcroqeMpZT4hphY4xYDzTQakwutpnufQR |BTG geLUGuJkhnvuft77ND6VrMvc8vxySKZBUz |LTC LhXbJMzCqLEzGBKgB2n73oce448BxX1dc4 BTC 1JPzHugtBtPwXgwMqt9rtdwRxxWyaZvk61 |ETH 0xA6cCD2Fb3AC2450646F8D8ebeb14f084F392ACFf
|
|
|
GoldBit89
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 08:35:24 AM |
|
Well i take that back, it would appear to start and go thur its opening but just hangs here :
C:\Windows\system32>setx GPU_MAX_ALLOC_PERCENT 100
SUCCESS: Specified value was saved.
C:\Windows\system32>setx GPU_USE_SYNC_OBJECTS 1
SUCCESS: Specified value was saved.
C:\Windows\system32>"C:\Users\xxxx\Desktop\cudaminer-cbuchner\Cuda miner 7 12 2013\CudaMiner-master\cudaminer.exe" -d 0 -i 1 -l auto -C 0 -D -o goldbit.1:xxx xxxpool7813 2>logfile.txt *** CudaMiner for nVidia GPUs by Christian Buchner *** This is version 2013-04-30 (alpha) based on pooler-cpuminer 2.2.3 (c) 2010 Jeff Garzik, 2012 pooler Cuda additions Copyright 2013 Christian Buchner My donation address: LKS1WDKGED647msBQfLBHV3Ls8sveGncnm
|
FTC 6nvzqqaCEizThvgMeC86MGzhAxGzKEtNH8 |WDC WckDxipCes2eBmxrUYEhrUfNNRZexKuYjR |BQC bSDm3XvauqWWnqrxfimw5wdHVDQDp2U8XU BOT EjcroqeMpZT4hphY4xYDzTQakwutpnufQR |BTG geLUGuJkhnvuft77ND6VrMvc8vxySKZBUz |LTC LhXbJMzCqLEzGBKgB2n73oce448BxX1dc4 BTC 1JPzHugtBtPwXgwMqt9rtdwRxxWyaZvk61 |ETH 0xA6cCD2Fb3AC2450646F8D8ebeb14f084F392ACFf
|
|
|
Notanon
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 12:30:03 PM |
|
Testing the new release with stratum mining and pleased to report that my stale shares are practically no more! Will keep it running some more, but feeling confident that this bugbear has been dealt with.
|
|
|
|
ryen123
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 04:25:03 PM |
|
Currently using the new release of cudaminer (w/stratum) but just got this error message "stratum_recv_line failed to parse a newline-terminated string". Is this a bug with the client?
|
|
|
|
vingaard
Legendary
Offline
Activity: 1246
Merit: 1011
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 04:27:58 PM |
|
Thanks for the new release ![Grin](https://bitcointalk.org/Smileys/default/grin.gif)
|
|
|
|
mhps
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 07:01:14 PM Last edit: July 14, 2013, 02:34:24 AM by mhps |
|
I think there is 3% increase of hash rate. Thanks! I still see problems (stratum timeout adn reconnection) that arre probably related to network with coinotron. But the stale rate should be lower. Haven't had enough shares to prove it. For pools that have variable difficulty, can the new cudaminer show share difficulty?
ed: more like 5%
|
|
|
|
Eli0t
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 07:45:54 PM |
|
Well i take that back, it would appear to start and go thur its opening but just hangs here :
C:\Windows\system32>setx GPU_MAX_ALLOC_PERCENT 100
SUCCESS: Specified value was saved.
C:\Windows\system32>setx GPU_USE_SYNC_OBJECTS 1
your using ati relevent assigns on an nvidia card. dont do that, just run the miner. it also doesnt pipe to txt as you have found out I think there is 3% increase of hash rate. Thanks! I still see problems (stratum timeout adn reconnection) that arre probably related to network with coinotron. But the stale rate should be lower. Haven't had enough shares to prove it. For pools that have variable difficulty, can the new cudaminer show share difficulty?
+1 its great to finally get stratum but after the headache of getting the proxy to work it was nice to see the share diff
|
LTC: LKpJf3uk7KsHU73kxq8iFJrP1AAKN7Yni7 DGC: DKXGvEbj3Rwgrm2QQbRyNPDDZDYoq4Y44d XPM: AWV5AKfLFyoBaMjg9C77rGUBhuFxz5DGGL
|
|
|
cbuchner1 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 08:16:57 PM |
|
Questions related to stratum bugs and stratum implementation should be stated in pooler's cpuminer thread https://bitcointalk.org/index.php?topic=55038.0I cannot really answer such questions appropriately, as I haven't written this code. Any bug report directed to pooler will help him fix his implementation, which in turn can be merged into cudaminer within a matter of days.
|
|
|
|
mrm0
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 89
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 16, 2013, 09:21:07 AM |
|
Okay, now I have a new cudaMiner windows binary with working stratum protocol. [...] Linux compilation may currently be borked. Indeed, it is. $ unzip CudaMiner-master.zip $ cd CudaMiner-master/ $ chmod u+x configure configure.sh $ ./configure "CFLAGS=-O3" "CXXFLAGS=-O3" --with-cuda=/opt/cuda/ $ configure: error: cannot find sources (cuda-miner.cpp) in . or ..
|
1BUcKJVz5n34VwuiyiLtPud1PGn3BLkcPb :-)
|
|
|
cbuchner1 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 16, 2013, 09:23:51 AM |
|
The code repo on github should now be compileable on both Windows and Linux.
|
|
|
|
mrm0
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 89
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 16, 2013, 09:32:40 AM |
|
The code repo on github should now be compileable on both Windows and Linux.
Well, almost. <same steps as previously> checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p [...] configure: creating ./config.status config.status: creating Makefile config.status: creating compat/Makefile config.status: creating compat/jansson/Makefile config.status: error: cannot find input file: `cpuminer-config.h.in'
|
1BUcKJVz5n34VwuiyiLtPud1PGn3BLkcPb :-)
|
|
|
cbuchner1 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 16, 2013, 10:02:34 AM |
|
a missing file should be easy to add. Taking the one from pooler's cpuminer distribution should work.
alternatively
chmod +x autogen.sh ./autogen.sh
will create this .in file.
Christian
|
|
|
|
mrm0
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 89
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 16, 2013, 12:42:14 PM |
|
a missing file should be easy to add. Taking the one from pooler's cpuminer distribution should work.
alternatively
chmod +x autogen.sh ./autogen.sh
will create this .in file.
Christian
autogen - OK configure - OK make - FAIL $ autogen <-- completes, no messages
$ ./configure ..... [...] configure: creating ./config.status config.status: creating Makefile config.status: creating compat/Makefile config.status: creating compat/jansson/Makefile config.status: creating cpuminer-config.h config.status: cpuminer-config.h is unchanged config.status: executing depfiles commands
$ make make all-recursive make[1]: Entering directory `/tmp/CudaMiner-master' Making all in compat make[2]: Entering directory `/tmp/CudaMiner-master/compat' Making all in jansson make[3]: Entering directory `/tmp/CudaMiner-master/compat/jansson' gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -O3 -MT dump.o -MD -MP -MF .deps/dump.Tpo -c -o dump.o dump.c mv -f .deps/dump.Tpo .deps/dump.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -O3 -MT hashtable.o -MD -MP -MF .deps/hashtable.Tpo -c -o hashtable.o hashtable.c mv -f .deps/hashtable.Tpo .deps/hashtable.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -O3 -MT load.o -MD -MP -MF .deps/load.Tpo -c -o load.o load.c mv -f .deps/load.Tpo .deps/load.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -O3 -MT strbuffer.o -MD -MP -MF .deps/strbuffer.Tpo -c -o strbuffer.o strbuffer.c mv -f .deps/strbuffer.Tpo .deps/strbuffer.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -O3 -MT utf.o -MD -MP -MF .deps/utf.Tpo -c -o utf.o utf.c mv -f .deps/utf.Tpo .deps/utf.Po gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -O3 -MT value.o -MD -MP -MF .deps/value.Tpo -c -o value.o value.c mv -f .deps/value.Tpo .deps/value.Po rm -f libjansson.a ar cru libjansson.a dump.o hashtable.o load.o strbuffer.o utf.o value.o ranlib libjansson.a make[3]: Leaving directory `/tmp/CudaMiner-master/compat/jansson' make[3]: Entering directory `/tmp/CudaMiner-master/compat' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/tmp/CudaMiner-master/compat' make[2]: Leaving directory `/tmp/CudaMiner-master/compat' make[2]: Entering directory `/tmp/CudaMiner-master' make[2]: *** No rule to make target `cuda-miner.c', needed by `cudaminer-cuda-miner.o'. Stop. make[2]: Leaving directory `/tmp/CudaMiner-master' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/CudaMiner-master' make: *** [all] Error 2
|
1BUcKJVz5n34VwuiyiLtPud1PGn3BLkcPb :-)
|
|
|
|