Jellyfin Forum
Jellyfin Tone Mapping Errors with Arc 310 - 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: Jellyfin Tone Mapping Errors with Arc 310 (/t-jellyfin-tone-mapping-errors-with-arc-310)



Jellyfin Tone Mapping Errors with Arc 310 - Kevin Blansit - 2024-09-27

Hi. I was having an issue with enabling tone mapping using the lscr.io/linuxserver/jellyfin:latest docker image.

I was wondering if anyone could help guide me in debugging this issue.

I currently have my jellyfin setup as a docker container hosted on a debian VM host. I was able to successfully pass my Arc 310 GPU first trough to the VM and then into the jellyfin container. I did confirm that using intel quick sync does transcode my HEVC files (without tone mapping). I further confirmed using intel_gpu_top that I had activity for ffmpeg on my arc 310 (I do however get ~20-30% utilization for Video/1). The killer problem comes when I toggle 'enable tone mapping', which will return an error: 'Playback failed due to a fatal player error.'

Please see below for relevant docker config + ffmpeg error from the log.


Relevant environment flags in my docker compose:
      - JELLYFIN_ENABLE_HW_TRANSCODING=1
      - JELLYFIN_VAAPI=1


ffmpeg version 6.0.1-Jellyfin Copyright © 2000-2023 the FFmpeg developers
  built with gcc 13 (Ubuntu 13.2.0-23ubuntu4)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --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-opencl --enable-libdrm --enable-libxml2 --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-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      58.  2.100 / 58.  2.100
  libavcodec    60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter    9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample  4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
[AVHWDeviceContext @ 0x55ab92781c00] Failed to get number of OpenCL platforms: -1001.
Device creation failed: -19.
Failed to set value 'opencl=ocl@va' for option 'init_hw_device': No such device


RE: Jellyfin Tone Mapping Errors with Arc 310 - nyanmisaka - 2024-09-27

The LSIO image require an additional OpenCL mod.

https://github.com/linuxserver/docker-jellyfin#intel

Without installing this mod you can only use VPP tonemapping instead of OpenCL based one.