Plex Can't Select Nvidia GPU

In the Plex app config I see the choices for “Allocate x nvidia.com/GPU” where x is 0 to 5.

I have one GPU:
02:00.0 VGA compatible controller: NVIDIA Corporation GP107GL [Quadro P400] (rev a1)

But when I select 1, I receive the error message:

middlewared.service_exception.ValidationErrors: [EINVAL] values.plexGPU.nvidia.com/gpu: Invalid choice: 1

Why?

It seems the ix chart for Plex is really screwed up. I can’t transcode anything either without a storage error (different post).

This is a new install of TrueNAS from scratch, coming from 22.x version before using TrueCharts and everything worked perfectly.

Should I just go to nightly and try the 24.10 version in advance? :-/

Any hints would be appreciated.

having this same issue with a quadro P1000. the plex app had been working fine with my gpu selected for at least a year? now it fails to update unless i select gpu 0. now it won’t let me change the config back to 1 after an update.

I upgraded to TrueNAS-SCALE-24.10.1 and had to install NVIDIA drivers again.

After fixing the UUID issue, I noticed the GPU doesn’t show up in Plex even though it showed up a few months ago when I first converted to Electric Eel and had to manually add this fix in the config file:

Here’s a shot of my Plex config at /mnt/.ix-apps/user_config.yaml:

image

1 Like

Actually, even using Auto, it works:

~# nvidia-smi
Wed Dec 18 01:46:24 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.127.05             Driver Version: 550.127.05     CUDA Version: 12.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 RTX 4060        Off |   00000000:81:00.0 Off |                  N/A |
| 31%   48C    P2             N/A /  115W |     783MiB /   8188MiB |     15%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A    105371      C   ...lib/plexmediaserver/Plex Transcoder        776MiB |
+-----------------------------------------------------------------------------------------+

CPU usage was at 0-1%. It wasn’t being used for transcoding at all!