Dumb virtio-gpu questions

ncrmnt

New Member
Aug 9, 2020
1
0
1
36
Hello, and thanks for making proxmox! I have a little question about the state and plans for virtio-gpu in proxmox. I've seen that virtio-gpu can now be set up as a display device in the most recent proxmox updates, but it looks like qemu is built without sdl, gtk or egl-headless displays. Therefore, it's impossible to enable the 3d acceleration for guest as of now without recompiling qemu. Selecting virtio-gpu also makes spice client unavailable in the webui, leaving only novnc and plain ssh.
The big questions are:
  1. Is it planned in the near (or not so near) future?
  2. Is it worth trying to recompile qemu with that stuff enabled or it is definitely known to break a lot of things?
  3. It looks like pve-qemu-kvm on github is broken. pve-libspice-server-dev is listed in the build dependencies, but no such package exists in the repository.
Thanks.

P.S. Not a corp. customer, just a regular geek running a proxmox rig in his basement ;)

P.P.S. Edit:
Add it looks like pve-qemu-kvm doesn't build at all:
Code:
util/memfd.c:43:12: error: static declaration of ‘memfd_create’ follows non-static declaration
 static int memfd_create(const char *name, unsigned int flags)
            ^~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/mman-linux.h:117,
                 from /usr/include/x86_64-linux-gnu/bits/mman.h:49,
                 from /usr/include/x86_64-linux-gnu/sys/mman.h:41,
                 from /home/necromant/pve-qemu-kvm/qemu-kvm/include/qemu/osdep.h:142,
                 from util/memfd.c:28:
/usr/include/x86_64-linux-gnu/bits/mman-shared.h:46:5: note: previous declaration of ‘memfd_create’ was here
 int memfd_create (const char *__name, unsigned int __flags) __THROW;
 
Last edited:
  1. Is it worth trying to recompile qemu with that stuff enabled or it is definitely known to break a lot of things?
last time i tried 3d acceleration, it was very buggy (crashes, corruptions, etc)
we try it from time to time, so if it gets stable we will notice sooner or later
 

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!