flavorsoft / cryptotune Goto Github PK
View Code? Open in Web Editor NEWPython script to automatically find optimized and stable GPU overclock settings to mine Ethereum
License: GNU General Public License v3.0
Python script to automatically find optimized and stable GPU overclock settings to mine Ethereum
License: GNU General Public License v3.0
DEBUG:root:2021-05-05 19:22:57 - GPU0: SMI Command: nvidia-smi -i 0 -pl 340
INFO:root:2021-05-05 19:22:57 - GPU0: power level set to 340 W
DEBUG:root:2021-05-05 19:22:57 - GPU0: SMI Command: nvidia-smi -i 0 -pl 340
INFO:root:2021-05-05 19:22:57 - GPU0: power level set to 340 W
INFO:root:2021-05-05 19:22:57 - found GPU0 - NVIDIA GeForce RTX 3080
WARNING:root:2021-05-05 19:22:57 - GPU could not be found or data is missing via nvidia-smi
WARNING:root:2021-05-05 19:22:57 - Start tag expected, '<' not found, line 1, column 1 (<string>, line 1)
WARNING:root:2021-05-05 19:22:57 - could not find GPU1 - will work with the found onces
INFO:root:2021-05-05 19:22:57 - initialized 1 GPUs
DEBUG:root:2021-05-05 19:22:57 - will use path http://127.0.0.1:3333/stat
DEBUG:root:2021-05-05 19:22:57 - GPU0: data reset
DEBUG:root:2021-05-05 19:22:57 - --algo ethash --server rvn-eu1.nanopool.org --port 12222 --user RRCn3iQnaNDu9GTJRzuYiksdT1K6m8fzCh.ef438db4471bbf0fab1e611f77da9988 --pass x --ssl 0 --api 3333 --cclock 0 --mclock 0 -d 0 --fan 70
DEBUG:root:2021-05-05 19:22:57 - will start miner C:\Users\Benjamin Derksen\Desktop\Gminer\CryptoTune-master\miners\gminer_2.50\miner.exe
DEBUG:root:2021-05-05 19:22:57 - started miner with pid: 12788
DEBUG:root:2021-05-05 19:23:03 - directChilds: []
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:3333
WARNING:root:2021-05-05 19:23:05 - Could not get Mining Software Data: HTTPConnectionPool(host='127.0.0.1', port=3333): Max retries exceeded with url: /stat (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001D98F715AC0>, 'Connection to 127.0.0.1 timed out. (connect timeout=1)'))
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:3333
WARNING:root:2021-05-05 19:23:07 - Could not get Mining Software Data: HTTPConnectionPool(host='127.0.0.1', port=3333): Max retries exceeded with url: /stat (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001D98F72D520>, 'Connection to 127.0.0.1 timed out. (connect timeout=1)'))
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:3333
WARNING:root:2021-05-05 19:23:09 - Could not get Mining Software Data: HTTPConnectionPool(host='127.0.0.1', port=3333): Max retries exceeded with url: /stat (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001D98F72D370>, 'Connection to 127.0.0.1 timed out. (connect timeout=1)'))
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:3333
WARNING:root:2021-05-05 19:23:11 - Could not get Mining Software Data: HTTPConnectionPool(host='127.0.0.1', port=3333): Max retries exceeded with url: /stat (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001D98F72DD60>, 'Connection to 127.0.0.1 timed out. (connect timeout=1)'))
ERROR:root:2021-05-05 19:23:11 - could not connect to mining software API after 3s via path: http://127.0.0.1:3333/stat
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:3333
WARNING:root:2021-05-05 19:23:12 - Could not get Mining Software Data: HTTPConnectionPool(host='127.0.0.1', port=3333): Max retries exceeded with url: /stat (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001D98F72A5E0>, 'Connection to 127.0.0.1 timed out. (connect timeout=1)'))
WARNING:root:2021-05-05 19:23:12 - Received Mining Data could not be read, wait and skip
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:3333
WARNING:root:2021-05-05 19:23:14 - Could not get Mining Software Data: HTTPConnectionPool(host='127.0.0.1', port=3333): Max retries exceeded with url: /stat (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001D98F72AE20>, 'Connection to 127.0.0.1 timed out. (connect timeout=1)'))
WARNING:root:2021-05-05 19:23:14 - Received Mining Data could not be read, wait and skip
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:3333
python run.py --mode 2 -- devices 0 --fans 60 --steps 5 --shares 3 --datapoints 20 --offset 0.3 --loadPreset
Im trying to start the software, it was opened as admin, and all required software is installed.
I find this incredibly useful and was wondering if you are still updating it. I could help you if you want.
Using the last commit (393abe7), EtherTune gets stuck and stops working (cmd and miner window stay open).
Last miner output:
00:31:03 New Job: 87e8f152 Epoch: #406 Block: #12208354 Diff: 4.00G
00:31:04 New Job: f2c909fb Epoch: #406 Block: #12208354 Diff: 4.00G
00:31:05 New Job: 4d6f3c54 Epoch: #406 Block: #12208355 Diff: 4.00G
00:31:05 New Job: 1f1ce2cf Epoch: #406 Block: #12208355 Diff: 4.00G
00:31:07 Error on GPU2: Device not responding, check overclocking settings
00:31:08 Error on GPU3: Device not responding, check overclocking settings
00:31:08 New Job: bb8e0f11 Epoch: #406 Block: #12208355 Diff: 4.00G
00:31:17 GPU1 ASUS GeForce GTX 1080 Ti 11GB: Kernel #5 Selected
Last log output:
DEBUG:urllib3.connectionpool:http://127.0.0.1:3333 "GET /stat HTTP/1.1" 200 1285
DEBUG:root:2021-04-10 00:31:03 - GPU0: not created enough valid shares or datapoints yet shares (1/3) - datapoints (10/20)
DEBUG:root:2021-04-10 00:31:03 - GPU1: not created enough valid shares or datapoints yet shares (0/3) - datapoints (10/20)
DEBUG:root:2021-04-10 00:31:03 - GPU2: not created enough valid shares or datapoints yet shares (0/3) - datapoints (10/20)
DEBUG:root:2021-04-10 00:31:03 - GPU3: not created enough valid shares or datapoints yet shares (0/3) - datapoints (10/20)
DEBUG:root:2021-04-10 00:31:03 - clocktuning finished for 0/4 GPUs
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:3333
DEBUG:urllib3.connectionpool:http://127.0.0.1:3333 "GET /stat HTTP/1.1" 200 1285
DEBUG:root:2021-04-10 00:31:07 - GPU0: not created enough valid shares or datapoints yet shares (1/3) - datapoints (11/20)
DEBUG:root:2021-04-10 00:31:07 - GPU1: not created enough valid shares or datapoints yet shares (0/3) - datapoints (11/20)
DEBUG:root:2021-04-10 00:31:07 - GPU2: not created enough valid shares or datapoints yet shares (0/3) - datapoints (11/20)
DEBUG:root:2021-04-10 00:31:07 - GPU3: not created enough valid shares or datapoints yet shares (0/3) - datapoints (11/20)
DEBUG:root:2021-04-10 00:31:07 - clocktuning finished for 0/4 GPUs
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:3333
I've modified a row in start.bat
to:
python run.py --mode 1 --fans 100,100,100,100 --steps 5 --shares 2 --datapoints 20 --offset 0.3 --coreUC -50 --memOC 200
Running start.bat
in cmd with admin rights causes Windows to reboot after some time. Events before reboot (2 of them seconds apart, here only one posted, the other is similar):
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-DistributedCOM" Guid="{1B562E86-B7AA-4131-BADC-B6F3A001407E}" EventSourceName="DCOM" />
<EventID Qualifiers="0">10016</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2021-04-09T21:21:28.8971549Z" />
<EventRecordID>2197</EventRecordID>
<Correlation ActivityID="{ece493c4-641f-455c-8454-878f9fc3db75}" />
<Execution ProcessID="288" ThreadID="1320" />
<Channel>System</Channel>
<Computer>name</Computer>
<Security UserID="S-1-5-21-1074953045-592882222-2143601691-1002" />
</System>
- <EventData>
<Data Name="param1">application-specific</Data>
<Data Name="param2">Local</Data>
<Data Name="param3">Launch</Data>
<Data Name="param4">{7022A3B3-D004-4F52-AF11-E9E987FEE25F}</Data>
<Data Name="param5">{ADA41B3C-C6FD-4A08-8CC1-D6EFDE67BE7D}</Data>
<Data Name="param6">name</Data>
<Data Name="param7">rig</Data>
<Data Name="param8">S-1-5-21-1074953045-592882222-2143601691-1002</Data>
<Data Name="param9">LocalHost (Using LRPC)</Data>
<Data Name="param10">Unavailable</Data>
<Data Name="param11">Unavailable</Data>
</EventData>
</Event>
Event that caused reboot:
"The computer has rebooted from a bugcheck. The bugcheck was: 0x00000119 (0x0000000000000002, 0xffffffffc000000d, 0xffffc681a05f0a60, 0xffffc9848c8a9830). A dump was saved in: C:\WINDOWS\MEMORY.DMP. Report Id: f902e770-9379-4bc7-b76b-5c2e1f3396b8.". Event details:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-WER-SystemErrorReporting" Guid="{ABCE23E7-DE45-4366-8631-84FA6C525952}" EventSourceName="BugCheck" />
<EventID Qualifiers="16384">1001</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2021-04-09T21:21:45.9591646Z" />
<EventRecordID>2199</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>System</Channel>
<Computer>name</Computer>
<Security />
</System>
- <EventData>
<Data Name="param1">0x00000119 (0x0000000000000002, 0xffffffffc000000d, 0xffffc681a05f0a60, 0xffffc9848c8a9830)</Data>
<Data Name="param2">C:\WINDOWS\MEMORY.DMP</Data>
<Data Name="param3">f902e770-9379-4bc7-b76b-5c2e1f3396b8</Data>
</EventData>
</Event>
Tried CryptoTune on a MSI 3090 last night, it ran for a few hours, but once Memory Clock got to 1350, the miner crashed a few times or as the message says "Mining Software seems to have crashed/changed" then it would just keep trying again. Finally after a while Windows shutdown.
Two issues I ran into with this, there was no way to tell it to not go to 1350 and I was using your loadPreset. And there is no way to continue after a failure like this. I tried to restart thinking it would just pickup where it left off, but it didn't. Started from scratch again.
Being able to set a range we want to test would make this easier in the future. If I know that 3090's crash at 1350, it would be nice to set the Memory Clock to check between say 900 and 1350.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.