Virtio GL VirGL encoding/decoding

jasonwch

New Member
Feb 13, 2025
3
0
1
Hi all, I've setup both Win11 and Linux Mint VM on PVE latest version, and also performed "apt install libgl1 libegl1" on host

Then I've chose VirGL for both VM. But seems I cannot get h264/h265 capability on both machine.

Why I assume I do not have those encoding, because I use Rustdesk to remote in the machine, and Rustdesk have h264/h265 encoding available if I switch to use GPU passthrough on Win11 VM. But then I switch back to VirGL, those options went away.

On Linux Mint VM:
vainfo shows:
Code:
vainfo
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/virtio_gpu_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.12.0)
vainfo: Driver version: Mesa Gallium driver 24.2.8-1ubuntu1~24.04.1 for virgl (Mesa Intel(R) UHD Graphics 630 (CML GT2))
vainfo: Supported profile and entrypoints
      VAProfileNone                   :    VAEntrypointVideoProc


Did I miss something?
 
VirGL is a dead technology, it maybe works with some Linux guests for OpenGL acceleration. It hasn’t seriously been worked on and hasn’t had working Windows drivers since XP. Modern server GPU (Intel and nVIDIA) both support some form of virtualization