Jellyfin Forum
HDR tone mapping with intel i gpu - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: HDR tone mapping with intel i gpu (/t-hdr-tone-mapping-with-intel-i-gpu)

Pages: 1 2


HDR tone mapping with intel i gpu - GrayHam - 2024-01-11

Jellyfin Version 10.8.13.0 
Ubuntu Server 22.04 kernel 6.5.0-14
Intel n100


Hello,
I am having issues with hdr tone mapping on baremetal linux where I get this output:

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-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --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 @ 0x55640b0974c0] libva: VA-API version 1.20.0
[AVHWDeviceContext @ 0x55640b0974c0] libva: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
[AVHWDeviceContext @ 0x55640b0974c0] libva: Found init function __vaDriverInit_1_20
[AVHWDeviceContext @ 0x55640b0974c0] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x55640b0974c0] Initialised VAAPI connection: version 1.20
[AVHWDeviceContext @ 0x55640b0974c0] VAAPI driver: Intel iHD driver for Intel® Gen Graphics - 23.4.0 (05e4d0d).
[AVHWDeviceContext @ 0x55640b0974c0] Driver not found in known nonstandard list, using standard behaviour.
[AVHWDeviceContext @ 0x55640b0c78c0] Failed to get number of OpenCL platforms: -1001.
Device creation failed: -19.
Failed to set value 'opencl@va' for option 'init_hw_device': No such device
Error parsing global options: No such device

I have not been able to figure out why this last error is happening on my system and I cannot seem to find anyone else with this issue that is on baremetal linux online.

Thanks


RE: HDR tone mapping with intel i gpu - TheDreadPirate - 2024-01-11

Skip to steps 5 and 6 for the Linux configuration.

https://jellyfin.org/docs/general/administration/hardware-acceleration/intel/#configure-on-linux-host

You probably didn't install the OpenCL packages.


RE: HDR tone mapping with intel i gpu - GrayHam - 2024-01-11

Unfortunately they are installed already which is why I am very confused. It is version 22.14.22890


RE: HDR tone mapping with intel i gpu - TheDreadPirate - 2024-01-11

Do you have Low Power Encoding enabled in Dashboard > Playback?

https://jellyfin.org/docs/general/administration/hardware-acceleration/intel/#configure-and-verify-lp-mode-on-linux

I can't remember if that is required for Alder Lake-N, specifically, but I know that it is for some Intel iGPUs.


RE: HDR tone mapping with intel i gpu - GrayHam - 2024-01-11

I do not have it enabled as I could not seem to find the directory that was listed at the end of the tutorial on step 4


RE: HDR tone mapping with intel i gpu - TheDreadPirate - 2024-01-11

What is the output of

Code:
sudo apt list --installed | grep -i intel



RE: HDR tone mapping with intel i gpu - GrayHam - 2024-01-11

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-microcode/jammy-updates,jammy-security,now 3.20231114.0ubuntu0.22.04.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]


RE: HDR tone mapping with intel i gpu - TheDreadPirate - 2024-01-11

You're missing this package. intel-media-va-driver-non-free

Code:
sudo apt install intel-media-va-driver-non-free



RE: HDR tone mapping with intel i gpu - GrayHam - 2024-01-11

Still getting that same error after I installed the package and restarted the server


RE: HDR tone mapping with intel i gpu - TheDreadPirate - 2024-01-11

Does transcoding work at all? You added the jellyfin user to the render group?

What is the full output of

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