Jellyfin Forum
Issues with Transcoding on Proxmox - 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: Issues with Transcoding on Proxmox (/t-issues-with-transcoding-on-proxmox)



Issues with Transcoding on Proxmox - Alvin - 2024-03-16

Dear Jellyfin Community,
Dear Supporter of Jellyfin,
I have since a few weeks a big problem with my jellyfin Hardwartranscoding on my proxmox server.
I installed jellyfin directly on an pvc with ubuntu 22.04 without any docker ore something. I set up hardwaretranscoding, and it worked.
But after a few weeks i become an error. I tried everything to solve it, so may someone help me.
i postet my log file on https://logpaste.com/9iqZuE0d. I hope you can find the importent thinks in there.
I have an Intel i5-8259U (8) @ 3.800GHz CPU with an integraded Intel CoffeeLake-U GT3e [Iris Plus Graphics 655] GPU.

Please can some help me to solve the problem


RE: Issues with Transcoding on Proxmox - TheDreadPirate - 2024-03-17

In the Ubuntu container is there anything in /dev/dri?


RE: Issues with Transcoding on Proxmox - Alvin - 2024-03-17

root@jellyfin-tv:~# ls /dev/dri
by-path card0 renderD128
root@jellyfin-tv:~#


RE: Issues with Transcoding on Proxmox - TheDreadPirate - 2024-03-17

Can you run these commands in Ubuntu?

sudo /usr/lib/jellyfin-ffmpeg/vainfo --display drm --device /dev/dri/renderD128

sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=vaConfused-facedev/dri/renderD128 -init_hw_device opencl@va


RE: Issues with Transcoding on Proxmox - Alvin - 2024-03-17

root@jellyfin-tv:/Festplatte# sudo /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® Gen Graphics - 24.1.1 (f5f09c4)
vainfo: Supported profile and entrypoints
      VAProfileNone                  : VAEntrypointVideoProc
      VAProfileNone                  : VAEntrypointStats
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264Main              : VAEntrypointVLD
      VAProfileH264Main              : VAEntrypointEncSlice
      VAProfileH264Main              : VAEntrypointFEI
      VAProfileH264Main              : VAEntrypointEncSliceLP
      VAProfileH264High              : VAEntrypointVLD
      VAProfileH264High              : VAEntrypointEncSlice
      VAProfileH264High              : VAEntrypointFEI
      VAProfileH264High              : VAEntrypointEncSliceLP
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileJPEGBaseline          : VAEntrypointVLD
      VAProfileJPEGBaseline          : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointFEI
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointEncSlice
      VAProfileHEVCMain              : VAEntrypointVLD
      VAProfileHEVCMain              : VAEntrypointEncSlice
      VAProfileHEVCMain              : VAEntrypointFEI
      VAProfileHEVCMain10            : VAEntrypointVLD
      VAProfileHEVCMain10            : VAEntrypointEncSlice
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
root@jellyfin-tv:/Festplatte# sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=vaConfused-facedev/dri/renderD128 -init_hw_device opencl@va
ffmpeg version 5.1.4-Jellyfin Copyright © 2000-2023 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      57. 28.100 / 57. 28.100
  libavcodec    59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter    8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample  4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[AVHWDeviceContext @ 0x59ec85814540] Trying to use DRM render node for device 0.
[AVHWDeviceContext @ 0x59ec85814540] libva: VA-API version 1.20.0
[AVHWDeviceContext @ 0x59ec85814540] libva: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
[AVHWDeviceContext @ 0x59ec85814540] libva: Found init function __vaDriverInit_1_20
[AVHWDeviceContext @ 0x59ec85814540] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x59ec85814540] Initialised VAAPI connection: version 1.20
[AVHWDeviceContext @ 0x59ec85814540] VAAPI driver: Intel iHD driver for Intel® Gen Graphics - 24.1.1 (f5f09c4).
[AVHWDeviceContext @ 0x59ec85814540] Driver not found in known nonstandard list, using standard behaviour.
Invalid device specification "opencl@va": invalid source device name
Failed to set value 'opencl@va' for option 'init_hw_device': Invalid argument
Error parsing global options: Invalid argument
root@jellyfin-tv:/Festplatte#


RE: Issues with Transcoding on Proxmox - TheDreadPirate - 2024-03-17

Code:
sudo apt list --installed | grep intel

If you don't have opencl installed.

Code:
sudo apt install -y intel-opencl-icd



RE: Issues with Transcoding on Proxmox - Alvin - 2024-03-17

root@jellyfin-tv:/Festplatte# sudo apt list --installed | grep intel

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

intel-gpu-tools/jammy,now 1.26-2 amd64 [installed]
intel-media-va-driver-non-free/jammy-updates,now 22.3.1+ds1-1ubuntu0.1 amd64 [installed]
intel-opencl-icd/jammy,now 22.14.22890-1 amd64 [installed]
libdrm-intel1/jammy-updates,now 2.4.113-2~ubuntu0.22.04.1 amd64 [installed,automatic]
root@jellyfin-tv:/Festplatte#


RE: Issues with Transcoding on Proxmox - TheDreadPirate - 2024-03-18

(2024-03-17, 08:40 PM)Alvin Wrote: root@jellyfin-tvConfused-faceFestplatte# sudo apt list --installed | grep intel

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

intel-gpu-tools/jammy,now 1.26-2 amd64 [installed]
intel-media-va-driver-non-free/jammy-updates,now 22.3.1+ds1-1ubuntu0.1 amd64 [installed]
intel-opencl-icd/jammy,now 22.14.22890-1 amd64 [installed]
libdrm-intel1/jammy-updates,now 2.4.113-2~ubuntu0.22.04.1 amd64 [installed,automatic]
root@jellyfin-tvConfused-faceFestplatte#

If I understand how Proxmox works, I think you also need to ensure that these same packages are also installed on the Proxmox host.  You may need to add "non-free" to the apt config on Proxmox since Debian doesn't include it by default.