Jellyfin Forum
UNRAID - QSV doesn't work but VAAPI does - 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: UNRAID - QSV doesn't work but VAAPI does (/t-unraid-qsv-doesn-t-work-but-vaapi-does)



UNRAID - QSV doesn't work but VAAPI does - cjcj2 - 2025-09-07

Hey all,
I've followed Ibracorps new video on setting up Jellyfin and the server is up and running fine, however when I am trying to do the hardware transcoding I am running into issues. I can get everything running when selecting VAAPI as the acceleration method, but when I select QVC no videos load at all and it gives the errors shown in the logs attached.
I followed everything in the video setup wise:

I have "Intel GPU TOP" & "GPU Statistics" plugin installed. 
I've used the Official Jellyfin image
I've added the "INTEL GPU: /dev/dri/" Device field and the "Transcoding: /dev/shm" field.
I've set the transcoding in Jellyfin to QSV, set the device to "/dev/dri/" and changed the transcode path to "/transcode"

I am using UNRAID 7.0.1, the plugins are up to date, and I have an i5-14400 CPU which is QSV compatible.


I think it has something to do with this part of the ffmpeg log but I'm struggling to find a fix:
Code:
AVHWDeviceContext @ 0x5602c45d3840] No VA display found for device /dev/dri/.
Device creation failed: -22.
Failed to set value 'vaapi=va:/dev/dri/,driver=iHD' for option 'init_hw_device': Invalid argument
Error parsing global options: Invalid argument

Any help is appreciated!


RE: UNRAID - QSV doesn't work but VAAPI does - bitmap - 2025-09-08

What does vainfo say inside the container/VM?


RE: UNRAID - QSV doesn't work but VAAPI does - nyanmisaka - 2025-09-08

You specified a directory, not a DRM device. It's not surprising that it would fail.


RE: UNRAID - QSV doesn't work but VAAPI does - cjcj2 - 2025-09-08

(2025-09-08, 01:57 AM)bitmap Wrote: What does vainfo say inside the container/VM?


Ran the command inside the container and this is everything it output:

error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.17 (libva 2.12.0)
vainfo: Driver version: Intel iHD driver for Intel® Gen Graphics - 23.1.1 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                  : VAEntrypointVideoProc
      VAProfileNone                  : VAEntrypointStats
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264Main              : VAEntrypointVLD
      VAProfileH264Main              : VAEntrypointEncSliceLP
      VAProfileH264High              : VAEntrypointVLD
      VAProfileH264High              : VAEntrypointEncSliceLP
      VAProfileJPEGBaseline          : VAEntrypointVLD
      VAProfileJPEGBaseline          : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileHEVCMain              : VAEntrypointVLD
      VAProfileHEVCMain              : VAEntrypointEncSliceLP
      VAProfileHEVCMain10            : VAEntrypointVLD
      VAProfileHEVCMain10            : VAEntrypointEncSliceLP
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointEncSliceLP
      VAProfileVP9Profile1            : VAEntrypointVLD
      VAProfileVP9Profile1            : VAEntrypointEncSliceLP
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointEncSliceLP
      VAProfileVP9Profile3            : VAEntrypointVLD
      VAProfileVP9Profile3            : VAEntrypointEncSliceLP
      VAProfileHEVCMain12            : VAEntrypointVLD
      VAProfileHEVCMain422_10        : VAEntrypointVLD
      VAProfileHEVCMain422_12        : VAEntrypointVLD
      VAProfileHEVCMain444            : VAEntrypointVLD
      VAProfileHEVCMain444            : VAEntrypointEncSliceLP
      VAProfileHEVCMain444_10        : VAEntrypointVLD
      VAProfileHEVCMain444_10        : VAEntrypointEncSliceLP
      VAProfileHEVCMain444_12        : VAEntrypointVLD
      VAProfileHEVCSccMain            : VAEntrypointVLD
      VAProfileHEVCSccMain            : VAEntrypointEncSliceLP
      VAProfileHEVCSccMain10          : VAEntrypointVLD
      VAProfileHEVCSccMain10          : VAEntrypointEncSliceLP
      VAProfileHEVCSccMain444        : VAEntrypointVLD
      VAProfileHEVCSccMain444        : VAEntrypointEncSliceLP
      VAProfileAV1Profile0            : VAEntrypointVLD
      VAProfileHEVCSccMain444_10      : VAEntrypointVLD
      VAProfileHEVCSccMain444_10      : VAEntrypointEncSliceLP