Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unableinstallon hiveos #116

Open
wants to merge 35 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
4b69456
v0.1 attempt at verushash on amd
monkins1010 Sep 23, 2018
581d713
first version 1
monkins1010 Sep 28, 2018
50828c2
Add files via upload
monkins1010 Sep 28, 2018
b0d4d81
Update verus.cl
monkins1010 Sep 28, 2018
17c050b
Update README.md
monkins1010 Sep 28, 2018
f4be86c
Update README.md
monkins1010 Sep 28, 2018
9d55a35
Update README.md
monkins1010 Sep 29, 2018
a0bafd1
60% faster kernel
monkins1010 Oct 8, 2018
0386494
Update verus.cl
monkins1010 Oct 17, 2018
f5df7b8
Update verus.cl
monkins1010 Oct 17, 2018
fa4341f
updated to show solssec = mh/s
monkins1010 Oct 17, 2018
d1a155c
Update README.md
monkins1010 Oct 17, 2018
e3b22c3
Update README.md
monkins1010 Oct 17, 2018
5537c4c
faster kernel v2.1
monkins1010 Oct 28, 2018
e9db808
Update input.cl
monkins1010 Oct 28, 2018
4628df7
remove invalid hash reserved
monkins1010 Oct 28, 2018
4e32a23
run file
monkins1010 Oct 28, 2018
1467420
Update run
monkins1010 Oct 28, 2018
d97191b
Update silentarmy
monkins1010 Oct 28, 2018
d7797d8
update
monkins1010 Mar 13, 2019
7cd57a4
now hashing v2
monkins1010 Mar 15, 2019
ce52235
Changed to verushash2.1
monkins1010 Dec 14, 2019
685571f
Add files via upload
monkins1010 Dec 14, 2019
fb1815d
Update run
monkins1010 Dec 15, 2019
4358e38
Update run
monkins1010 Dec 15, 2019
3fb55b1
Update input.cl
monkins1010 Jun 11, 2020
bad6ba2
Add files via upload
monkins1010 Jun 11, 2020
09d621f
Add files via upload
monkins1010 Jun 13, 2020
6e74448
Add files via upload
monkins1010 Jun 13, 2020
c48bc7d
Add files via upload
monkins1010 Jun 13, 2020
19bdd3c
Updated to 2.2
monkins1010 Jun 13, 2020
864ae00
updated run
monkins1010 Jun 13, 2020
c340b27
Update main.c
monkins1010 Jun 14, 2020
940fa2d
Update main.c
monkins1010 Nov 29, 2021
2706c70
Update main.c
monkins1010 Nov 29, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
# Current tip

* Avoid 100% CPU usage with Nvidia's OpenCL, aka busywait fix (Kubuxu)
* Optimization: +10% speedup, increase collision items tracked per thread
(nerdralph). 'make test' finds 196 sols again
* Implement mining.extranonce.subscribe (kenshirothefist)
* mining.authorize sends an empty string if no password is specified
* Fix memory leaks
* Avoid fatal error when OpenCL platform returns CL_DEVICE_NOT_FOUND
* Optimization: +10% speedup, increase collision items tracked per thread
(nerdralph). 'make test' finds 196 sols again.

# Version 5 (11 Nov 2016)

* Optimization: major 2x speedup (eXtremal) by storing 8 atomic counters in
1 uint, and by reducing branch divergence when iterating over and XORing Xi's;
note that as a result of these optimizations, sa-solver compiled with
1 uint, and by reducing branch divergence when iterating over and XORing Xi's.
Note that as a result of these optimizations, sa-solver compiled with
NR_ROWS_LOG=20 now only finds 182 out of 196 existing solutions ("make test"
verification data was adjusted accordingly)
* Defaulting OPTIM_SIMPLIFY_ROUND to 1; GPU memory usage down to 0.8 GB per
Expand Down Expand Up @@ -41,7 +37,7 @@
* Do not abandon previous mining jobs if clean_jobs is false
* Fix KeyError's when displaying stats
* Be more robust about different types of network errors during connection
* Remove bytes.hex() which was only supported on Python 3.5+
* Remove bytes.hex() which was only supported on Python 3.5+.

# Version 3 (04 Nov 2016)

Expand Down
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ CC = gcc
CPPFLAGS = -I${OPENCL_HEADERS}
CFLAGS = -O2 -std=gnu99 -pedantic -Wextra -Wall \
-Wno-deprecated-declarations \
-Wno-overlength-strings
-Wno-overlength-strings \
-Wno-unused-parameter
LDFLAGS = -rdynamic -L${LIBOPENCL}
LDLIBS = -lOpenCL -lrt
OBJ = main.o blake.o sha256.o
INCLUDES = blake.h param.h _kernel.h sha256.h
LDLIBS = -lOpenCL
OBJ = main.o haraka_portable.o sha256.o
INCLUDES = param.h _kernel.h sha256.h haraka_portable.h

all : sa-solver

Expand Down
56 changes: 23 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
**This project is currently no longer maintained as of 2017-12-03. -Marc**
# SILENTARMY Standalone Version for Windows x86_64

[Download precompiled binaries (v5-win64standalone-r12)](https://github.com/zawawawa/silentarmy/releases/tag/v5-win64standalone-r12) (Developmental)

[Download precompiled binaries (v5-win64standalone-r7)](https://github.com/zawawawa/silentarmy/releases/download/v5-win64standalone-r7/silentarmy-v5-win64standalone-r7.zip) (Stable)

This is a standalone Windows x86_64 port of SILENTARMY v5, which does not require Python, based on [Genoil's Windows port](https://github.com/Genoil/silentarmy/tree/windows). All you have to do for mining is to run `list.bat` to get device ID's and edit and run `silentarmy.bat`. MAKE SURE TO SPECIFY CORRECT DEVICE IDS WITH THE `--use` OPTION! See the documentation of the original SILENTARMY below for details.

You may get the following error if you have missing DLL's on your system: `The application was unable to start correctly (0xc000007b)` In this case, you need to delete `vcruntime140.dll` in the package and install [Visual C++ 2015 Redistribution Package](https://www.microsoft.com/en-us/download/details.aspx?id=48145).

If you find this port useful and/or would like to see a feature-rich ZEC miner based on it, please consider donations to: `t1NwUDeSKu4BxkD58mtEYKDjzw5toiLfmCu`

Last but not least, mrb, nerdralph, eXtremal, and Genoil, thank you all so much for the great work. You guys are
truly the cream of the FOSS movement.

zawawa @ bitcointalk.org

# SILENTARMY

Expand Down Expand Up @@ -50,22 +65,17 @@ Options:
use the first three: 0,1,2 (default: 0)
--instances=N run N instances of Equihash per GPU (default: 2)
-c POOL, --connect=POOL
connect to POOL, for example
stratum+tcp://example.com:1234 (add "#xnsub" to enable
extranonce.subscribe)
connect to POOL, for example:
stratum+tcp://example.com:1234
-u USER, --user=USER username for connecting to the pool
-p PWD, --pwd=PWD password for connecting to the pool
```

# Performance

| Vendor | Type | Model | sol/s |
|--------|------|------------|-------|
| AMD | GPU | R9 Nano | 115 |
| AMD | GPU | R9 390X | 100 |
| AMD | GPU | R9 390 | 95 |
| AMD | GPU | RX 480 8GB | 75 |
| NVIDIA | GPU | GTX 1070 | 70 |
* 115 sol/s with one R9 Nano
* 75 sol/s with one RX 480 8GB
* 70 sol/s with one GTX 1070

See [TROUBLESHOOTING.md](TROUBLESHOOTING.md#performance) to resolve performance
issues.
Expand All @@ -89,10 +99,10 @@ subsection below:
### Ubuntu 16.04 / amdgpu

1. Download the [AMDGPU-PRO Driver](http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Install.aspx)
(as of 12 Dec 2016, the latest version is 16.50).
(as of 30 Oct 2016, the latest version is 16.40).

2. Extract it:
`$ tar xf amdgpu-pro-16.50-362463.tar.xz`
`$ tar xf amdgpu-pro-16.40-348864.tar.xz`

3. Install (non-root, will use sudo access automatically):
`$ ./amdgpu-pro-install`
Expand Down Expand Up @@ -127,14 +137,6 @@ subsection below:

2. Either reboot, or load the kernel driver:
`$ sudo modprobe nvidia_361`

### Ubuntu 16.04 / Intel

1. Install the OpenCL headers and library:
`$ sudo apt-get install beignet-opencl-icd`

2. You must either alter the Makefile below or build silentarmy using
` make OPENCL_HEADERS=/usr/lib/x86_64-linux-gnu/beignet/include/ LIBOPENCL=/usr/lib/x86_64-linux-gnu/beignet/ LDLIBS="-lcl -lrt"`

## Step 2: Python 3.3

Expand Down Expand Up @@ -281,21 +283,9 @@ Donations welcome: t1cVviFvgJinQ4w3C2m2CfRxgP5DnHYaoFC
I would like to thank these persons for their contributions to SILENTARMY,
in alphabetical order:
* eXtremal
* jramos
* kenshirothefist
* Kubuxu
* lhl
* nerdralph
* poiuty
* solardiz

# License

The MIT License (MIT)
Copyright (c) 2016 Marc Bevand

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
11,198 changes: 11,198 additions & 0 deletions dump.co

Large diffs are not rendered by default.

Loading