Zilminer: Beta release


#45

See your other post.


#46

Okay, now one question about the Zilminer. I am sure I have the CUDA 10. When I try to start the Zilminer, the cmd window just dissapears after 1 sec. How can I find out what’s going on? No log, no nothing.


#47

You have to set up a batch file with some parameters. You cant just run the miner file.


#48

Yes, of course.

I tried all the 3 versions with the different cuda - all the same.


#49

The best way to diagnose is to actually open up command prompt using cmd.exe. then navigate to the folder and execute. Then it wont exit cmd after the fault. Even better, launch from windows powershell.


#50

I stumbled upon the same issue but I solved it (or worked around it) by setting GETWORK_SERVER_PORT to 33133 - the default port the Zilliqa client uses to connect to the network. So I gues it has to (or could) be the same port.


#51

I am using cuda v10 windows build from github releases.

I get this on server side:

[INFO][19957][19-02-03T16:29:20.123][etWorkServer.cpp:223][getWork             ] END
[INFO][19957][19-02-03T16:29:26.133][etWorkServer.cpp:223][getWork             ] BEG
[INFO][19957][19-02-03T16:29:26.133][etWorkServer.cpp:223][getWork             ] END
[INFO][19957][19-02-03T16:29:32.154][etWorkServer.cpp:223][getWork             ] BEG
[INFO][19957][19-02-03T16:29:32.154][etWorkServer.cpp:223][getWork             ] END
[INFO][19957][19-02-03T16:29:38.163][etWorkServer.cpp:223][getWork             ] BEG
[INFO][19957][19-02-03T16:29:38.163][etWorkServer.cpp:223][getWork             ] END
[INFO][19957][19-02-03T16:29:44.178][etWorkServer.cpp:223][getWork             ] BEG
[INFO][19957][19-02-03T16:29:44.178][etWorkServer.cpp:223][getWork             ] END
[INFO][19957][19-02-03T16:29:50.193][etWorkServer.cpp:223][getWork             ] BEG
[INFO][19957][19-02-03T16:29:50.193][etWorkServer.cpp:223][getWork             ] END
[INFO][19957][19-02-03T16:29:56.209][etWorkServer.cpp:223][getWork             ] BEG
[INFO][19957][19-02-03T16:29:56.209][etWorkServer.cpp:223][getWork             ] END
[INFO][19957][19-02-03T16:30:02.223][etWorkServer.cpp:223][getWork             ] BEG
[INFO][19957][19-02-03T16:30:02.223][etWorkServer.cpp:223][getWork             ] END
[INFO][19957][19-02-03T16:30:08.244][etWorkServer.cpp:223][getWork             ] BEG
[INFO][19957][19-02-03T16:30:08.244][etWorkServer.cpp:223][getWork             ] END

But miner stays at 0 hash rate. Does no hashing and shows no getwork received. No errors.

 m 12:14:42 zilminer 0:00 A0 0.00 h - cu0 0.00
 m 12:14:52 zilminer 0:00 A0 0.00 h - cu0 0.00
  • I can benchmark the miner (-M) on a given block fine (is hashing/shows MH/etc).
  • My constants.xml files has been set correctly for CPU (and allows getwork mining, obviously^).
  • Miner is connecting to port 4202 inside my LAN from different local IP/GPU box.
  • The port/IP is fine/open.

Looks like I am talking to server but receiving nothing on request?:

 i 12:16:34 zilminer Spinning up miners...
 i 12:16:34 zilminer  >> {"id":1,"jsonrpc":"2.0","method":"eth_getWork","params":[]}
cu 12:16:34 cuda-0   Using Pci Id : 01:00.0 GeForce GTX 1060 6GB (Compute 6.1) Memory : 6.00 GB
 i 12:16:34 zilminer  << {"id":1,"jsonrpc":"2.0","result":["","","",false,1190]}
 i 12:16:34 zilminer  >> {"id":1,"jsonrpc":"2.0","method":"eth_getWork","params":[]}
 i 12:16:34 zilminer  << {"id":1,"jsonrpc":"2.0","result":["","","",false,1189]}
 i 12:16:35 zilminer  >> {"id":1,"jsonrpc":"2.0","method":"eth_getWork","params":[]}
 i 12:16:35 zilminer  << {"id":1,"jsonrpc":"2.0","result":["","","",false,1189]}
 i 12:16:35 zilminer  >> {"id":1,"jsonrpc":"2.0","method":"eth_getWork","params":[]}
 i 12:16:35 zilminer  << {"id":1,"jsonrpc":"2.0","result":["","","",false,1188]}
 i 12:16:36 zilminer  >> {"id":1,"jsonrpc":"2.0","method":"eth_getWork","params":[]}
 i 12:16:36 zilminer  << {"id":1,"jsonrpc":"2.0","result":["","","",false,1188]}
 i 12:16:36 zilminer  >> {"id":1,"jsonrpc":"2.0","method":"eth_getWork","params":[]}
 i 12:16:36 zilminer  << {"id":1,"jsonrpc":"2.0","result":["","","",false,1187]}
 i 12:16:37 zilminer  >> {"id":1,"jsonrpc":"2.0","method":"eth_getWork","params":[]}

What gives? Same result if I manually POST to ZIlliqa :4202. So it’s not the miner.
Why is ZIlliqa not sending any jobs?


FetchOfflineLookups Timeout
#52

Traceback (most recent call last):
File “setup.py”, line 22, in
from setuptools import setup
ModuleNotFoundError: No module named ‘setuptools’

Anyone get this while trying sudo python setup.py develop?


#53

You need to install “setuptools”. (ModuleNotFoundError)
You are missing package dependencies. You do not say what python you are using. Going to use 2.x as example. Note: Repo packages are either in format: ‘python-[appname]’ or ‘python3-[appname]’

You need to:

  1. Use APT/distro to install python-setuptools OR
  2. Use Python package manager. (pip = python 2.x // pip3 is python3.x) to install it.

For /home/[user] and virtualenv PIP module installs -
pip install setuptools
Make sure pip modules are in your path if still not found.
Paths: https://stackoverflow.com/questions/29980798/where-does-pip-install-its-packages/45309460

For global:
sudo -H pip setuptools

or distro version:
sudo apt install python-setuptools

Note: Under Ubuntu 18.xx/Debian Stretch the module save locations have changed.
You may need sudo anyway - unless you adjust where python looks and saves user level pip installs and environments.
/usr/local/lib/python2.7/— seems to be default area now for sudo or no sudo.


#55

What about OpenCL and AMD cards?


#56

Great thanks for the help. Got setuptools installed but when I try and launch…

root@Proxy:~/Zilliqa-Mining-Proxy# sudo python3 start.py
Traceback (most recent call last):
File “start.py”, line 23, in
from zilpool import poolserver
File “/root/Zilliqa-Mining-Proxy/zilpool/poolserver.py”, line 106
api_url = f"{site.name}{api_path}"
^
SyntaxError: invalid syntax
root@Proxy:~/Zilliqa-Mining-Proxy#


#57

Haven’t used proxy miner.

You got this stuff in your environment?

Install Python3.7.2+ and MongoDB

To get version in your env:
python --version

You need Python >= v3.6 to support f-strings. Python v2.x will not work with that code.
Make sure you also run setup.py. (Once you use python 3.7+)


#59

Hi, i have a problem.
For example, when started with the command

zilminer --benchmark=1 --cuda

the DAG file is not generated completely:

zilminer 0.1.25-1+commit.4f9884d0
Build: windows/release/msvc

i 00:49:29 zilminer Selected pool localhost:0
i 00:49:29 zilminer Established connection to localhost:0
i 00:49:29 zilminer Spinning up miners…
cu 00:49:29 cuda-0 Using Pci Id : 01:00.0 GeForce GTX 1080 Ti (Compute 6.1) Memory : 11.00 GB
cu 00:49:29 cuda-1 Using Pci Id : 02:00.0 GeForce GTX 1080 Ti (Compute 6.1) Memory : 11.00 GB
cu 00:49:29 cuda-2 Using Pci Id : 04:00.0 GeForce GTX 1080 Ti (Compute 6.1) Memory : 11.00 GB
cu 00:49:29 cuda-3 Using Pci Id : 05:00.0 GeForce GTX 1080 Ti (Compute 6.1) Memory : 11.00 GB
cu 00:49:29 cuda-4 Using Pci Id : 07:00.0 GeForce GTX 1080 Ti (Compute 6.1) Memory : 11.00 GB
cu 00:49:29 cuda-5 Using Pci Id : 08:00.0 GeForce GTX 1080 Ti (Compute 6.1) Memory : 11.00 GB
i 00:49:29 sim Epoch : 0 Difficulty : 4.29 Gh
i 00:49:29 sim Job: c6021829… block 1 localhost:0
cu 00:49:30 cuda-0 Generating DAG + Light : 1.02 GB
cu 00:49:33 cuda-0 Generated DAG + Light in 2

system: windows 10, 8Gb ram, 24Gb file swap.

Someone help please.
What could be the problem?