Make non-Nvidia GPUs selectible for TrueNAS Apps GPU passthrough

Problem/Justification
Currently, users can only expose all non-Nvidia GPUs wholesale to TrueNAS apps, like Jellyfin or Plex. This makes it harder for users to isolate/designate GPUs to specific containers or workloads and introduces points of failure to multi-GPU setups.

Impact
Users will be able to use TrueNAS for more use-cases and as a better container host for GPU-based applications. It will help tremendously with containers that just grab whatever GPU they find available. Users with single GPUs or no GPU-based containers will not be affected by the change.

User Story
A user installs a second non-Nvidia GPU to dedicate to a specific container. With the new feature, selecting a GPU for a specific container would work the same way it already does for Nvidia-based GPUs.

I would appreciate this so very much, to get a clean separation between applications on my GPUs.

This feature has been suggested before, but was not moved over from Jira:

For Plex I’m able to specify which GPU I want to be used when I got to edit the config:

Am I misunderstanding something?

Both the Jira ticket & link to the old forums were before the switch to docker if I’m not mistaken.

1 Like

I have an Intel and AMD GPU in this system and get no selection at all:

But you are right, the basic feature exists for Nvidia, which I was not aware of, so I may reword the request to include other manufacturers as well. Just never saw the selection, as I never had a card by Nvidia in use with TrueNAS.

1 Like

Alright, now that makes a lot more sense! I fully agree that some selectability regardless of nvidia/amd/intel would be a great feature. +1 vote from me

1 Like