Intel Quick Sync not passing through to Apps

Description

I'm running TrueNAS-SCALE-22.02.0 (fresh install) on a SuperMicro X12STH-LN4F with an Intel Xeon E-2356G and 64GB of ECC Ram. When I installed TrueNAS Scale, I did not know that the Intel Integrated Video was disabled in the BIOS by default. After days of trying to figure out why the Apps wouldn't transcode using QSV, I finally figured out that the host wasn't seeing the Intel integrated graphics. So, after digging around, I found the BIOS setting that enabled the integrated graphics. I'm now seeing /dev/dri:

benjamin@athena:/$ ls -alh /dev/dri
total 0
drwxr-xr-x 3 root root 80 Mar 19 09:40 .
drwxr-xr-x 18 root root 4.1K Mar 19 09:41 ..
drwxr-xr-x 2 root root 60 Mar 19 09:40 by-path
crw-rw---- 1 root video 226, 0 Mar 19 09:40 card0

However, when I try transcoding in either the TrueNAS official Plex app or the TrueCharts Jellyfin app, my CPU goes to 70% (for a UHD 4k movie), there's no button for me to edit the "GPU Configuration" in the Edit App three-dot menu, and when I go into the shell for each app I don't see a /dev/dri. I've tried deleting both the official Plex app and the truecharts Jellyfin app, and I'm getting the same thing; no option to configure graphics during install, no /dev/dri and no high CPU during any transcoding.

I've tried to install vainfo on the host and in the apps (and considering how many graphics issues I see in the forum, why isn't vainfo installed by default?) was unable to install vainfo.

lspci on the host shows the Intel QSV (device 4c9a):

benjamin@athena:/$ lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Device 4c9a (rev 04)
03:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 52)

But again, lspci isn't in the apps so I can't even verify if the app can see the GPU.

My current hypothesis is that the part of TrueNAS Scale that passes the GPU to the App only looks at the available hardware during install. I've already put a bunch of content in my pool, I'd rather not do a bare-metal reinstall if I can help it.

Problem/Justification

None

Impact

None

Activity

Waqar 
March 23, 2022 at 10:48 AM

you can do so by running following command:

 

 

 

Richard Hopkins-Lutz 
March 23, 2022 at 3:07 AM

I am seeing a similar issue with Alder Lake (i5 12400)

From ssh shell:

But containers do not have an option for /dev/dri, nor does it appear automagically. 

TrueNAS-SCALE-22.02.0.1

 

Benjamin Weiss 
March 22, 2022 at 11:50 PM

Okay, I've been doing some more digging. It may be that there's a kernel issue with this processor:

 

I haven't been able to find where to do the i915.force_probe=4c9a in TrueNAS Scale. Is there a preferred method?

Bonnie Follweiler 
March 22, 2022 at 8:42 PM

Thank you for your ticket submission .

This ticket is now in our queue to review.

An engineering representative will update with any further questions or details in the near future.

User Configuration Error

Details

Assignee

Reporter

Labels

Impact

Time remaining

0m

Components

Fix versions

Affects versions

Priority

Katalon Platform

Created March 22, 2022 at 10:30 AM
Updated July 6, 2022 at 8:58 PM
Resolved March 23, 2022 at 10:49 AM