Jellyfin Forum
SOLVED: Problems with TRANSCODING (TrueNAS) - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Problems with TRANSCODING (TrueNAS) (/t-solved-problems-with-transcoding-truenas)



Problems with TRANSCODING (TrueNAS) - Castor the cat - 2024-09-22

Here is the issue i'm facing:

i've installed and cofigured jellyfin on my truenas server and for the most part everything works, but i cannot enable hardware transcoding, resuling in high CPU usage on the host system, my CPU does support Intel QuickSync and i wouldl ike to use that, in truenas i did enable "Passthrough available (non-NVIDIA) GPUs" and the cotainer now has a /dev/dri/ folder with the card0 at his disposal...

The problem is that when i try to enable the transcoding and selecting (Intel QuickSync QSV) option Even if i disable all the "Enable hardware decoding for:" when i try to play anything the apps (both on my firestick and browser) will return an error. of coruse streaming works fine on the desktop app and IOS since those support direct streaming, i also tryed to use linuxServer's image with the additional intel mod but still no luck.. the same issue accours.

What i'm doing wronk?-

I need help.


RE: Problems with TRANSCODING (TrueNAS) - TheDreadPirate - 2024-09-22

What model CPU do you have? Also, card0 is not the device needed for Quick Sync. It would be renderD128.


RE: Problems with TRANSCODING (TrueNAS) - Castor the cat - 2024-09-22

(2024-09-22, 06:29 PM)TheDreadPirate Wrote: What model CPU do you have?
The host system is powered by:
Intel Celeron N5105
As intel.ark confirms that this specific model has quicksync capabilities.

(2024-09-22, 06:29 PM)TheDreadPirate Wrote: It would be renderD128.
I can confirm that /dev/dri contains both card0 and renderD128


RE: Problems with TRANSCODING (TrueNAS) - TheDreadPirate - 2024-09-22

Can you share screenshots of Dashboard > Playback? And your ffmpeg log?

Also, did you follow the steps to setup low power encoding? That is required for Jasper Lake CPUs.

https://jellyfin.org/docs/general/administration/hardware-acceleration/intel/#low-power-encoding


RE: Problems with TRANSCODING (TrueNAS) - Castor the cat - 2024-09-22

(2024-09-22, 07:30 PM)TheDreadPirate Wrote: Also, did you follow the steps to setup low power encoding?  That is required for Jasper Lake CPUs.

I see, i didn't have any idea that i needed extra steps for the low power encoding, trying to follow the guide results, read-only errors, and some i915i915files are missing, wich might be the cause for the missing hardware decode capabilities, since this looks like to be a trueNas issue, i will go onto the truenas forum and see if i can get any help there, if i find the solution to this i will update this post.

Thanks a lot for pointing me to the right direction


RE: Problems with TRANSCODING (TrueNAS) - Castor the cat - 2024-09-23

Update:
Thank to suggestions on the truenas forums and TheDreadPirate, i was able to install the missing components, i will leave the "full instructions" so that other users may use this post as a small guidance:

1: Enable dev mode in true nas:
How to enable dev mode
Please note that this is not officially supported and because the way truenas works, the changes will be lost once you update the system (they will survive reboots)

2: Follow the official guide:
Low-Power Encoding Setup

Some commands will error out, but it did work in the end,
before it would take 99% CPU now when streaming i only see 3-6% usage

I will do my best to get in contact with ix-system (makers of truenas) and get them to include the missing modules in future updates