![]() |
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) Pages:
1
2
|
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 RE: Problems with TRANSCODING (TrueNAS) - imperyal - 2025-01-23 I'm stuck on the same issue. I did not enable Dev mode, and I would prefer not to do soo. But I did check for the i915 driver and it appears to be installed... In Jellyfin I have QSV selected and the two low-power options enabled. I installed Jellyfin from the "Discover Apps" section of TrueNas, and I'm using TrueNas Scale 24.10.1. I did enable the option "Passthrough available (non-NVIDIA) GPUs" I'm running an Intel i3-N305 CPU, does this CPU requires the xe driver? CMD: lspci -knn | grep -E "i915|xe|VGA|Display" RESPONSE: 00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-N [UHD Graphics] [8086:46d0] Kernel driver in use: i915 Kernel modules: i915 CMD: sudo dmesg | grep -E "i915|xe" RESPONSE: [ 0.000000] microcode: updated early: 0xe -> 0x17, date = 2023-12-07 [ 0.000000] NX (Execute Disable) protection: active [ 0.000024] MTRR map: 6 entries (3 fixed + 3 variable; max 23), built from 10 variable MTRRs [ 0.079213] ... fixed-purpose events: 3 [ 0.313833] pci 0000:00:1f.4: reg 0x20: [io 0xefa0-0xefbf] [ 7.031234] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point. [ 7.497606] RAPL PMU: API unit is 2^-32 Joules, 3 fixed counters, 655360 ms ovfl timer [ 7.787689] i915 0000:00:02.0: [drm] VT-d active for gfx access [ 7.787795] i915 0000:00:02.0: vgaarb: deactivate vga console [ 7.787844] i915 0000:00:02.0: [drm] Using Transparent Hugepages [ 7.788204] i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem ![]() [ 7.792485] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adlp_dmc.bin (v2.20) [ 7.796699] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/tgl_guc_70.bin version 70.20.0 [ 7.796705] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3 [ 7.800327] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads [ 7.800705] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled [ 7.800708] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled [ 7.801047] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled [ 7.801697] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized [ 7.853300] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0 [ 7.855390] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) [ 7.885019] fbcon: i915drmfb (fb0) is primary device [ 7.941778] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device CMD: sudo sh -c "cat /sys/kernel/debug/dri/0/gt*/uc/guc_info" RESPONSE: GuC firmware: i915/tgl_guc_70.bin status: RUNNING version: found 70.20.0 uCode: 334784 bytes RSA: 256 bytes GuC status 0x80030000: Bootrom status = 0x0 uKernel status = 0x0 MIA Core status = 0x3 Scratch registers: 0: 0x0 1: 0x1d73d7 2: 0x44000 3: 0x4 4: 0x40 5: 0x5d4 6: 0x46d00000 7: 0x0 8: 0x0 9: 0x0 10: 0x0 11: 0x0 12: 0x0 13: 0x0 14: 0x0 15: 0x0 GuC logging stats: Relay full count: 0 DEBUG: flush count 0, overflow count 0 CRASH: flush count 0, overflow count 0 CAPTURE: flush count 0, overflow count 0 CT enabled H2G Space: 2380 Head: 505 Tail: 505 G2H Space: 12284 Head: 3304 Tail: 3304 GuC Submission API Version: 1.9.0 GuC Number Outstanding Submission G2H: 0 GuC tasklet count: 0 Requests in GuC submit tasklet: Global scheduling policies: DPC promote time = 500000 Max num work items = 15 Flags = 0 CMD: sudo sh -c "cat /sys/kernel/debug/dri/0/gt*/uc/huc_info" RESPONSE: HuC firmware: i915/tgl_huc.bin status: RUNNING version: found 7.9.3 uCode: 589504 bytes RSA: 256 bytes HuC status: 0x00090001 RE: Problems with TRANSCODING (TrueNAS) - TheDreadPirate - 2025-01-23 (2025-01-23, 02:50 PM)imperyal Wrote: I'm stuck on the same issue. What issues are you having, exactly? Regarding the GuC and HuC firmware, that all looks good. The N305 does not use the Xe driver. RE: Problems with TRANSCODING (TrueNAS) - imperyal - 2025-01-23 No GPU transcoding, 80% CPU while transcoding 4K. Jellyfin was installed from the Apps menu on TrueNAS Scale, I think it's a Docker based thing, maybe something Docker related? Thank you! RE: Problems with TRANSCODING (TrueNAS) - TheDreadPirate - 2025-01-23 Can you share your ffmpeg? There are other transcoding tasks that still happen on the CPU. Audio transcoding and subtitle burn in always happen on the CPU. |