2023-11-26, 01:17 AM
(This post was last modified: 2023-11-26, 01:41 AM by motoridersd. Edited 2 times in total.)
I've followed the Intel GPU guide here: https://jellyfin.org/docs/general/admini...nux-setups
Almost everything works, except for the OpenCL runtime status, I get a segmentation fault when I run the command in the guide:
If I disable tone-mapping, playback of Dolby Vision content works, but colors look off. If I enable tone-mapping, the playback fails. I have "Prefer OS native DXVA or VA-API hardware decoders" checked, but my guess is the problem is related to the error above. ffmpeg is crashing when trying to use openCL.
Wasn't able to find much when searching around.
edit: Plex says Tone Mapping on Intel GPUs is only supported with Kaby Lake or higher, so maybe it is my Skylake CPU causing the segmentation fault.
Almost everything works, except for the OpenCL runtime status, I get a segmentation fault when I run the command in the guide:
Code:
sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device opencl@va
ffmpeg version 5.1.3-Jellyfin Copyright (c) 2000-2022 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 @ 0x55a76eebb4c0] libva: VA-API version 1.20.0
[AVHWDeviceContext @ 0x55a76eebb4c0] libva: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
[AVHWDeviceContext @ 0x55a76eebb4c0] libva: Found init function __vaDriverInit_1_20
[AVHWDeviceContext @ 0x55a76eebb4c0] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x55a76eebb4c0] Initialised VAAPI connection: version 1.20
[AVHWDeviceContext @ 0x55a76eebb4c0] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 23.4.0 (05e4d0d).
[AVHWDeviceContext @ 0x55a76eebb4c0] Driver not found in known nonstandard list, using standard behaviour.
Segmentation fault
If I disable tone-mapping, playback of Dolby Vision content works, but colors look off. If I enable tone-mapping, the playback fails. I have "Prefer OS native DXVA or VA-API hardware decoders" checked, but my guess is the problem is related to the error above. ffmpeg is crashing when trying to use openCL.
Wasn't able to find much when searching around.
edit: Plex says Tone Mapping on Intel GPUs is only supported with Kaby Lake or higher, so maybe it is my Skylake CPU causing the segmentation fault.