Proxmox 7 Install Intel Iris XE Graphic Driver (1135G7)

alanch522

New Member
Nov 25, 2021
6
0
1
36
Hi guys,

I'm fairly new to proxmox. The machine is i5-1135G7.

I am planning to setup a plex server with lxc and transcode/decode with iris xe. The CT template is Ubuntu 20.04.
I installed va-api but it seems not compatible with 11gen iris xe.

I followed the instruction and stuck at the beginning : https://ashu.io/blog/media-server-lxc-proxmox/

Code:
root@pve:~# lspci
00:00.0 Host bridge: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers (rev 01)
00:02.0 VGA compatible controller: Intel Corporation TigerLake GT2 [Iris Xe Graphics] (rev 01)
00:0a.0 Signal processing controller: Intel Corporation Device 9a0d (rev 01)
00:0d.0 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller (rev 01)
00:14.0 USB controller: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller (rev 20)
00:14.2 RAM memory: Intel Corporation Tiger Lake-LP Shared SRAM (rev 20)
00:16.0 Communication controller: Intel Corporation Tiger Lake-LP Management Engine Interface (rev 20)
00:17.0 SATA controller: Intel Corporation Device a0d3 (rev 20)
00:1c.0 PCI bridge: Intel Corporation Device a0bc (rev 20)
00:1c.5 PCI bridge: Intel Corporation Tigerlake PCH-LP PCI Express Root Port #6 (rev 20)
00:1c.6 PCI bridge: Intel Corporation Device a0be (rev 20)
00:1c.7 PCI bridge: Intel Corporation Tiger Lake-LP PCI Express Root Port #8 (rev 20)
00:1d.0 PCI bridge: Intel Corporation Tiger Lake-LP PCI Express Root Port #9 (rev 20)
00:1d.1 PCI bridge: Intel Corporation Device a0b1 (rev 20)
00:1f.0 ISA bridge: Intel Corporation Tiger Lake-LP LPC Controller (rev 20)
00:1f.3 Audio device: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)
00:1f.4 SMBus: Intel Corporation Tiger Lake-LP SMBus Controller (rev 20)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP SPI Controller (rev 20)
01:00.0 PCI bridge: ASMedia Technology Inc. Device 1182
02:03.0 PCI bridge: ASMedia Technology Inc. Device 1182
02:07.0 PCI bridge: ASMedia Technology Inc. Device 1182
03:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
05:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
06:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
07:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
08:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
09:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)

Code:
root@pve:~# ls /dev/dri
by-path  card0  renderD128
root@pve:~# ls -l /dev/dri
total 0
drwxr-xr-x 2 root root         80 Nov 24 22:01 by-path
crw-rw---- 1 root video  226,   0 Nov 24 22:01 card0
crw-rw---- 1 root render 226, 128 Nov 24 22:01 renderD128

Problem:
ON HOST I run:
apt install i965-va-driver vainfo
LIBVA_DRIVER_NAME=i965

If I run vainfo it returns:
Code:
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: User 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_1
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

I tried intel-media-driver:
Code:
root@pve:~# apt-get install intel-media-va-driver

returns:
Code:
root@pve:~# vainfo
error: can't connect to X server!
libva info: VA-API version 1.13.0
libva info: User environment variable requested driver 'i965'
libva info: Trying to open /usr/local/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

Has anyone had success with iris xe graphic enabled plex hw transcode/decode in lxc or iGPU passthrough?
 
Last edited:
libva info: VA-API version 1.1.0 libva info: va_getDriverName() returns 0 libva info: User 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_1 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

driver can not be loaded correctly
 
i spend 2 week of search for proxmox and passthrough. Check on the forum for intel onboard and 1- forget about this complicated setup. Lxc stuff just give few % diff vs a vm. Start with a normal vm, pass the gfx to a normal os, get a display. then after check for the accelerator. just by itself proper setting to passthrough based on your specific hardw is a challenge and multiple combinaison of setting need to be tested to have it work properly. Just need to be done one, then you will master your system and do more with it later as well.
 
i spend 2 week of search for proxmox and passthrough. Check on the forum for intel onboard and 1- forget about this complicated setup. Lxc stuff just give few % diff vs a vm. Start with a normal vm, pass the gfx to a normal os, get a display. then after check for the accelerator. just by itself proper setting to passthrough based on your specific hardw is a challenge and multiple combinaison of setting need to be tested to have it work properly. Just need to be done one, then you will master your system and do more with it later as well.
thank you.
what os do u use as vm now? and what's ur iGPU?

I tried passthrough to windows 10, the graphic not working with code 43. also tried ubuntu, the graphic wouldn't enable hw transcode somehow.
After failing with passthrough iGPU to windows10 and ubuntu, I am working on lxc if there is a possible way.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!