Hello, I am trying to enable hardware acceleration within Immich running on my TrueNAS Scale instance. I have been struggling to get my Nvidia 3070 to be detected by TrueNAS and just got the drivers installed, which then enabled the check box in the Immich configuration to tell the app to use the 3070, although when I select the box and save the configuration I get the following error:
FAILED:
[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/immich/versions/1.7.37/templates/docker-compose.yaml”, line 12, in top-level template code {% set postgres = tpl.deps.postgres(values.consts.pgvecto_container_name, “pgvecto_image”, pg_config, perm_container) %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File “/mnt/.ix-apps/app_configs/immich/versions/1.7.37/templates/library/base_v2_1_16/deps.py”, line 26, in postgres return PostgresContainer(self._render_instance, name, image, config, perms_instance) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/mnt/.ix-apps/app_configs/immich/versions/1.7.37/templates/library/base_v2_1_16/deps_postgres.py”, line 48, in init c = self._render_instance.add_container(name, image) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/mnt/.ix-apps/app_configs/immich/versions/1.7.37/templates/library/base_v2_1_16/render.py”, line 59, in add_container container = Container(self, name, image) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/mnt/.ix-apps/app_configs/immich/versions/1.7.37/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/immich/versions/1.7.37/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/immich/versions/1.7.37/templates/library/base_v2_1_16/resources.py”, line 24, in init self._auto_add_gpus_from_values() File “/mnt/.ix-apps/app_configs/immich/versions/1.7.37/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:01:00.0] in [nvidia_gpu_selection]
Any idea why this is happening or what I could do to solve the issue? Nvidia-smi shows the GPU although the drivers are version 550.127.05 and I can’t seem to get a later version, not sure if that is playing into it.