Anyone have working iGPU acceleration (VAAPI) on a headless Proxmox Client?

jbrukardt

New Member
Nov 1, 2021
1
0
1
79
Man, I am having a hard time with this. It shouldnt be this hard.

Hardware: Kaby Lake (i5-7600), 8gb RAM, 1TB NVmE, HDMI hooked up to mobo, no discrete GPU

Host Environment: Proxmox 7, ZFS, IOMMU and PCI passthrough fully enabled on proxmox host

Guest Environment: Debian bullseye, non-free, 00:2:00 (Intel 630) passed in as a PCI passthrough, with flag "primary GPU, all functions, rom-bar" checked, Q35 and UEFI Bios

What I want to do: Have hardware video acceleration work. Primary for use with plex/jellyfin/frigate/etc.

Software Environment: vainfo, intel-media-va-driver-non-free installed, chrome remote desktop for access, environment variables set as follows:

Code:
LIBVA_DRIVERS_PATH=/usr/lib/x86_64-linux-gnu/dri
LIBVA_DRIVER_NAME=iHD


lspci | grep VGA output

Code:
06:10.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)


My Problem:

Vainfo wont output, i suspect this may have something to do with being headless.

Code:
libva info: VA-API version 1.13.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_12
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 2
vaInitialize failed with error code 2 (resource allocation failed),exit

The video acceleration works in precisely no scenarios, no MPV, no chromium, no jellyfin.
 
Hi,
I'm facing a similar issue after i tried install the intel-media-va-driver-non-free, it was working just fine before but had issues with subtitiles burn in.
Were you able to find a working solution. I'm really trying hard to not do a clean install of my proxmox installation ( which i know will fix the problem )
 

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!