Jellyfin Forum
SOLVED: hardware encoding fails - 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: hardware encoding fails (/t-solved-hardware-encoding-fails)

Pages: 1 2 3


RE: hardware encoding fails - XperiaPlay1998 - 2024-05-08

Since the permission did not wanna work I re added the app and add the group directly and it seemed to have fixed it since I dont get a log server log file but the transcoder is now still broken.

For extra Info I added my setting as shown in the dashboard.
   
All settings below this screenshot are default. the "Prefer OS native DXVA or VA-API hardware decoders" also tested unchecked.


RE: hardware encoding fails - TheDreadPirate - 2024-05-08

What kernel is your system running?

Code:
uname -a

Also, check for what linux-firmware packages you have installed.

Code:
sudo apt list --installed | egrep "firmware-linux|linux-firmware"

What is the output of both commands.


RE: hardware encoding fails - XperiaPlay1998 - 2024-05-08

1. "Linux truenas 6.6.20-production+truenas #1 SMP PREEMPT_DYNAMIC Tue Apr 23 01:22:22 UTC 2024 x86_64 GNU/Linux"
2. results in nothing, doing just the sudo apt list --installed gives:
Code:
Package management tools are disabled on TrueNAS appliances.

Attempting to update SCALE with apt or methods other than the SCALE web
interface can result in a nonfunctional system.



RE: hardware encoding fails - TheDreadPirate - 2024-05-08

Can you try on a video that is not HDR? I want to test if non-tone mapped transcoding works. Even though the commands you used for testing in your opening post indicated it should be able to use openCL for tone mapping, I'm wondering if there is a kernel bug or something for tone mapping.


RE: hardware encoding fails - XperiaPlay1998 - 2024-05-08

It gives me still the same error as before

.txt   FFmpeg.Transcode SDR.txt (Size: 7.85 KB / Downloads: 35)


RE: hardware encoding fails - XperiaPlay1998 - 2024-05-10

Did a test with "Hardware acceleration" set to none and even that will fail.


.txt   FFmpeg.Transcode No ha.txt (Size: 14.79 KB / Downloads: 21)


RE: hardware encoding fails - Fate - 2024-05-10

can you share form the host: "sudo dmesg | grep i915"


RE: hardware encoding fails - XperiaPlay1998 - 2024-05-10

well it shows an error then.

Code:
[    6.510126] i915 0000:03:00.0: [drm] Finished loading DMC firmware i915/dg2_dmc_ver2_08.bin (v2.8)
[    6.511110] i915 0000:03:00.0: [drm] *ERROR* GT0: HuC firmware i915/dg2_huc_gsc.bin: fetch failed -ENOENT
[    6.511117] i915 0000:03:00.0: [drm] GT0: HuC firmware(s) can be downloaded from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[    6.517034] i915 0000:03:00.0: [drm] GT0: GuC firmware i915/dg2_guc_70.bin version 70.5.1
[    6.529180] i915 0000:03:00.0: [drm] GT0: GUC: submission enabled
[    6.529185] i915 0000:03:00.0: [drm] GT0: GUC: SLPC enabled
[    6.529426] i915 0000:03:00.0: [drm] GT0: GUC: RC enabled
[    6.570842] [drm] Initialized i915 1.6.0 20201103 for 0000:03:00.0 on minor 0
[    6.571764] snd_hda_intel 0000:04:00.0: bound 0000:03:00.0 (ops i915_audio_component_bind_ops [i915])
[    6.572355] i915 0000:03:00.0: [drm] Cannot find any crtc or sizes
[    6.572860] i915 0000:03:00.0: [drm] Cannot find any crtc or sizes
[    6.588137] mei_gsc i915.mei-gscfi.768: FW not ready: resetting: dev_state = 2 pxp = 0
[    6.588167] mei_gsc i915.mei-gscfi.768: unexpected reset: dev_state = ENABLED fw status = 00000345 84670000 00000000 00000000 E0020002 00000000
[    6.588920] mei_gsc i915.mei-gsc.768: FW not ready: resetting: dev_state = 2 pxp = 2
[    6.588945] mei_gsc i915.mei-gsc.768: unexpected reset: dev_state = ENABLED fw status = 00000345 84670000 00000000 00000000 E0020002 00000000

PS: This is on truenas scale Dragonfish-24.04.0.


RE: hardware encoding fails - TheDreadPirate - 2024-05-10

That is what I was trying to get at when I asked whether "linux-firmware" was installed. Intel Arc requires "low power encoding" to be enabled in Jellyfin, but the HuC and GuC firmware needs to be installed via the linux-firmware package. Which TrueNAS isn't letting you install?

I was searching around and your problem is pretty common for the various Intel GPUs/iGPUs that require GuC/HuC firmware (Arc and Jasper Lake).

At this point you would be better served asking this question on the TrueNAS forum since this is not a Jellyfin problem and you aren't going to find a lot of TrueNAS experts here.

https://www.truenas.com/community/


RE: hardware encoding fails - XperiaPlay1998 - 2024-05-10

Thx I now know atleast what i have to search for.