Hardware transcoding on truenas scale

Server Version#: 1.41.1.9057
Runs as app in truenas scale, version TrueNAS-24.04.2.2 (Drangonfish),
Plex Pass user,
The system has a Supermicro X11SSH-F mb, Intel Xeon Processor E3-1225 v6 cpu, 64GB ECC ram, dual 10G network and some hard drives.

From my research both cpu and mb support intel quicksync, and I’m able to see the “HD Graphics P630” device in the hardware transcoding menu.

Following these informations, and this link https://en.wikichip.org/wiki/intel/hd_graphics_p630 we can say I should be able to transcode my library on the go, since my files are all 1080p/4k h264/h265

The problem is: it doesn’t work.

When I start a movie I know would be transcoded, throws this VAAPI error 2 times and then proceeds to software transcode it. cpu goes to 100% and still isn’t enough for direct play, but it also disrupts my nas file transfer speed

[Req#6fba/Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
[Req#6fba/Transcode] Codecs: hardware transcoding: testing API vaapi for device '/dev/dri/renderD128' (HD Graphics P630)
[Req#6fba/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).

[Req#6fba/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: I/O error
[Req#6fba/Transcode] Could not create hardware context for hevc
[Req#6fba/Transcode] MDE: Selected protocol dash; container: mp4
[Req#6fba/Transcode] MDE: analyzing media item 342
[Req#6fba/Transcode] MDE: MOVIE_NAME_HERE: Direct Play is disabled
[Req#6fba/Transcode] MDE: MOVIE_NAME_HERE: media must be transcoded in order to use the dash protocol
[Req#6fba/Transcode] MDE: MOVIE_NAME_HERE: no direct play video profile exists for http/mkv/hevc
[Req#6fba/Transcode] MDE: MOVIE_NAME_HERE: no direct play video profile exists for http/mkv/hevc/ac3
[Req#6fba/Transcode] MDE: MOVIE_NAME_HERE: no direct play video profile exists for http/mkv/hevc/ac3
[Req#6fba/Transcode] MOVIE_NAME_HERE - video.bitDepth limitation applies: 10 > 8
[Req#6fba/Transcode] MOVIE_NAME_HERE - audio.channels limitation applies: 6 > 2
[Req#6fba/Transcode] MDE: MOVIE_NAME_HERE: Direct Streaming is disabled, so video stream will be transcoded
[Req#6fba/Transcode] MDE: MOVIE_NAME_HERE: no remuxable profile found, so video stream will be transcoded
[Req#6fba/Transcode] MDE: Cannot direct stream video stream due to profile or setting limitations
[Req#6fba/Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
[Req#6fba/Transcode] Codecs: hardware transcoding: testing API vaapi for device '/dev/dri/renderD128' (HD Graphics P630)
[Req#6fba/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).

[Req#6fba/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: I/O error
[Req#6fba/Transcode] Could not create hardware context for hevc
[Req#6fba/Transcode] MDE: MOVIE_NAME_HERE: Audio Direct Streaming is disabled, so video's audio stream will be transcoded
[Req#6fba/Transcode] MDE: Cannot direct stream audio stream due to profile or setting limitations
[Req#6fba/Transcode] MDE: MOVIE_NAME_HERE: selected media 0 / 342
[Req#6fba/Transcode] Streaming Resource: Adding session 0x......... which is using transcoder slot.  Used slots is now 1

I tried multiple settings for storage and played around whit the folder permissions, nothing worked.

I had to make a filter that optimizes all 4k content to 1080p just to be able to see my library from all the tvs in the house (some are 4k, some are 1080p)

the only thing I found is that truenas kernel throws an “edid block 0 is all zeros” warning multiple times a minute but I don’t think that this would stop the igpu from working. the motherboard does have ipmi so it has it’s own gpu, the cpu one is not connected to the back I/O

Any idea?

I’m new to trueNAS and have yet to get hardware transcoding on my NVIDIA 3090. But I’m guessing since you have an intel GPU your issue might be you either haven’t enabled GPU pass through via UEFI boot configs, or the plex app, or both?

Although this link is for Proxmox it would probably be helpful as somewhat of a guidance How to Configure Proxmox VE 8 for PCI/PCIE and NVIDIA GPU Passthrough - The Linux Forum

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.