I used to allocate my nvidia GPU to my truecharts plex container. I removed that config, and added these variables to three truecharts apps (tdarr, tdarr node, plex) and now all three can access my GPU. Plex uses it for hw assisted transcoding, and tdarr uses it for gpu assisted full file health checks.
Code:
root@tnas[~]# nvidia-smi
Mon Aug 29 13:23:06 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.103.01 Driver Version: 470.103.01 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 T600 Off | 00000000:65:00.0 Off | N/A |
| 55% 71C P0 N/A / 41W | 2041MiB / 3909MiB | 12% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 104034 C ...diaserver/Plex Transcoder 98MiB |
| 0 N/A N/A 113339 C ...diaserver/Plex Transcoder 98MiB |
| 0 N/A N/A 116827 C ...diaserver/Plex Transcoder 95MiB |
| 0 N/A N/A 118993 C ...diaserver/Plex Transcoder 95MiB |
| 0 N/A N/A 126108 C tdarr-ffmpeg 1105MiB |
| 0 N/A N/A 127887 C tdarr-ffmpeg 273MiB |
| 0 N/A N/A 128250 C tdarr-ffmpeg 271MiB |
+-----------------------------------------------------------------------------+