Comments (27)
Can you try running:
sa-solver --nonces 100
This will either work or show you the exact error.
from silentarmy.
i have same error when write param --instances , without it works normal
from silentarmy.
@Ajworry "pipe closed by peer" is a generic error message that has many different causes. What --instances values cause you to see the error? 1, 2, 3, or more?
from silentarmy.
every instances. without param instances work normaly
bill@server1:~/mining$ ./silentarmy/silentarmy --use 0,1,2,3,4,5 --instances 2 -c stratum+tcp://eu1-zcash.flypool.org:3333 -u txxxxxx.server1
Connecting to eu1-zcash.flypool.org:3333
Solver 0.0: unexpected banner "No protocol specified"
Solver 0.1: unexpected banner "No protocol specified"
Solver 1.0: unexpected banner "No protocol specified"
Solver 1.1: unexpected banner "No protocol specified"
Solver 2.0: unexpected banner "No protocol specified"
Solver 2.1: unexpected banner "No protocol specified"
Solver 3.0: unexpected banner "No protocol specified"
Solver 3.1: unexpected banner "No protocol specified"
Solver 4.0: unexpected banner "No protocol specified"
Solver 4.1: unexpected banner "No protocol specified"
Solver 5.0: unexpected banner "No protocol specified"
Solver 5.1: unexpected banner "No protocol specified"
Stratum server sent us the first job
Mining on 6 devices
pipe closed by peer or os.write(pipe, data) raised exception.
pipe closed by peer or os.write(pipe, data) raised exception.
pipe closed by peer or os.write(pipe, data) raised exception.
pipe closed by peer or os.write(pipe, data) raised exception.
pipe closed by peer or os.write(pipe, data) raised exception.
pipe closed by peer or os.write(pipe, data) raised exception.
pipe closed by peer or os.write(pipe, data) raised exception.
pipe closed by peer or os.write(pipe, data) raised exception.
pipe closed by peer or os.write(pipe, data) raised exception.
pipe closed by peer or os.write(pipe, data) raised exception.
pipe closed by peer or os.write(pipe, data) raised exception.
pipe closed by peer or os.write(pipe, data) raised exception.
from silentarmy.
@Ajworry Can you try the troubleshooting steps "Basic Operation" and "Correct results" as per https://github.com/mbevand/silentarmy/blob/master/TROUBLESHOOTING.md ?
from silentarmy.
bill@server1:/mining/silentarmy$ ./sa-solver --use 0/mining/silentarmy$ make test
Solving default all-zero 140-byte header
No protocol specified
No protocol specified
Building program
Hash tables will use 805.3 MB
Running...
Nonce 0000000000000000000000000000000000000000000000000000000000000000: 2 sols
Total 2 solutions in 1138.2 ms (1.8 Sol/s)
bill@server1:
./sa-solver --nonces 100 -v -v 2>&1 | grep Soln: |
diff -u testing/sols-100 - | cut -c 1-75
bill@server1:~/mining/silentarmy$
everything normal
card is r9 390 OC 8GB
from silentarmy.
Please report the output of:
echo $DISPLAY
from silentarmy.
display nothing
bill@server1:~/mining/silentarmy$ echo $DISPLAY
bill@server1:~/mining/silentarmy$ sudo echo $DISPLAY
[sudo] password for bill:
bill@server1:~/mining/silentarmy$
from silentarmy.
Nothing displayed might explain the pb... Report the full output of this one command:
$ env DISPLAY=:0 ./sa-solver
from silentarmy.
bill@server1:/mining/silentarmy$ env DISPLAY=:0 ./sa-solver/mining/silentarmy$
Solving default all-zero 140-byte header
No protocol specified
No protocol specified
No protocol specified
Building program
Hash tables will use 805.3 MB
Running...
Nonce 0000000000000000000000000000000000000000000000000000000000000000: 2 sols
Total 2 solutions in 2100.9 ms (1.0 Sol/s)
bill@server1:
from silentarmy.
Hmm what about:
$ xauth list | sed -r 's,[0-9a-f]{32},XXX,'
from silentarmy.
bill@server1:/mining/silentarmy$ xauth list | sed -r 's,[0-9a-f]{32},XXX,'/mining/silentarmy$
xauth: file /home/bill/.Xauthority does not exist
bill@server1:
from silentarmy.
Ok this is your problem. I need to understand why you are missing this file. Are you logging into your Linux system, using the graphical console, as "bill"? Or are you using some equivalent of "sudo -u bill" or "su - bill" ? Are you ssh'ing remotely?
from silentarmy.
i am logging thru ssh, driver fglrx 15.302 / ubuntu 15.04 server / gnome desktop login automatic as bill
from silentarmy.
Instead of fixing your specific issue, I pushed a general fix that helps silentarmy ignore these errors: 438cdbc
"git pull && make" and can you report the output of "./sa-solver" as well as "./silentarmy" (even if it works).
from silentarmy.
bill@server1:/mining/silentarmy$ nano param.h/mining/silentarmy$ ./sa-solver
bill@server1:
Solving default all-zero 140-byte header
No protocol specified
No protocol specified
Building program
Hash tables will use 1208.0 MB
Running...
Nonce 0000000000000000000000000000000000000000000000000000000000000000: 2 sols
Total 2 solutions in 2237.1 ms (0.9 Sol/s)
bill@server1:~/mining/silentarmy
bill@server1:~/mining/silentarmy$ ./silentarmy --use 0 --instances 2 -c stratum+tcp://eu1-zcash.flypool.org:3333 -u txxxxx.server1
Connecting to eu1-zcash.flypool.org:3333
Stratum server sent us the first job
Mining on 1 device
Total 0.0 sol/s [dev0 0.0] 0 shares
Total 0.0 sol/s [dev0 0.0] 0 shares
Total 0.0 sol/s [dev0 0.0] 0 shares
Total 0.0 sol/s [dev0 0.0] 0 shares
Total 0.7 sol/s [dev0 0.7] 0 shares
Total 0.6 sol/s [dev0 0.6] 0 shares
Total 0.5 sol/s [dev0 0.5] 0 shares
Total 0.4 sol/s [dev0 0.4] 0 shares
Total 0.4 sol/s [dev0 0.4] 0 shares
Total 0.3 sol/s [dev0 0.3] 0 shares
Total 0.4 sol/s [dev0 0.4] 0 shares
Total 0.4 sol/s [dev0 0.4] 0 shares
Total 0.3 sol/s [dev0 0.4] 0 shares
Total 0.3 sol/s [dev0 0.4] 0 shares
Total 0.5 sol/s [dev0 0.4] 1 share
Total 0.5 sol/s [dev0 0.4] 1 share
works but not well
from silentarmy.
What are your hardware specs? Is this really on an R9 390?
$ ./silentarmy --list
from silentarmy.
works i reboot it and working but i make OPTIM_SIMPLIFY_ROUND 1 and sa-sover show 1.2GB
from silentarmy.
After setting OPTIM_SIMPLIFY_ROUND you need to recompile with make.
from silentarmy.
sorry my fail thanks
from silentarmy.
@mbevand Is it possible to add an option like -o, --optim in command line so we don't have to change the param.h?
from silentarmy.
and my specs are
asrock-h81-pro-btc
intel-celeron-g1840 maybe this slowing mining
crucial-ballistix-tactical-8gb-2x4gb-ddr3-1600
kingston-ssdnow-v300-120gb
6x sapphire-nitro-r9-390-8gb-with-back-plate
45-50 sol/s one card 2 instances and OPTIM_SIMPLIFY_ROUND 1
from silentarmy.
@Ajworry Ok so your perf looks good.
@johiro I will consider it. Pull request are welcome to implement this.
@yjdwbj Don't forget to let me know what "sa-solver --nonces 100" reports.
from silentarmy.
I'm getting the following when I use sa-solver --use 0
. Is my card not supported?
Solving default all-zero 140-byte header
Building program
LLVM ERROR: Cannot select: 0x12a9b30: i32,ch = AtomicLoadAdd<Volatile LDST4[%1969(addrspace=1)]> 0x12a2820, 0x12a9080, 0x12a9670
0x12a9080: i32 = add 0x12a8e20, 0x12a8960
0x12a8e20: i32,ch = CopyFromReg 0x175fc30, Register:i32 %vreg41
0x12a8cf0: i32 = Register %vreg41
0x12a8960: i32 = and 0x12aa250, Constant:i32<524284>
0x12aa250: i32 = srl 0x12a3400, Constant:i32<1>
0x12a3400: i32 = or 0x12a3530, 0x12a8f50
0x12a3530: i32 = and 0x27b1f90, Constant:i32<983040>
0x27b1f90: i32 = srl 0x27523e0, Constant:i32<4>
0x27523e0: i32 = xor 0x2752180, 0x25781e0
0x2752180: i32 = xor 0x25789a0, 0x27b1d30
0x25789a0: i32 = add 0x274ff10, 0xef9bd0
0x27b1d30: i32,ch = load<LD4[%blake_state(addrspace=1)](align=8)(tbaa=<0x18285b8>)> 0x175fc30, 0x26811a0, undef:i32
0x25781e0: i32 = add 0x1f9ae20, 0x2575d50
0x1f9ae20: i32 = or 0x1f9acf0, 0x1f9abc0
0x2575d50: i32 = add 0x1f99540, 0x25744f0
0x27b1c00: i32 = Constant<4>
0x27b19a0: i32 = Constant<983040>
0x12a8f50: i32 = and 0x27523e0, Constant:i32<65535>
0x27523e0: i32 = xor 0x2752180, 0x25781e0
0x2752180: i32 = xor 0x25789a0, 0x27b1d30
0x25789a0: i32 = add 0x274ff10, 0xef9bd0
0x274ff10: i32 = or 0x274fde0, 0x274fcb0
0xef9bd0: i32 = add 0x25739a0, 0x1f92e00
0x27b1d30: i32,ch = load<LD4[%blake_state(addrspace=1)](align=8)(tbaa=<0x18285b8>)> 0x175fc30, 0x26811a0, undef:i32
0x26811a0: i32,ch = CopyFromReg 0x175fc30, Register:i32 %vreg39
0x2574e70: i32 = undef
0x25781e0: i32 = add 0x1f9ae20, 0x2575d50
0x1f9ae20: i32 = or 0x1f9acf0, 0x1f9abc0
0x1f9acf0: i32 = srl 0x1f9a710, Constant:i32<16>
0x1f9abc0: i32 = shl 0x1f9a960, Constant:i32<16>
0x2575d50: i32 = add 0x1f99540, 0x25744f0
0x1f99540: i32 = xor 0xef9e30, 0x1f91fd0
0x25744f0: i32 = add 0x1f8f2b0, 0x267fab0
0x12a2ce0: i32 = Constant<65535>
0x26801d0: i32 = Constant<1>
0x12a8830: i32 = Constant<524284>
0x12a9670: i32 = shl Constant:i32<1>, 0x12a9540
0x26801d0: i32 = Constant<1>
0x12a9540: i32 = and 0x12a8bc0, Constant:i32<28>
0x12a8bc0: i32 = shl 0x12a3400, Constant:i32<2>
0x12a3400: i32 = or 0x12a3530, 0x12a8f50
0x12a3530: i32 = and 0x27b1f90, Constant:i32<983040>
0x27b1f90: i32 = srl 0x27523e0, Constant:i32<4>
0x27523e0: i32 = xor 0x2752180, 0x25781e0
0x2752180: i32 = xor 0x25789a0, 0x27b1d30
0x25789a0: i32 = add 0x274ff10, 0xef9bd0
0x27b1d30: i32,ch = load<LD4[%blake_state(addrspace=1)](align=8)(tbaa=<0x18285b8>)> 0x175fc30, 0x26811a0, undef:i32
0x25781e0: i32 = add 0x1f9ae20, 0x2575d50
0x1f9ae20: i32 = or 0x1f9acf0, 0x1f9abc0
0x2575d50: i32 = add 0x1f99540, 0x25744f0
0x27b1c00: i32 = Constant<4>
0x27b19a0: i32 = Constant<983040>
0x12a8f50: i32 = and 0x27523e0, Constant:i32<65535>
0x27523e0: i32 = xor 0x2752180, 0x25781e0
0x2752180: i32 = xor 0x25789a0, 0x27b1d30
0x25789a0: i32 = add 0x274ff10, 0xef9bd0
0x274ff10: i32 = or 0x274fde0, 0x274fcb0
0xef9bd0: i32 = add 0x25739a0, 0x1f92e00
0x27b1d30: i32,ch = load<LD4[%blake_state(addrspace=1)](align=8)(tbaa=<0x18285b8>)> 0x175fc30, 0x26811a0, undef:i32
0x26811a0: i32,ch = CopyFromReg 0x175fc30, Register:i32 %vreg39
0x2574e70: i32 = undef
0x25781e0: i32 = add 0x1f9ae20, 0x2575d50
0x1f9ae20: i32 = or 0x1f9acf0, 0x1f9abc0
0x1f9acf0: i32 = srl 0x1f9a710, Constant:i32<16>
0x1f9abc0: i32 = shl 0x1f9a960, Constant:i32<16>
0x2575d50: i32 = add 0x1f99540, 0x25744f0
0x1f99540: i32 = xor 0xef9e30, 0x1f91fd0
0x25744f0: i32 = add 0x1f8f2b0, 0x267fab0
0x12a2ce0: i32 = Constant<65535>
0x12a8a90: i32 = Constant<2>
0x12a9410: i32 = Constant<28>
In function: kernel_round0
from silentarmy.
@killermonk Your card/OpenCL implementation is probably not supported. Sorry, SA is currently not maintained any more.
from silentarmy.
Hi.
As far I could check my silentarmy version already contains the 438cdbc patch but still getting that pipe close exception. I ran sa-solver --nonces 1000 and got the following:
Total 1824 solutions in 77748.8 ms (23.5 Sol/s)
After I ran --list:
eu@eu-MS-7345:~/silentarmy$ ./sa-solver --list
./sa-solver: /usr/local/cuda-8.0/targets/x86_64-linux/lib/libOpenCL.so.1: no version information available (required by ./sa-solver)
Devices on platform "NVIDIA CUDA":
ID 0: GeForce GTX 950
What do you think is going on € (oddly no question mark on my keyboard)
Thanks.
from silentarmy.
@Ajworry Can you try the troubleshooting steps "Basic Operation" and "Correct results" as per https://github.com/mbevand/silentarmy/blob/master/TROUBLESHOOTING.md ?
Can you please help?
from silentarmy.
Related Issues (20)
- Build under MAC HOT 1
- Problems getting started: make test and sa-solver -use 0 fail
- Cannot find libcl.so HOT 3
- Use with Intel Xeon Phi CPU 7250 HOT 1
- Docs for Xeon Phi HOT 2
- Error:pipe closed by peer or os.write(pipe, data) raised exception. HOT 3
- Debian 8 & HD 6970: 0 Sols
- API / Stats
- Add equihash solver 48,5 HOT 6
- Correctly validate hashReserved
- Android running, how to reduce the use of gpu. HOT 2
- Error compiling on Ubuntu HOT 1
- ./sa-solver: error while loading shared libraries: libcl.so: cannot open shared object file: No such file or directory
- When i launch sa-solver i get this errors
- Pool error help wanted
- Doesn't do anything on GTX 670 HOT 7
- Error after reboot
- Updated version
- clCreateCommandQueue (-6) HOT 3
- Stratum server sent us the first job Mining on 1 device HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from silentarmy.