oosharkyoo Posted April 29, 2021 Share Posted April 29, 2021 Hey so I am trying to mine on multiple GPUs in my unraid server but the miner only ever uses GPU 0. I have these logs 20210429 14:17:45 T-Rex NVIDIA GPU miner v0.20.3 - [Linux] 20210429 14:17:45 r.fdd97e1996a9 20210429 14:17:45 20210429 14:17:45 NVIDIA Driver v465.27 20210429 14:17:45 CUDA devices available: 2 20210429 14:17:45 20210429 14:17:45 WARN: DevFee 1% (ethash) 20210429 14:17:45 20210429 14:17:45 URL : eth-us-east1.nanopool.org:9999 20210429 14:17:45 Starting on: eth-us-east1.nanopool.org:9999 20210429 14:17:45 Using protocol: stratum1. 20210429 14:17:45 Authorizing... 20210429 14:17:45 ApiServer: HTTP server started on 0.0.0.0:4067 20210429 14:17:45 ---------------------------------------------------- 20210429 14:17:45 For control navigate to: http://172.17.0.3:4067/trex 20210429 14:17:45 ---------------------------------------------------- 20210429 14:17:45 ApiServer: Telnet server started on 127.0.0.1:4068 20210429 14:17:45 WARN: GPU #0(000800): EVGA NVIDIA GeForce RTX 3080, intensity 22 20210429 14:17:45 Authorized successfully. 20210429 14:17:45 ethash epoch: 411, diff: 10.00 G 20210429 14:17:47 GPU #0: generating DAG 4.21 GB for epoch 411 ... 20210429 14:17:52 GPU #0: DAG generated [crc: a895d4ae36m, time: 4956 ms], memory left: 5.36 GB [0m20210429 14:18:08 GPU #0: using kernel #4 20210429 14:18:13 [32m[ OK ][0m 1/1 - 87.19 MH/s, 147ms ... GPU #0 [0m20210429 14:18:22 [32m[ OK ][0m 2/2 - 87.21 MH/s, 147ms ... GPU #0 [0m20210429 14:19:24 [32m[ OK ][0m 3/3 - 87.22 MH/s, 145ms ... GPU #0 CUDA shows that it can see 2 devices, but the miner only selects the 1. Is there an extra configuration step I'm missing for multi-gpu mining? Quote Link to comment
PTRFRLL Posted April 29, 2021 Author Share Posted April 29, 2021 8 minutes ago, oosharkyoo said: Hey so I am trying to mine on multiple GPUs in my unraid server but the miner only ever uses GPU 0. I have these logs 20210429 14:17:45 T-Rex NVIDIA GPU miner v0.20.3 - [Linux] 20210429 14:17:45 r.fdd97e1996a9 20210429 14:17:45 20210429 14:17:45 NVIDIA Driver v465.27 20210429 14:17:45 CUDA devices available: 2 20210429 14:17:45 20210429 14:17:45 WARN: DevFee 1% (ethash) 20210429 14:17:45 20210429 14:17:45 URL : eth-us-east1.nanopool.org:9999 20210429 14:17:45 Starting on: eth-us-east1.nanopool.org:9999 20210429 14:17:45 Using protocol: stratum1. 20210429 14:17:45 Authorizing... 20210429 14:17:45 ApiServer: HTTP server started on 0.0.0.0:4067 20210429 14:17:45 ---------------------------------------------------- 20210429 14:17:45 For control navigate to: http://172.17.0.3:4067/trex 20210429 14:17:45 ---------------------------------------------------- 20210429 14:17:45 ApiServer: Telnet server started on 127.0.0.1:4068 20210429 14:17:45 WARN: GPU #0(000800): EVGA NVIDIA GeForce RTX 3080, intensity 22 20210429 14:17:45 Authorized successfully. 20210429 14:17:45 ethash epoch: 411, diff: 10.00 G 20210429 14:17:47 GPU #0: generating DAG 4.21 GB for epoch 411 ... 20210429 14:17:52 GPU #0: DAG generated [crc: a895d4ae36m, time: 4956 ms], memory left: 5.36 GB [0m20210429 14:18:08 GPU #0: using kernel #4 20210429 14:18:13 [32m[ OK ][0m 1/1 - 87.19 MH/s, 147ms ... GPU #0 [0m20210429 14:18:22 [32m[ OK ][0m 2/2 - 87.21 MH/s, 147ms ... GPU #0 [0m20210429 14:19:24 [32m[ OK ][0m 3/3 - 87.22 MH/s, 145ms ... GPU #0 CUDA shows that it can see 2 devices, but the miner only selects the 1. Is there an extra configuration step I'm missing for multi-gpu mining? Try adding the devices flag to your config.json with a comma-separated list like so: { ... "devices": "0,1" } Quote Link to comment
oosharkyoo Posted April 29, 2021 Share Posted April 29, 2021 2 hours ago, PTRFRLL said: Try adding the devices flag to your config.json with a comma-separated list like so: { ... "devices": "0,1" } Wow cant believe I missed that - all working now. Thanks for the help and for the great docker image! 1 Quote Link to comment
supertomcat Posted April 30, 2021 Share Posted April 30, 2021 Is there a way to give plex priority to gpu resources? It's great having this run while plex is idol, but I'm seeing cpu transcode when plex picks back up. Quote Link to comment
Jurak Posted May 1, 2021 Share Posted May 1, 2021 I am trying to get Trex working and im getting this below. Starting T-rex miner... ============================================================ Server: stratum+tcp://us2.ethermine.org:4444 Algorithm: ethash Wallet: ***************************************************** Worker: Mine ============================================================ 20210501 03:14:23 ERROR: Can't start miner, member "url" not found in json 20210501 03:14:24 T-Rex finished. 20210501 03:14:24 T-Rex finished. Any help would be great. Quote Link to comment
PTRFRLL Posted May 1, 2021 Author Share Posted May 1, 2021 (edited) 35 minutes ago, Jurak said: I am trying to get Trex working and im getting this below. Starting T-rex miner... ============================================================ Server: stratum+tcp://us2.ethermine.org:4444 Algorithm: ethash Wallet: ***************************************************** Worker: Mine ============================================================ 20210501 03:14:23 ERROR: Can't start miner, member "url" not found in json 20210501 03:14:24 T-Rex finished. 20210501 03:14:24 T-Rex finished. Any help would be great. What's your config.json look like? I'm guessing the URL prop is missing. { "pools" : [ { "pass" : "x", "url" : "stratum+tcp://us2.ethermine.org:4444", "user" : "WALLET_ADDRESS", "worker" : "Rig" } ], "api-bind-http" : "0.0.0.0:4067" } Edited May 1, 2021 by PTRFRLL Quote Link to comment
PTRFRLL Posted May 1, 2021 Author Share Posted May 1, 2021 (edited) 9 hours ago, supertomcat said: Is there a way to give plex priority to gpu resources? It's great having this run while plex is idol, but I'm seeing cpu transcode when plex picks back up. Not that I'm aware of, I would love to do this too. You might try setting the --low-load flag in T-rex but I'm not sure if it will work: Quote Low load mode (default: 0). 1 - enabled, 0 - disabled. Reduces the load on the GPUs if possible Edited May 1, 2021 by PTRFRLL Quote Link to comment
Jurak Posted May 1, 2021 Share Posted May 1, 2021 (edited) 30 minutes ago, PTRFRLL said: What's your config.json look like? I'm guessing the URL prop is missing. { "pools" : [ { "pass" : "x", "url" : "stratum+tcp://us2.ethermine.org:4444", "user" : "WALLET_ADDRESS", "worker" : "Rig" } ], "api-bind-http" : "0.0.0.0:4067" } This is what it looks like. "pools" : [ { "pass" : "x", "url" : "stratum+tcp://us2.ethermine.org:4444", "user" : "Wallet address", "worker" : "Server" } ], Edited May 1, 2021 by Jurak fixing spelling Quote Link to comment
Jurak Posted May 1, 2021 Share Posted May 1, 2021 1 hour ago, Jurak said: This is what it looks like. "pools" : [ { "pass" : "x", "url" : "stratum+tcp://us2.ethermine.org:4444", "user" : "Wallet address", "worker" : "Server" } ], I uninstalled it for the 5th time and reinstalled it and its now working. At least the webui is loading and it says it working time will tell. Thanks. Quote Link to comment
Skylinar Posted May 3, 2021 Share Posted May 3, 2021 On 4/24/2021 at 8:53 PM, Skylinar said: Thanks for the insights. I'm messing around with this and a P2000 and can't even get it working. I've added "mt" : 4 to the config after the "worker" and started the trex docker in PRIVILEGED mode, is there more I've missed? Bump, can someone assist? Quote Link to comment
sittingmongoose Posted May 6, 2021 Share Posted May 6, 2021 Having the same issue with getting mt to work. I have it in my json, and i tried passing through an mt variable on the docker template. Using a P2000. 1 Quote Link to comment
jmmille Posted May 9, 2021 Share Posted May 9, 2021 Can we assign a different password than "x"? MiningHubPool allows you to change your difficulty with a string in the password field: https://bitcointalk.org/index.php?topic=472510.msg10596890#msg10596890 I tried making the change in the config file and also adding a variable PASS to send it along but neither worked. Thanks! Quote Link to comment
PTRFRLL Posted May 11, 2021 Author Share Posted May 11, 2021 (edited) On 5/9/2021 at 11:51 AM, jmmille said: Can we assign a different password than "x"? MiningHubPool allows you to change your difficulty with a string in the password field: https://bitcointalk.org/index.php?topic=472510.msg10596890#msg10596890 I tried making the change in the config file and also adding a variable PASS to send it along but neither worked. Thanks! I'll add a PASS variable that you can set for the container. Edited May 11, 2021 by PTRFRLL Quote Link to comment
PTRFRLL Posted May 11, 2021 Author Share Posted May 11, 2021 On 5/9/2021 at 11:51 AM, jmmille said: Can we assign a different password than "x"? MiningHubPool allows you to change your difficulty with a string in the password field: https://bitcointalk.org/index.php?topic=472510.msg10596890#msg10596890 I tried making the change in the config file and also adding a variable PASS to send it along but neither worked. Thanks! I updated the Docker to include a PASS env variable, so you can now override the default 1 Quote Link to comment
braydination Posted May 14, 2021 Share Posted May 14, 2021 I've successfully managed to mine ETH, but is it possible to mine raven? I've tried changing my username/address, the mining pool and algorithm, but I can't establish a connection and the container just keeps retrying. Quote Link to comment
PTRFRLL Posted May 14, 2021 Author Share Posted May 14, 2021 40 minutes ago, braydination said: I've successfully managed to mine ETH, but is it possible to mine raven? I've tried changing my username/address, the mining pool and algorithm, but I can't establish a connection and the container just keeps retrying. You should be able to mine Raven using the kawpow algorithm. Did it throw a specific error message? Quote Link to comment
braydination Posted May 15, 2021 Share Posted May 15, 2021 7 hours ago, PTRFRLL said: You should be able to mine Raven using the kawpow algorithm. Did it throw a specific error message? 20210515 07:29:12 Starting on: raven.f2pool.com:3636 20210515 07:29:12 ApiServer: HTTP server started on 0.0.0.0:4067 20210515 07:29:12 ----------------------------------------------------- 20210515 07:29:12 For control navigate to: http://172.17.0.13:4067/trex 20210515 07:29:12 ----------------------------------------------------- 20210515 07:29:12 ApiServer: Telnet server started on 127.0.0.1:4068 20210515 07:29:12 WARN: GPU #0(000700): MSI GeForce GTX 1660 SUPER, intensity 20 20210515 07:29:12 Using protocol: stratum3. 20210515 07:29:22 Wait on data is timed out, 10 seconds have passed, 0 bytes in socket remained 20210515 07:29:22 WARN: failed to stratum2-subscribe on raven.f2pool.com:3636: can't parse json: * Line 1, Column 1 Syntax error: value, object or array expected. 20210515 07:29:22 ERROR: No connection, retry after 10 seconds 20210515 07:29:33 Using protocol: stratum3. 20210515 07:29:43 Wait on data is timed out, 10 seconds have passed, 0 bytes in socket remained 20210515 07:29:43 WARN: failed to stratum2-subscribe on raven.f2pool.com:3636: can't parse json: This is the log errors it is spitting out at me. It just keeps on trying over and over again in an endles loop. Quote Link to comment
PTRFRLL Posted May 15, 2021 Author Share Posted May 15, 2021 15 hours ago, braydination said: 20210515 07:29:12 Starting on: raven.f2pool.com:3636 20210515 07:29:12 ApiServer: HTTP server started on 0.0.0.0:4067 20210515 07:29:12 ----------------------------------------------------- 20210515 07:29:12 For control navigate to: http://172.17.0.13:4067/trex 20210515 07:29:12 ----------------------------------------------------- 20210515 07:29:12 ApiServer: Telnet server started on 127.0.0.1:4068 20210515 07:29:12 WARN: GPU #0(000700): MSI GeForce GTX 1660 SUPER, intensity 20 20210515 07:29:12 Using protocol: stratum3. 20210515 07:29:22 Wait on data is timed out, 10 seconds have passed, 0 bytes in socket remained 20210515 07:29:22 WARN: failed to stratum2-subscribe on raven.f2pool.com:3636: can't parse json: * Line 1, Column 1 Syntax error: value, object or array expected. 20210515 07:29:22 ERROR: No connection, retry after 10 seconds 20210515 07:29:33 Using protocol: stratum3. 20210515 07:29:43 Wait on data is timed out, 10 seconds have passed, 0 bytes in socket remained 20210515 07:29:43 WARN: failed to stratum2-subscribe on raven.f2pool.com:3636: can't parse json: This is the log errors it is spitting out at me. It just keeps on trying over and over again in an endles loop. I see your server is set to raven.f2pool.com:3636 but does it have the stratum+tcp part at the beginning like so: stratum+tcp://raven.f2pool.com:3636 Quote Link to comment
braydination Posted May 17, 2021 Share Posted May 17, 2021 On 5/16/2021 at 8:48 AM, PTRFRLL said: I see your server is set to raven.f2pool.com:3636 but does it have the stratum+tcp part at the beginning like so: stratum+tcp://raven.f2pool.com:3636 I tried messing around the last couple days and found that using different mining software still gave me the same issue, but one did explicitly say that it was unable to login to any pools. I read that it may have been my ISP blocking stratum somehow, so I ran the mining software inside my W10 VM with a VPN running and it successfully logged me in. I don't understand why this was the case for kawpow and ethash and is a shame because I really wanted to just focus on RVN through docker and rely on the VM Quote Link to comment
PTRFRLL Posted May 18, 2021 Author Share Posted May 18, 2021 (edited) 4 hours ago, braydination said: I tried messing around the last couple days and found that using different mining software still gave me the same issue, but one did explicitly say that it was unable to login to any pools. I read that it may have been my ISP blocking stratum somehow, so I ran the mining software inside my W10 VM with a VPN running and it successfully logged me in. I don't understand why this was the case for kawpow and ethash and is a shame because I really wanted to just focus on RVN through docker and rely on the VM you could always route the Trex container through a VPN container: Edited May 18, 2021 by PTRFRLL Quote Link to comment
birdwatcher Posted May 18, 2021 Share Posted May 18, 2021 (edited) Just want to say I've been loving this container! Interesting enough, I swapped over to the NSFminer image that has OC capabilities for a bit, and since I could OC my cards through that container's console and have not rebooted my server - the TRex container now mines at OC levels even if I shutdown the NSFminer container. Now if only someone could create a container for Nano Miner so we could mine Ergo😇 Edited May 18, 2021 by birdwatcher Quote Link to comment
PTRFRLL Posted May 18, 2021 Author Share Posted May 18, 2021 4 hours ago, birdwatcher said: Just want to say I've been loving this container! Interesting enough, I swapped over to the NSFminer image that has OC capabilities for a bit, and since I could OC my cards through that container's console and have not rebooted my server - the TRex container now mines at OC levels even if I shutdown the NSFminer container. Now if only someone could create a container for Nano Miner so we could mine Ergo😇 Thanks for the link for NSFMiner, I hadn't seen that container before. I'll see if I can integrate the OC capabilities into this image as well. 2 Quote Link to comment
Z3US Posted May 22, 2021 Share Posted May 22, 2021 (edited) I have two gpus snd I can only get one of them to work. Gtx 1070 works perfect solo. When I try to add my Gtx 970 neither works. They both are shown in my Nvidia list. Driver 465.19.01 and Cuda 11.3. Ive set device to 0,1 and added both to NVIDIA_VISIBLE_DEVICES and it’s a no go. Will my 970 not work? Thanks Edit: Okay my problem is my 970 doesn’t have enough memory to mine etash. Am I able to run two of these trex dockers on unraid? Edited May 22, 2021 by Z3US Quote Link to comment
Grobalt Posted May 22, 2021 Share Posted May 22, 2021 Was someone succesful overriden memory clock for RTX cards ? i tried different settings in the config.json but every setting was "not supported in linux". the only thing i was a able to modify was powerlimit via console (outside of the docker) with "nvidia-smi -i 0 -pl 133" Quote Link to comment
PTRFRLL Posted May 22, 2021 Author Share Posted May 22, 2021 13 hours ago, Z3US said: Edit: Okay my problem is my 970 doesn’t have enough memory to mine etash. Am I able to run two of these trex dockers on unraid? Yes, you should be able to run two instances, just expose one GPU to each. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.