Jellyfin Forum
SOLVED: Unable to transcode videos - 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: Unable to transcode videos (/t-solved-unable-to-transcode-videos)

Pages: 1 2 3 4


Unable to transcode videos - seelk - 2024-08-04

Jellyfin fails to transcode videos.  This was working in the past but I am not sure what and when it changed.  I'm running an LXC in Proxmox dedicated to Jellyfin.  The video card is an Intel Arc A380:

Code:
: /usr/lib/jellyfin-ffmpeg/vainfo --display drm --device /dev/dri/renderD128
Trying display: drm
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.20.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.1.1 (f5f09c4)
vainfo: Supported profile and entrypoints
      VAProfileNone                  : VAEntrypointVideoProc
      VAProfileNone                  : VAEntrypointStats
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264Main              : VAEntrypointVLD
      VAProfileH264Main              : VAEntrypointEncSliceLP
      VAProfileH264High              : VAEntrypointVLD
      VAProfileH264High              : VAEntrypointEncSliceLP
      VAProfileJPEGBaseline          : VAEntrypointVLD
      VAProfileJPEGBaseline          : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileHEVCMain              : VAEntrypointVLD
      VAProfileHEVCMain              : VAEntrypointEncSliceLP
      VAProfileHEVCMain10            : VAEntrypointVLD
      VAProfileHEVCMain10            : VAEntrypointEncSliceLP
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointEncSliceLP
      VAProfileVP9Profile1            : VAEntrypointVLD
      VAProfileVP9Profile1            : VAEntrypointEncSliceLP
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointEncSliceLP
      VAProfileVP9Profile3            : VAEntrypointVLD
      VAProfileVP9Profile3            : VAEntrypointEncSliceLP
      VAProfileHEVCMain12            : VAEntrypointVLD
      VAProfileHEVCMain422_10        : VAEntrypointVLD
      VAProfileHEVCMain422_10        : VAEntrypointEncSliceLP
      VAProfileHEVCMain422_12        : VAEntrypointVLD
      VAProfileHEVCMain444            : VAEntrypointVLD
      VAProfileHEVCMain444            : VAEntrypointEncSliceLP
      VAProfileHEVCMain444_10        : VAEntrypointVLD
      VAProfileHEVCMain444_10        : VAEntrypointEncSliceLP
      VAProfileHEVCMain444_12        : VAEntrypointVLD
      VAProfileHEVCSccMain            : VAEntrypointVLD
      VAProfileHEVCSccMain            : VAEntrypointEncSliceLP
      VAProfileHEVCSccMain10          : VAEntrypointVLD
      VAProfileHEVCSccMain10          : VAEntrypointEncSliceLP
      VAProfileHEVCSccMain444        : VAEntrypointVLD
      VAProfileHEVCSccMain444        : VAEntrypointEncSliceLP
      VAProfileAV1Profile0            : VAEntrypointVLD
      VAProfileAV1Profile0            : VAEntrypointEncSliceLP
      VAProfileHEVCSccMain444_10      : VAEntrypointVLD
      VAProfileHEVCSccMain444_10      : VAEntrypointEncSliceLP

FFmpeg log:  https://pastebin.com/T5MZQehU
Jellyfin log:  https://pastebin.com/YnJKCAxs

Please let me know if you require additional information.


RE: Unable to transcode videos - TheDreadPirate - 2024-08-04

I'm assuming you recently updated the Proxmox kernel to 6.8.8.

Starting with kernel 6.8.5 there is a kernel bug that almost entirely breaks transcoding with Intel Arc GPUs.

You need to roll back the kernel you are running to 6.8.4. Or YOLO and push ahead to 6.9.4+, which has patches that resolve the kernel bug for Intel Arc transcoding.

See this Proxmox user's comment on rolling back.

https://forum.jellyfin.org/t-hw-encoding-proxmox-lxc?pid=31593#pid31593


RE: Unable to transcode videos - seelk - 2024-08-04

(2024-08-04, 10:11 PM)TheDreadPirate Wrote: I'm assuming you recently updated the Proxmox kernel to 6.8.8.

Starting with kernel 6.8.5 there is a kernel bug that almost entirely breaks transcoding with Intel Arc GPUs.

You need to roll back the kernel you are running to 6.8.4. Or YOLO and push ahead to 6.9.4+, which has patches that resolve the kernel bug for Intel Arc transcoding.

See this Proxmox user's comment on rolling back.

https://forum.jellyfin.org/t-hw-encoding-proxmox-lxc?pid=31593#pid31593

This worked.  I rolled back to 6.8.4-3-pve (from 6.8.8-1-pve) and transcoding is working.  Thanks!


RE: Unable to transcode videos - seelk - 2024-09-02

I'm not sure what happened but Jellyfin is no longer able to transcode, even while running kernel 6.8.4-3-pve. Logs:

FFmpeg log: https://pastebin.com/CjVQt837
Jellyfin log: https://pastebin.com/LrkaTZzj


RE: Unable to transcode videos - TheDreadPirate - 2024-09-02

Did it update the kernel without you knowing? The error in the ffmpeg looks like the kernel did update to a bugged version.

uname -a


RE: Unable to transcode videos - seelk - 2024-09-02

(2024-09-02, 03:42 PM)TheDreadPirate Wrote: Did it update the kernel without you knowing?  The error in the ffmpeg looks like the kernel did update to a bugged version.

uname -a

I'm not sure if the kernel was updated.  How can I tell?

Code:
: uname -a
Linux jellyfin 6.8.4-3-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.4-3 (2024-05-02T11:55Z) x86_64 GNU/Linux

Code:
: ll /boot/*6.8.4-3*
-rw-r--r-- 1 root root  8335942 May  2 07:55 /boot/System.map-6.8.4-3-pve
-rw-r--r-- 1 root root  286900 May  2 07:55 /boot/config-6.8.4-3-pve
-rw-r--r-- 1 root root 61307905 May 27 09:14 /boot/initrd.img-6.8.4-3-pve
-rw-r--r-- 1 root root 14146664 May  2 07:55 /boot/vmlinuz-6.8.4-3-pve



RE: Unable to transcode videos - TheDreadPirate - 2024-09-02

Can you replicate the problem then immediately run this command?

Code:
sudo dmesg | grep i915 > /tmp/dmesg.txt

Then share that text file via pastebin.


RE: Unable to transcode videos - seelk - 2024-09-03

(2024-09-02, 04:51 PM)TheDreadPirate Wrote: Can you replicate the problem then immediately run this command?

Code:
sudo dmesg | grep i915 > /tmp/dmesg.txt

Then share that text file via pastebin.

Code:
sudo dmesg | grep i915
I tried running the command on both Proxmox and the LXC and it produces no output.


RE: Unable to transcode videos - TheDreadPirate - 2024-09-03

Reboot the LXC and re-run that command.


RE: Unable to transcode videos - seelk - 2024-09-06

(2024-09-03, 01:44 PM)TheDreadPirate Wrote: Reboot the LXC and re-run that command.

I rebooted the LXC and ran the command.  It produced no results.