Pages:
Author

Topic: Ufasoft Miner - Windows/Linux, x86/x64, SSE2/OpenCL, Open Source - page 17. (Read 631117 times)

hero member
Activity: 632
Merit: 500
Hi there,

I've tried to use Ufasoft to mine some Litecoins. My OS is LinuxCoin, and I'm using the 0.25 version for 64-bit processors compiled by K1337R. My processors are mainly Sempron 130 and Sempron 145. Those computers are my Bitcoin mining rigs, with around 3-4 GPU cards plugged in it. I use cgminer to mine Bitcoins with my GPUs, and at the same time, Ufasoft to mine Litecoins with my CPU.

It's working well, except for one thing. I'm making an unusual amount of stales shares. With Long Polling activated, I can have easily 25% of stales share, even going up to 100% stale shares. When I desactivate it, it's a little better, it seems to stabilize at 15% of stales shares.

Could it be the version of Ufasoft? Or is it something else?

Thanks for the help!
sr. member
Activity: 404
Merit: 251

Its an ARM 7v2 "Gumstix" with ubuntu 11.04 customised.
Never tested on ARM platform.
You can comment out absent #include from source code.
sr. member
Activity: 410
Merit: 252
Watercooling the world of mining
Code:
[quote author=O_Shovah link=topic=3486.msg791038#msg791038 date=1331240692]
./el/libext.h:231:24: fatal error: cmnintrin.h: No such file or directory
compilation terminated.
make[1]: *** [bitcoin-miner.o] Error 1
make[1]: Leaving directory `/home/gumstix/Desktop/ufasoft'
make: *** [all] Error 2

Obviously "cmnintrin.h" is missing but i have not found a source yet to manually add it .
What is platform and GCC version?
[/quote]
Its an ARM 7v2 "Gumstix" with ubuntu 11.04 customised.
GCC is 4.5
sr. member
Activity: 404
Merit: 251
Code:
[quote author=O_Shovah link=topic=3486.msg791038#msg791038 date=1331240692]
./el/libext.h:231:24: fatal error: cmnintrin.h: No such file or directory
compilation terminated.
make[1]: *** [bitcoin-miner.o] Error 1
make[1]: Leaving directory `/home/gumstix/Desktop/ufasoft'
make: *** [all] Error 2

Obviously "cmnintrin.h" is missing but i have not found a source yet to manually add it .
[/quote]
What is platform and GCC version?
sr. member
Activity: 410
Merit: 252
Watercooling the world of mining
Hello,

While  trying to recompile the ufasoft miner in run into a missing file.


Code:
miner.o `test -f 'src/bitcoin-miner.cpp' || echo './'`src/bitcoin-miner.cpp
In file included from ./el/inc/ext_config.h:30:0,
                 from ./el/libext.h:16,
                 from ./el/ext.h:23,
                 from src/bitcoin-miner.cpp:14:
./el/inc/default-defs.h:119:4: error: #error ExtLib/CE requires _UNICODE defined
In file included from ./el/ext.h:23:0,
                 from src/bitcoin-miner.cpp:14:
./el/libext.h:231:24: fatal error: cmnintrin.h: No such file or directory
compilation terminated.
make[1]: *** [bitcoin-miner.o] Error 1
make[1]: Leaving directory `/home/gumstix/Desktop/ufasoft'
make: *** [all] Error 2

Obviously "cmnintrin.h" is missing but i have not found a source yet to manually add it .

May someone of you please give me the file or an idea where to get it.
sr. member
Activity: 404
Merit: 251
-a 5 -g no -o http://gpumax.com:8332 -u (accountnumber) -p (pass) -t 4 -v
worker: 4f23948458d5d928c9004153
pass: abc123
It seems GPUMAX incorrecly interprets HTTP requests.
sr. member
Activity: 457
Merit: 251
-a 5 -g no -o http://gpumax.com:8332 -u (accountnumber) -p (pass) -t 4 -v
As I see there is no open registration at gpumax.com. So I can't to test it.

If you want, here is a worker and pass:
worker: 4f23948458d5d928c9004153
pass: abc123

Since I don't mine this particular worker, and it has no btc accumulated, I would be happy to give you all the BTC earned from the shares given.  Smiley

*I should try the Ufasoft miner more on a different pool, but the time I did get it working, I only got 14~ mhash on my Phenom II x4 945. And since I get 16 mhash on cgminer, I might have kept with cgminer.  Grin
sr. member
Activity: 404
Merit: 251
-a 5 -g no -o http://gpumax.com:8332 -u (accountnumber) -p (pass) -t 4 -v
As I see there is no open registration at gpumax.com. So I can't to test it.
sr. member
Activity: 457
Merit: 251
So is the miner's 0kHash/s problem fixed? I can't seem to mine at all in ubuntu 11.10 64-bit... cgminer's cpuminer works perfectly, but your's doesn't.

EDIT: It works now, but it takes about a few minutes to start up  Sad
Tell me full command line to test. Miner's behavior depends of Pool.

-a 5 -g no -o http://gpumax.com:8332 -u (accountnumber) -p (pass) -t 4 -v
using Ufasoft source 0.28 with CFLAGS="-O3 -Wall -march=amdfam10"
sr. member
Activity: 404
Merit: 251
So is the miner's 0kHash/s problem fixed? I can't seem to mine at all in ubuntu 11.10 64-bit... cgminer's cpuminer works perfectly, but your's doesn't.

EDIT: It works now, but it takes about a few minutes to start up  Sad
Tell me full command line to test. Miner's behavior depends of Pool.
sr. member
Activity: 457
Merit: 251
So is the miner's 0kHash/s problem fixed? I can't seem to mine at all in ubuntu 11.10 64-bit... cgminer's cpuminer works perfectly, but your's doesn't.

EDIT: It works now, but it takes about a few minutes to start up  Sad
sr. member
Activity: 404
Merit: 251
Hey, just attempted to compile this on another Linux machine and I'm getting error 80004005.  Could someone explain this error to me yet?
E_FAIL.
It's general error code. If you can, try to run under debugger (e.g. GDB) and make Stack Trace

sr. member
Activity: 378
Merit: 250
Hey, just attempted to compile this on another Linux machine and I'm getting error 80004005.  Could someone explain this error to me yet?
sr. member
Activity: 404
Merit: 251
with "UCFG_BITCOIN_SOLIDCOIN=1"

SolidCoin algorithm license is not compatible with GPL:
This code cannot be used outside of SolidCoin unless it is specifically used for a SolidCoin project..

So I can include it to binary, but can't distribute it inside GPL-ed source package.
Source code available at:  http://ufasoft.com/files/open/solidcoin-algo.
newbie
Activity: 22
Merit: 0
Code:
make  all-am
make[1]: Entering directory `/home/naven/src/ufasoft_bitcoin-miner-0.28'
g++ -std=c++0x -Wno-invalid-offsetof  -g -O2   -o bitcoin-miner bitcoin-miner.o bitcoin-sha256.o bitcoin-sha256-x86x64.o miner.o miner-bitforce.o src/bitcoin_sha256_x86x64.o ext-protocols.o ext-handlers.o ext-encoding.o threader.o ext-file.o ext-fw.o datetime.o ext-base.o ext-os.o ext-app.o ext-string.o ext-blob.o ext-stream.o ext-core.o ext-ip-address.o ext-net.o http.o stack-trace.o binary-reader-writer.o sha256.o salsa20.o scrypt.o el/crypto/x86x64/sha256_x86x64.o el/crypto/x86x64/scrypt_x86x64.o regex.o  -lrt -ldl -lcurl -lpthread -lpcre
miner.o: In function `Coin::BitcoinMiner::CalcHash(Coin::BitcoinWorkData const&)':
/home/naven/src/ufasoft_bitcoin-miner-0.28/src/miner.cpp:602: undefined reference to `Coin::SolidcoinHash(Ext::ConstBuf const&)'
miner.o: In function `Coin::WorkerThread::MineSolid(Coin::BitcoinWorkData&)':
/home/naven/src/ufasoft_bitcoin-miner-0.28/src/miner.cpp:908: undefined reference to `Coin::SolidcoinHash(Ext::ConstBuf const&)'
collect2: ld returned 1 exit status
make[1]: *** [bitcoin-miner] Error 1
make[1]: Leaving directory `/home/naven/src/ufasoft_bitcoin-miner-0.28'
make: *** [all] Error 2

with "UCFG_BITCOIN_SOLIDCOIN=1"
sr. member
Activity: 404
Merit: 251
Are the Windows binaries in the first post updated already or still the buggy 0.28 version?
updated
full member
Activity: 174
Merit: 100
Are the Windows binaries in the first post updated already or still the buggy 0.28 version?
sr. member
Activity: 404
Merit: 251
Is there CudaArchitecture class that I'm missing (sort of like BitforceArchitecture for Bitforce devices).
Yes,    src/miner-cuda.cpp  added now.
Thank you for message.
sr. member
Activity: 378
Merit: 250
It's sort of tricky.  It involves downloading and installing multiple python packages and sources that don't like to work properly half of the time you're installing them.  : /
It's probably best to wait for the binary to be recompiled.

No Python used in the Ufasoft miner.
By default only CPU and BitFORCE mining modules enabled in the VS2010 project file.
If you want to compile GPU mining, you should  download AMD APP SDK + AMD Display Library + CUDA SDK.
Sorry, I was thinking of another program I had to compile recently that was giving me issues.  >_<  I tell you, compiling from source is like pulling teeth sometimes.
sr. member
Activity: 404
Merit: 251
I'm missing the source code for it.

   el/comp/gpu-cuda.cpp         
   el/comp/gpu-cuda.h            

Could you add these CUDA files to el\comp?
done
Pages:
Jump to: