Use Intel Quick Sync/ iGPU in A dedicated Server
... / Use Intel Quick Sync/ iGP...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Use Intel Quick Sync/ iGPU in A dedicated Server

by
MeirB
Created on 2021-11-27 09:57:44 (edited on 2024-09-04 14:24:48) in Dedicated Servers

I have a dedicated server with the following HW:

CPU: Intel(R) Xeon(R) E-2386G CPU @ 3.50GHz
Motherboard: Manufacturer: ASRockRack, Product Name: E3C252D4U-2T/OVH

According to the Intel website, E-2386G has Intel Quick Sync, and I want to use it.
I tried to check which VGA I have in the system (expected to see Intel + the local), this is the output:

05:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 41)

I.e., the Intel iGPU don't recognize at all in the system, I tried to check in `/dev/dri` what are the existing devices there, this is the output:

ls -alh /dev/dri
total 0
drwxr-xr-x 3 root root 80 Sep 19 10:28 .
drwxr-xr-x 18 root root 4.2K Sep 20 13:05 ..
drwxr-xr-x 2 root root 60 Sep 19 10:28 by-path
crw-rw---- 1 root video 226, 0 Sep 19 10:28 card0

When I tried to run `vainfo` tool, I get the following results:

Vanila run:

vainfo
error: can't connect to X server!
libva info: VA-API version 1.7.0
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
vaInitialize failed with error code -1 (unknown libva error),exit

Run after setting `export LIBVA_DRIVER_NAME=i965`:

vainfo
error: can't connect to X server!
libva info: VA-API version 1.7.0
libva info: User environment variable requested driver 'i965'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_6
libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

Run with sudo:

sudo vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.7.0
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
vaInitialize failed with error code -1 (unknown libva error),exit

How can I use Intel Quick Sync?