Jellyfin transcoding issue intel iGPU

Hi!

I have a newly installed truenas scale setup wich i installed jellyfin on. I’m however having issues with the transcoding when trying to use the integrated gpu in my intel cpu.

Here are the spec and version i’m currently running:
cpu intel i3-13100
jellyfin
App Version 10.9.2
Chart Version 1.2.12

Truenas scale
Version Dragonfish-24.04.0

The issue i’m having is when trying to play a video, doesn’t matter what format 264,265,AV1. It tries loading the video and after 2 sec crashes with the following promt
jellyerror

Checking the logs in jellyfin gives me the following:

Stream mapping:
Stream #0:0#0:0 (hevc (hevc_qsv) → av1 (av1_qsv))
Stream #0:1#0:1 (truehd (native) → aac (libfdk_aac))
Press [q] to stop, [?] for help
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
[av1_qsv @ 0x560125e451c0] Selected ratecontrol mode is unsupported
[av1_qsv @ 0x560125e451c0] Current frame rate is unsupported
[av1_qsv @ 0x560125e451c0] Current picture structure is unsupported
[av1_qsv @ 0x560125e451c0] Current pixel format is unsupported
[av1_qsv @ 0x560125e451c0] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
[vost#0:0/av1_qsv @ 0x560125e4f380] Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[libfdk_aac @ 0x560125e0f840] 2 frames left in the queue on closing
Conversion failed!

ffmpeg settings are the following:

ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12 (Debian 12.2.0-14)
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-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.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0

Setting for the Igpu in truenas looks like this:

And here is some more info:

ls devdri

anyone whos runinto a similar issue?