2025-09-07, 04:53 AM
(This post was last modified: 2025-09-07, 04:56 AM by 화정큐삼. Edited 2 times in total.)
I recently tried Jellyfin hardware transcoding on a Haswell processor (i5-4210U, i3-4160T).
Jellyfin seems to have a default setting that uses the iHD driver instead of the i965 driver.
So, I forced the i965 driver to be used as follows:
export LIBVA_DRIVER_NAME=i965
This effectively forced Jellyfin's ffmpeg to use the i965 driver as the default.
However, Intel discontinued support for the i965 driver in 2019, which was when 4K video was first becoming widespread.
The i965 driver's limitation is that it cannot perform hardware transcoding of 4K video.
(It switches to software transcoding, resulting in nearly 100% CPU usage.)
Hardware transcoding from 1080p to 720p works without issue. While it would be nice if the iHD, which supports QSV, could function properly,
this also causes problems in Jellyfin.
Similarly, software transcoding is switched, resulting in nearly 100% CPU usage.
The reason for this issue is believed to be that both drivers lack the processing power for 4K video on Haswell's Gen7 iGPU.
The environment I tested was Synology DS918+ DSM 7.2.2 for the i5-4210U,
and Proxmox 8.4 (kernel 6.8.12-14-pve) for the i3-4160T.
For Proxmox, Jellyfin and libva must be compiled and installed on the host.
lxc also fails with i965.
Jellyfin seems to have a default setting that uses the iHD driver instead of the i965 driver.
So, I forced the i965 driver to be used as follows:
export LIBVA_DRIVER_NAME=i965
This effectively forced Jellyfin's ffmpeg to use the i965 driver as the default.
However, Intel discontinued support for the i965 driver in 2019, which was when 4K video was first becoming widespread.
The i965 driver's limitation is that it cannot perform hardware transcoding of 4K video.
(It switches to software transcoding, resulting in nearly 100% CPU usage.)
Hardware transcoding from 1080p to 720p works without issue. While it would be nice if the iHD, which supports QSV, could function properly,
this also causes problems in Jellyfin.
Similarly, software transcoding is switched, resulting in nearly 100% CPU usage.
The reason for this issue is believed to be that both drivers lack the processing power for 4K video on Haswell's Gen7 iGPU.
The environment I tested was Synology DS918+ DSM 7.2.2 for the i5-4210U,
and Proxmox 8.4 (kernel 6.8.12-14-pve) for the i3-4160T.
For Proxmox, Jellyfin and libva must be compiled and installed on the host.
lxc also fails with i965.