Sounds like you enabled GPU isolation in the advanced settings and you’re attempting to run a docker image of Jellyfin. Would that be correct?
If so, disable GPU isolation and reboot. You may need to reinstall the Nvidia driver by unchecking the box, clicking save, then checking it and clicking save again. Reboot again.
nvidia-smi should then be able to pickup the hardware as it’s not loading that vfio driver. You will then be able to passthrough the GPU to the docker container.
The seems to have been part of the problem. I don’t even remember turning this on. I turned of GPU isolation and nvidia-smi is now returning as expected. However, when trying to add the GPU to Jellyfin it says unrecognized GPU and it errors when i try to save the configuration.
[EFAULT] Failed to render compose templates: Traceback (most recent call last): File “/usr/bin/apps_render_app”, line 33, in sys.exit(load_entry_point(‘apps-validation==0.1’, ‘console_scripts’, ‘apps_render_app’)()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/lib/python3/dist-packages/catalog_templating/scripts/render_compose.py”, line 47, in main render_templates_from_path(args.path, args.values) File “/usr/lib/python3/dist-packages/catalog_templating/scripts/render_compose.py”, line 19, in render_templates_from_path rendered_data = render_templates( ^^^^^^^^^^^^^^^^^ File “/usr/lib/python3/dist-packages/catalog_templating/render.py”, line 36, in render_templates ).render({‘ix_lib’: template_libs, ‘values’: test_values}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/lib/python3/dist-packages/jinja2/environment.py”, line 1301, in render self.environment.handle_exception() File “/usr/lib/python3/dist-packages/jinja2/environment.py”, line 936, in handle_exception raise rewrite_traceback_stack(source=source) File “/mnt/.ix-apps/app_configs/jellyfin/versions/1.1.21/templates/docker-compose.yaml”, line 3, in top-level template code {% set c1 = tpl.add_container(values.consts.jellyfin_container_name, “image”) %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File “/mnt/.ix-apps/app_configs/jellyfin/versions/1.1.21/templates/library/base_v2_1_16/render.py”, line 59, in add_container container = Container(self, name, image) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/mnt/.ix-apps/app_configs/jellyfin/versions/1.1.21/templates/library/base_v2_1_16/container.py”, line 94, in init self.deploy: Deploy = Deploy(self._render_instance) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/mnt/.ix-apps/app_configs/jellyfin/versions/1.1.21/templates/library/base_v2_1_16/deploy.py”, line 15, in init self.resources: Resources = Resources(self._render_instance) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/mnt/.ix-apps/app_configs/jellyfin/versions/1.1.21/templates/library/base_v2_1_16/resources.py”, line 24, in init self._auto_add_gpus_from_values() File “/mnt/.ix-apps/app_configs/jellyfin/versions/1.1.21/templates/library/base_v2_1_16/resources.py”, line 55, in _auto_add_gpus_from_values raise RenderError(f"Expected [uuid] to be set for GPU in slot [{pci}] in [nvidia_gpu_selection]") base_v2_1_16.error.RenderError: Expected [uuid] to be set for GPU in slot [0000:41:00.0] in [nvidia_gpu_selection]
Thanks to everyone who helped me find a working solution. The GPU section in Jellyfin config still shows Unknown but it is checked and running. I enabled hardware encoding and will now confirm if that is working as expected.