linuxserver / docker-jellyfin

GNU General Public License v3.0
630 stars 94 forks source link

Add NVIDIA_VISIBLE_DEVICES environment variable to dockerfiles. #152

Closed ddund closed 2 years ago

ddund commented 2 years ago

linuxserver.io

Following NVIDIA Contailer Toolkit installation guide for Podman and using an image with the environment variable NVIDIA_VISIBLE_DEVICES=all allows me to use NVENC HWA in Jellyfin. I think this would be interesting for others also using an NVIDIA GPU and Podman.


Desired Behavior

This would allow access NVIDIA GPUs when running with Podman.

Current Behavior

NVIDIA GPUs are not visible inside the container

github-actions[bot] commented 2 years ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

j0nnymoe commented 2 years ago

This isn't something we are going to add, We already state in the readme that you need to add this variable. Adding this with the all flag would cause issues for users with multi gpu systems.

ddund commented 2 years ago

This isn't something we are going to add, We already state in the readme that you need to add this variable. Adding this with the all flag would cause issues for users with multi gpu systems.

Yeah I was a bit to fast and didn't read all of the README. You're right.