[Support] PTRFRLL - Docker images


Recommended Posts

2 minutes ago, Ystebad said:

Thanks - I found that shortly after I posted, and was going to update my post... However despite reddit search and google I'm not finding how I determine the actual GUID to put into that variable.  Such a basic question but I've been looking around in unraid for awhile now and can't see where one obtains this magical information.

It should be listed under the Nvidia Driver section in Settings or you can run

 

nvidia-smi -q

 

in your console

Edited by PTRFRLL
Link to comment
8 hours ago, PTRFRLL said:

It should be listed under the Nvidia Driver section in Settings or you can run

 

nvidia-smi -q

 

in your console

So I added this variable and when I do and paste in the GUID I get from Nvidia plugin, when I start the docker and try to connect via the GUI it says safari can't connect to server.  I remove it and can connect back (but then it's using the wrong GPU)

Link to comment
On 3/28/2021 at 8:23 PM, luisalrp said:

Hello,

 

I'm trying to run tubesync behind swag, but I'm getting the following error:

The config file is pretty simple, but there is something I'm missing:

server {
    listen 443 ssl;
    listen [::]:443 ssl;
    server_name ts.*;
    include /config/nginx/ssl.conf;
    client_max_body_size 0;
    # enable for Authelia
    include /config/nginx/authelia-server.conf;
    location / {
        # enable for Authelia
        include /config/nginx/authelia-location.conf;
        include /config/nginx/proxy.conf;
        resolver 127.0.0.11 valid=30s;
        set $upstream_app tubesync;
        set $upstream_port 4848;
        set $upstream_proto http;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port;
    }
}

Any ideas? Thanks!

 

You'd need to add the following to the `location` block.

 

        proxy_set_header X-Forwarded-Proto http;
        proxy_set_header X-Forwarded-Ssl off;

 

Link to comment

Hey guys, anyone have any idea why it would say my GPU is not supported? says not enough free memory? 

 

20210830 00:09:25 Starting on: asia1.ethermine.org:4444
20210830 00:09:25 Using protocol: stratum1.
20210830 00:09:25 Authorizing...
20210830 00:09:25 ApiServer: HTTP server started on 0.0.0.0:4067
20210830 00:09:25 -----------------------------------------------------
20210830 00:09:25 For control navigate to: http://172.17.0.13:4067/trex
20210830 00:09:25 -----------------------------------------------------
20210830 00:09:25 ApiServer: Telnet server started on 127.0.0.1:4068
20210830 00:09:25 Authorized successfully.
20210830 00:09:25 GPU #0(000100): ASUS NVIDIA GeForce GTX 1050 Ti, intensity 22
20210830 00:09:25 ethash epoch: 437, block: 13123548, diff: 4.29 G
20210830 00:09:26 WARN: NVML: can't get power for GPU #0, not supported
20210830 00:09:29 TREX: Can't find nonce with device [ID=0, GPU #0], GPU #0: not enough free memory to mine ethash at epoch 437
20210830 00:09:29 WARN: Miner is going to shutdown...
20210830 00:09:29 Main loop finished. Cleaning up resources...
20210830 00:09:29 ApiServer: stopped listening on 0.0.0.0:4067
20210830 00:09:29 ApiServer: stopped listening on 127.0.0.1:4068
20210830 00:09:30 T-Rex finished.
20210830 00:09:31 WARN: WATCHDOG: T-Rex does not exist anymore, restarting...

 

smi 

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 465.19.01    Driver Version: 465.19.01    CUDA Version: 11.3     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0 Off |                  N/A |
| 31%   32C    P8    N/A /  75W |      2MiB /  4039MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

 

Do I need more than 4GB to mine ethash?

Edited by Addy
Link to comment

Can anyone give me an idea what I might be doing wrong?  I have T-rex miner up and running with Nicehash and in T-rex docker it says I'm getting 26MH/s with my 1660ti and on nicehash website I have an accepted  speed of 5MH/s with a 0.00MH/s rejected speed.  I'm trying to figure out where my 21MH/s are going?

Link to comment
22 minutes ago, JC2020 said:

Can anyone give me an idea what I might be doing wrong?  I have T-rex miner up and running with Nicehash and in T-rex docker it says I'm getting 26MH/s with my 1660ti and on nicehash website I have an accepted  speed of 5MH/s with a 0.00MH/s rejected speed.  I'm trying to figure out where my 21MH/s are going?

 

How long has it been running? Most sites calculate your hashrate by averaging over a 24 hr period

Edited by PTRFRLL
Link to comment
40 minutes ago, PTRFRLL said:

 

How long has it been running? Most sites calculate your hashrate by averaging over a 24 hr period

It's been running for a few days, but I have noticed that it doesn't run as constant as my other miners.  It looks like in the docker webui it will run until it finishes a block and then will stop for awhile before running again.  I guess that could be the issue, I'm only averaging a fifth of the day actually mining.  I left all of it default, is there something I need to change to decrease the down time?  Also, I did just switch from KAPOW to dagger, so I'll see if maybe that was the issue and report back tomorrow.  Thanks for the help.  

Link to comment

Still looks like it is randomly going out.  I get this in logs. 

20210909 03:11:58 Wait on data is timed out, 300 seconds have passed, 0 bytes in socket remained
20210909 03:11:58 WARN: Connection with pool timed out. Trying to reconnect...
20210909 03:12:58 ERROR: No connection, retry after 10 seconds

 

Link to comment
  • 1 month later...

What might cause the miner to not be able to connect to the pool?

 

ErrorWarningSystemArrayLogin


 

Starting T-rex miner...
============================================================
Server: us1.ethermine.org
Algorithm: ethash
Wallet: MYADDRESS
Worker: unraid
Pass: x
============================================================
20211012 01:59:50 T-Rex NVIDIA GPU miner v0.24.2 - [Linux]
20211012 01:59:50 r.66f25c328d28
20211012 01:59:50
20211012 01:59:50
20211012 01:59:50 NVIDIA Driver v460.73.01
20211012 01:59:50
20211012 01:59:50 + GPU #0: [00:04.0] GeForce RTX 3070, 7979 MB
20211012 01:59:50
20211012 01:59:50 WARN: DevFee 1% (ethash)
20211012 01:59:50
20211012 01:59:50 URL : us1.ethermine.org
20211012 01:59:50 USER: 0x1154e73e6a147fd9642a2842518f09599c7a1649
20211012 01:59:50 PASS: x
20211012 01:59:50 WRK : unraid
20211012 01:59:50
20211012 01:59:50 Starting on: us1.ethermine.org
20211012 01:59:50 ERROR: No connection with us1.ethermine.org, retry after 10 seconds
20211012 01:59:50 WARN: API server is not bound to 127.0.0.1, consider setting up API key (see --api-key)
20211012 01:59:50 ApiServer: HTTP server started on 0.0.0.0:4067

 

I've added 0.0.0.0:4067 part to json file manually because it wasn't there after installation. I can access the webUI, can see my GPU, but miner cannot connect to the pool and cannot mine.

Link to comment

Hi, I'm having trouble getting the mt / memory tweak variable to work with Trex-miner on unraid (priveledgd docker).

This is to try and increase my GTX1080 8Gb card from around 20Mh/s to 30 which it should be able to achieve. 

Initially I couldn't get it to stop crashing at all until I turned on priveleged mode for the docker. Now I keep getting the error below. From searching the web this is often to do with not having enough virtual memory assigned to Windows and I'm wondering if and how I can increase the docker memory if that's a possible fix (the extra params --memory=8 GB didn't work...)

 

Appreciate any help or suggestions!

 

[0m20211013 23:17:13 [0;36mGPU #0: DAG generated [crc: 1e3734c7[0m[0;36m, time: 14189 ms], memory left: 3.33 GB
[0m20211013 23:17:13 TREX: Can't find nonce with device [ID=0, GPU #0], cuda exception: CUDA_ERROR_ILLEGAL_INSTRUCTION, try to reduce overclock to stabilize GPU state
20211013 23:17:13 WARN: Miner is going to shutdown...
20211013 23:17:13 Main loop finished. Cleaning up resources...
20211013 23:17:13 ApiServer: stopped listening on 0.0.0.0:4067
20211013 23:17:15 T-Rex finished.
20211013 23:17:15 T-Rex finished.

Link to comment
  • 2 weeks later...

Hi, I'm running ptrfrll/nv-docker-trex:cuda11 on Unraid 6.9.2 with Unraid Nvidia driver 495.29.05 with only a 1080 Ti, not stubbed. The container used to work fine, until I reinstalled it from CA using the same template I had before, same GPU ID. Now T-Rex repeatedly fails with this warning.

 

20211025 04:07:46 WARN: Can't load NVML library, dlopen(25): failed to load libnvidia-ml.so, libnvidia-ml.so: cannot open shared object file: No such file or directory
20211025 04:07:46 WARN: NVML error, code 12
20211025 04:07:46 WARN: Can't initialize NVML. GPU monitoring will be disabled.
20211025 04:07:47
20211025 04:07:47 NVIDIA Driver version N/A

Any idea what might be causing this missing shared Nvidia library? I can run nvidia-smi just fine on my host. Tried rebooting. 

Link to comment
10 hours ago, ZooMass said:

Hi, I'm running ptrfrll/nv-docker-trex:cuda11 on Unraid 6.9.2 with Unraid Nvidia driver 495.29.05 with only a 1080 Ti, not stubbed. The container used to work fine, until I reinstalled it from CA using the same template I had before, same GPU ID. Now T-Rex repeatedly fails with this warning.

 

20211025 04:07:46 WARN: Can't load NVML library, dlopen(25): failed to load libnvidia-ml.so, libnvidia-ml.so: cannot open shared object file: No such file or directory
20211025 04:07:46 WARN: NVML error, code 12
20211025 04:07:46 WARN: Can't initialize NVML. GPU monitoring will be disabled.
20211025 04:07:47
20211025 04:07:47 NVIDIA Driver version N/A

Any idea what might be causing this missing shared Nvidia library? I can run nvidia-smi just fine on my host. Tried rebooting. 

 

The only thing I can think is the extra params on the container didn't get copied over. Make sure your extra params (enable advanced view) on the container contains:

--runtime=nvidia

 

Link to comment

Having the same issue since upgrade to 0.24.5 today.  Possibly a coincidence.  I'm able to mine but I am not able to set any OC settings.

I have "--runtime=nvidia" as an extra parameter

 

nvidia-smi gives (ives temp, power readings but in t-rex web i see "undefined MHz" for their readings.

Mon Oct 25 16:24:33 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.74       Driver Version: 470.74       CUDA Version: 11.4     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:04:00.0 Off |                  N/A |
| 57%   53C    P2   177W / 240W |   4765MiB /  7982MiB |    100%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   1  NVIDIA GeForce ...  Off  | 00000000:0A:00.0 Off |                  N/A |
| 73%   61C    P2   342W / 350W |   4873MiB / 24268MiB |    100%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      9221      C   /trex/t-rex                      4763MiB |
|    1   N/A  N/A      9221      C   /trex/t-rex                      4871MiB |
+-----------------------------------------------------------------------------+

 

Link to comment

Running within a Docker, t-rex miner dials to load with "WARN: NVML error, code 12"

 

Output:
20211025 16:05:08 WARN: WATCHDOG: T-Rex does not exist anymore, restarting...
20211025 16:05:09 T-Rex NVIDIA GPU miner v0.24.5 - [Linux]
20211025 16:05:09 r.3ed63f02e8cb
20211025 16:05:09
20211025 16:05:09 WARN: Can't load NVML library, dlopen(25): failed to load libnvidia-ml.so, libnvidia-ml.so: cannot open shared object file: No such file or directory
20211025 16:05:09 WARN: NVML error, code 12
20211025 16:05:09 WARN: Can't initialize NVML. GPU monitoring will be disabled.
20211025 16:05:09
20211025 16:05:09 NVIDIA Driver version N/A
20211025 16:05:09
20211025 16:05:09 + GPU #0: [00:2d.0|2489] GeForce RTX 3060 Ti, 7981 MB
20211025 16:05:09

 

Workaround I implemented:
After starting docker containing with bash shell>connected to shell>'ln -s /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.465.31 /usr/lib/x86_64-linux-gnu/libnvidia-ml.so'

 

There was a symbolic link 'libnvidia-ml.so.1 -> libnvidia-ml.so.465.3' but no 'libnvidia-ml.so' link, this was the result after the workaround:
root@959faa8fc6eb:/trex# ls -la /usr/lib/x86_64-linux-gnu/ | grep -i libnvidia-ml
lrwxrwxrwx 1 root root 22 Oct 25 16:54 libnvidia-ml.so -> libnvidia-ml.so.465.31
lrwxrwxrwx 1 root root 22 Oct 25 16:54 libnvidia-ml.so.1 -> libnvidia-ml.so.465.31
-rwxr-xr-x 1 root root 1774808 May 18 14:18 libnvidia-ml.so.465.31

 

I don't know if this is an issue with the docker image 'ptrfrll/nv-docker-trex' I pulled into Unraid or with the T-Rex miner docker image, so I am just posting inform others and trying to see if this is a bug.

Link to comment

I'm having trouble figuring out why my T-rex miner unraid docker is reporting these errors. 

https://pastebin.com/DszU6vnZ

 

Snippet of errors below Looks to be some kind of nvidia driver issue? Have removed, reinstalled, stopped any potentially conflicting VM's. Appreciate any thoughts.

 

0211026 01:32:59 + GPU #0: [00:02.0|1b80] GeForce GTX 1080, 8119 MB
20211026 01:32:59 + GPU #1: [00:03.0|1e84] GeForce RTX 2070 SUPER, 7979 MB
20211026 01:32:59
20211026 01:32:59 WARN: DevFee 1% (ethash)
20211026 01:32:59
20211026 01:32:59 URL : stratum+tcp://us2.ethermine.org:4444
20211026 01:32:59 USER: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
20211026 01:32:59 PASS: x
20211026 01:32:59 WRK : UnRaid
20211026 01:32:59
20211026 01:32:59 WARN: NVML is disabled. You won't see GPUs stats.
20211026 01:32:59
20211026 01:32:59 Starting on: us2.ethermine.org:4444
20211026 01:32:59 WARN: API server is not bound to 127.0.0.1, consider setting up API key (see --api-key)
20211026 01:32:59 ApiServer: HTTP server started on 0.0.0.0:4067
20211026 01:32:59 ----------------------------------------------------
20211026 01:32:59 For control navigate to: http://172.x7.x.x:4067/trex
20211026 01:32:59 ----------------------------------------------------
20211026 01:32:59 Using protocol: stratum1.
20211026 01:32:59 Authorizing...
20211026 01:32:59 Authorized successfully.
20211026 01:32:59 ethash epoch: 449, block: 13490099, diff: 4.29 G
20211026 01:32:59 TREX: Can't initialize device [ID=0, GPU #0], NVML wasn't initialized
20211026 01:32:59 WARN: Miner is going to shutdown...
20211026 01:32:59 GPU #1: intensity 22
20211026 01:33:00 Main loop finished. Cleaning up resources...
20211026 01:33:00 ApiServer: stopped listening on 0.0.0.0:4067
20211026 01:33:03 GPU #1: generating DAG 4.51 GB for epoch 449 ...
20211026 01:33:04 T-Rex finished.
20211026 01:33:05 WARN: WATCHDOG: T-Rex does not exist anymore, restarting...
20211026 01:33:05 T-Rex NVIDIA GPU miner v0.24.5 - [Linux]
20211026 01:33:05 r.3ed63f02e8cb
20211026 01:33:05
20211026 01:33:05 WARN: Can't load NVML library, dlopen(25): failed to load libnvidia-ml.so, libnvidia-ml.so: cannot open shared object file: No such file or directory

20211026 01:33:05 WARN: NVML error, code 12

20211026 01:33:05 WARN: Can't initialize NVML. GPU monitoring will be disabled.
20211026 01:33:05
20211026 01:33:05 NVIDIA Driver version N/A

20211026 01:33:05
20211026 01:33:05 + GPU #0: [00:02.0|1b80] GeForce GTX 1080, 8119 MB
20211026 01:33:05 + GPU #1: [00:03.0|1e84] GeForce RTX 2070 SUPER, 7979 MB
20211026 01:33:05
20211026 01:33:05 WARN: DevFee 1% (ethash)
20211026 01:33:05
20211026 01:33:05 URL : stratum+tcp://us2.ethermine.org:4444
20211026 01:33:05 USER: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
20211026 01:33:05 PASS: x
20211026 01:33:05 WRK : UnRaid
20211026 01:33:05
20211026 01:33:05 WARN: NVML is disabled. You won't see GPUs stats.
20211026 01:33:05
20211026 01:33:05 Starting on: us2.ethermine.org:4444
20211026 01:33:05 WARN: API server is not bound to 127.0.0.1, consider setting up API key (see --api-key)
20211026 01:33:05 ApiServer: HTTP server started on 0.0.0.0:4067
20211026 01:33:05 ----------------------------------------------------

 

 

 

Link to comment
12 hours ago, PTRFRLL said:

 

The only thing I can think is the extra params on the container didn't get copied over. Make sure your extra params (enable advanced view) on the container contains:

--runtime=nvidia

 

I do have --runtime=nvidia in my extra parameters. I I have the latest ptrfrll/nv-docker-trex:cuda11 as of 2021-10-25. Here is my full docker run command:

/usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker create --name='trex' --net='container:vpn' --privileged=true -e TZ="xxxxxxxxxx/xxxxxxxxxx" -e HOST_OS="Unraid" -e 'WALLET'='xxxxxxxxxx' -e 'SERVER'='stratum2+tcp://xxxxxxxxxx.ethash.xxxxxxxxxx.xxx:xxxxx' -e 'WORKER'='1080ti' -e 'ALGO'='ethash' -e 'NVIDIA_VISIBLE_DEVICES'='GPU-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx' -e 'PASS'='xxxxxxxxxx' -e 'NVIDIA_DRIVER_CAPABILITIES'='all' -v '/mnt/user/appdata/trex':'/config':'rw' --runtime=nvidia 'ptrfrll/nv-docker-trex:cuda11'

And here is my config.json

{
        "ab-indexing" : false,
        "algo" : "ethash",
        "api-bind-http" : "0.0.0.0:4067",
        "api-bind-telnet" : "127.0.0.1:4068",
        "api-read-only" : false,
        "autoupdate" : false,
        "back-to-main-pool-sec" : 600,
        "coin" : "",
        "cpu-priority" : 2,
        "dag-build-mode" : "0",
        "devices" : "0",
        "exit-on-connection-lost" : false,
        "exit-on-cuda-error" : true,
        "exit-on-high-power" : 0,
        "extra-dag-epoch" : "-1",
        "fan" : "t:xx",
        "gpu-init-mode" : 0,
        "gpu-report-interval" : 30,
        "gpu-report-interval-s" : 0,
        "hashrate-avr" : 60,
        "hide-date" : false,
        "intensity" : "0",
        "keep-gpu-busy" : false,
        "kernel" : "0",
        "lhr-low-power" : false,
        "lhr-tune" : "0",
        "lock-cclock" : "0",
        "log-path" : "",
        "low-load" : "0",
        "monitoring-page" :
        {
                "graph_interval_sec" : 3600,
                "update_timeout_sec" : 10
        },
        "mt" : "0",
        "no-color" : false,
        "no-hashrate-report" : false,
        "no-nvml" : false,
        "no-strict-ssl" : false,
        "no-watchdog" : false,
        "pci-indexing" : false,
        "pl" : "xxxW",
        "pools" :
        [
                {
                        "pass" : "xxxxxxxxxx",
                        "url" : "stratum2+tcp://xxxxxxxxxx.ethash.xxxxxxxxxx.xxx:xxxxx",
                        "user" : "xxxxxxxxxx",
                        "worker" : "1080ti"
                }
        ],
        "protocol-dump" : false,
        "reconnect-on-fail-shares" : 10,
        "retries" : 3,
        "retry-pause" : 10,
        "script-crash" : "",
        "script-epoch-change" : "",
        "script-exit" : "",
        "script-low-hash" : "",
        "script-start" : "",
        "send-stales" : false,
        "sharerate-avr" : 600,
        "temperature-color" : "67,77",
        "temperature-limit" : 0,
        "temperature-start" : 0,
        "time-limit" : 0,
        "timeout" : 300,
        "validate-shares" : false,
        "watchdog-exit-mode" : "",
        "worker" : "1080ti"
}

 

Edited by ZooMass
Remove link
Link to comment

I'm using T-Rex 0.24.5 and can't for the life of me get out of Set config error (API readonly mode is activated).  I have tried to change it in the config and then load the container in unraid and I'm still in readonly mode.  I've tried the webui settings, turned off readonly and save, won't let me.  Try to enter a password, can't save.  What am I missing?

Link to comment
1 hour ago, JC2020 said:

I'm using T-Rex 0.24.5 and can't for the life of me get out of Set config error (API readonly mode is activated).  I have tried to change it in the config and then load the container in unraid and I'm still in readonly mode.  I've tried the webui settings, turned off readonly and save, won't let me.  Try to enter a password, can't save.  What am I missing?

 

I need to add the --api-key flag when the executable is started, so it's on my end. I'll try to get that added here soon.

 

https://github.com/trexminer/T-Rex/wiki/WebUI#security

Link to comment

Ok. Latest image reverts T-Rex to 0.24.2, the last known working version without the NVML warnings. I also added support for the API Key. By default the password for the webUI is Password1

 

You can (and should) override this by adding the API_PASSWORD environment variable to the container in the Unraid UI:

password.png.c24aceced25f973b0789c4c17f348d84.png

Link to comment
5 hours ago, PTRFRLL said:

Ok. Latest image reverts T-Rex to 0.24.2, the last known working version without the NVML warnings. I also added support for the API Key. By default the password for the webUI is Password1

 

You can (and should) override this by adding the API_PASSWORD environment variable to the container in the Unraid UI:

password.png.c24aceced25f973b0789c4c17f348d84.png

Just pulled the latest image as of 2021-10-27, T-Rex miner version 0.24.2, it works again with no Nvidia warnings! Thank you for the quick rollback.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.