Hardware transcoding in VM

johnvick

Member
Mar 1, 2022
27
3
8
65
Hi,

New user - I have Proxmox running on NUC clone gen 11 i7. I setup an Ubuntu 20.04 VM, installed vainfo (on host and in VM), docker, portainer and then jellyfin.

vainfo on host gives the expected result but in the VM:

root@proxmox-ubuntu:~# 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

So no hardware transcoding.

Any help to get this working is appreciated.
 
Did you PCI passthrough a GPU to your VM? Otherwise you won't be able to use hardware accelleration as your VM got no GPU, because VMs can'T access any hardware of the host.
 

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!