Jump to content

Recommended Posts

Posted

I  also want to know  the answer to this question. I have a buddy with a GTX 1070 that could become obsolete if he upgrades. having CUDA support for old GPUs could be handy.

  • 2 weeks later...
Posted

I have a 1070 installed and it doesn't seem to work with Plex right now. I click enabled in TrueNAS scale under the Plex App and get this error

[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/plex/versions/1.1.6/templates/docker-compose.yaml", line 3, in top-level template code {% set c1 = tpl.add_container(values.consts.plex_container_name, values.plex.image_selector) %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/.ix-apps/app_configs/plex/versions/1.1.6/templates/library/base_v2_1_0/render.py", line 53, in add_container container = Container(self, name, image) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/.ix-apps/app_configs/plex/versions/1.1.6/templates/library/base_v2_1_0/container.py", line 68, in __init__ self.deploy: Deploy = Deploy(self._render_instance) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/.ix-apps/app_configs/plex/versions/1.1.6/templates/library/base_v2_1_0/deploy.py", line 15, in __init__ self.resources: Resources = Resources(self._render_instance) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/.ix-apps/app_configs/plex/versions/1.1.6/templates/library/base_v2_1_0/resources.py", line 24, in __init__ self._auto_add_gpus_from_values() File "/mnt/.ix-apps/app_configs/plex/versions/1.1.6/templates/library/base_v2_1_0/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_0.error.RenderError: Expected [uuid] to be set for GPU in slot [0000:01:00.0] in [nvidia_gpu_selection]

Posted
  On 12/16/2024 at 5:11 PM, radioman21 said:

I have a 1070 installed and it doesn't seem to work with Plex right now. I click enabled in TrueNAS scale under the Plex App and get this error

[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/plex/versions/1.1.6/templates/docker-compose.yaml", line 3, in top-level template code {% set c1 = tpl.add_container(values.consts.plex_container_name, values.plex.image_selector) %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/.ix-apps/app_configs/plex/versions/1.1.6/templates/library/base_v2_1_0/render.py", line 53, in add_container container = Container(self, name, image) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/.ix-apps/app_configs/plex/versions/1.1.6/templates/library/base_v2_1_0/container.py", line 68, in __init__ self.deploy: Deploy = Deploy(self._render_instance) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/.ix-apps/app_configs/plex/versions/1.1.6/templates/library/base_v2_1_0/deploy.py", line 15, in __init__ self.resources: Resources = Resources(self._render_instance) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/.ix-apps/app_configs/plex/versions/1.1.6/templates/library/base_v2_1_0/resources.py", line 24, in __init__ self._auto_add_gpus_from_values() File "/mnt/.ix-apps/app_configs/plex/versions/1.1.6/templates/library/base_v2_1_0/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_0.error.RenderError: Expected [uuid] to be set for GPU in slot [0000:01:00.0] in [nvidia_gpu_selection]

Expand  

I got the same error when trying to use a 1050ti.

Posted

Getting the same error when using nVidia Quadro K620.

Hardware acceleration enabled in Plex.
iGPU disabled in BIOS.
Enabling GPU in Plex settings in TrueNAS gives 'Failed to render compose templates' error.
Have selected 'Install nVidia drivers' in TrueNAS config and the update downloaded the drivers.


Takes 5-10 minutes to buffer 10 seconds of 4K video so definitely not using GPU for transcode.

[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/plex/versions/1.1.10/templates/docker-compose.yaml", line 3, in top-level template code {% set c1 = tpl.add_container(values.consts.plex_container_name, values.plex.image_selector) %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/.ix-apps/app_configs/plex/versions/1.1.10/templates/library/base_v2_1_6/render.py", line 53, in add_container container = Container(self, name, image) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/.ix-apps/app_configs/plex/versions/1.1.10/templates/library/base_v2_1_6/container.py", line 68, in __init__ self.deploy: Deploy = Deploy(self._render_instance) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/.ix-apps/app_configs/plex/versions/1.1.10/templates/library/base_v2_1_6/deploy.py", line 15, in __init__ self.resources: Resources = Resources(self._render_instance) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/.ix-apps/app_configs/plex/versions/1.1.10/templates/library/base_v2_1_6/resources.py", line 24, in __init__ self._auto_add_gpus_from_values() File "/mnt/.ix-apps/app_configs/plex/versions/1.1.10/templates/library/base_v2_1_6/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_6.error.RenderError: Expected [uuid] to be set for GPU in slot [0000:01:00.0] in [nvidia_gpu_selection]

Posted

I came across some threads that might be relevant to this while I was trying to figure out a different issue I was having with transcoding. I didn't keep those links, but did a search now and try this thread in the Truenas forums, perhaps it would be helpful.

  • Thanks 1
Posted
  On 11/29/2024 at 11:08 PM, CosmicJoker42 said:

I have an Intel A380 that I got for cheap that I'd like to use.

Expand  

The Alchemist cards should work great. Battlemage will have to wait until the kernel in TrueNAS (and then HexOS) is updated to support it.  I was going to use a B580 with Jellyfin, but from what I read about the TrueNAS Scale roadmap, i't'll be late Spring before it's fully supported in HexOS.

  • 1 month later...
Posted

I can confirm that I have just tested kernel 6.12 with Fangtooth 25.04 and golden 25.10, of course very earlier releases. Intel arc b570.

The drivers still seem to be missing and I cannot pass-through the gpus

Posted
  On 2/19/2025 at 9:24 PM, Master-spud said:

I do have an intel A380 working with Plex, I ended up having to do the plex install in Truenas  instead of Hexos and fight for a bit... but was able to get HW decoding going. 

Expand  

What did you do get it going and did you check the plex logs to ensure it actually is working rather than appearing like it is, but in actuality falling back to the cpu for transcoding?

Posted

Hey folks. Just want to share the the HexOS team is aware of the IntelARC GPU passthrough issue and has a test system being used to try and ID and diag/resolve the issue.

Thank you for your patience.

  • Like 3
  • Thanks 1
Posted

Honestly wish I was more help, new to this whole hexos/truenas thing... it is 100% working, plex shows HW in the dashboard when transcoding and CPU usage doesn't jump with 6 transcoded 4k streams going. 

 

As to what I did... I tried installing plex through Hexos, which made the folders and stuff for me, but transcoding didn't work despite showing the GPU, ended up uninstalling plex, and reinstalling via truenas using the default save paths that Hexos did, that also didn't work. I then uninstalled again and installed using truenas default install paths, and just adding the paths for my movie storage. Then the transcoding started working fine. I'm sure it's some permission issue in the background somewhere, but I couldn't figure it out but this worked for me. Your mileage may very lol

  • Thanks 1
  • 3 weeks later...
Posted
  On 2/19/2025 at 10:28 PM, Dylan said:

Hey folks. Just want to share the the HexOS team is aware of the IntelARC GPU passthrough issue and has a test system being used to try and ID and diag/resolve the issue.

Thank you for your patience.

Expand  

Hey - Wanted to say I also have a IntelARC gpu for transcoding that is not playing nice with the HexOS Install.


Willing to help figure this out / test things however is needed. Just hit me up!

Model: https://www.asrock.com/Graphics-Card/Intel/Intel Arc A310 Low Profile 4GB/
CPU: Ryzen 3950x (No onboard graphics)
Board: https://www.gigabyte.com/in/Motherboard/X570-AORUS-ELITE-WIFI-rev-1x/sp#sp


Enabled the "Passthrough non-nvidia GPU"  option, and Plex can see the GPU, but will not use it. 

image.png.3ff88d1c5bdf4d7bee62f67f413a7c5b.png

Plex Dashboard showing transcoding happening but no (hw) next to Transcode - meaning CPU transcoding is happening. 
image.png.9cb3339ed324b8b96e579a7f29996d2b.png

Plex showing the card as listed and selected as transcode device:
image.png.afd899da051a125849a7c123aee0847d.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...