Its possible, if you know - to use OpenGL Support over Spice at Virt-Manager, e.g. for a WindowsVM Instance.
Just install the following dependencies to the Host:
transactional-update pkg install qemu-ui-spice-core libvirglrenderer1 qemu-ui-opengl
The following settings at the Virt-Manager Configuration must be set:
After enabling this - you can add/set the OpenGL Support for Virtio. If you want enable OpenGL without Spice enabled before, you get an confusing error, that OpenGL Support for Virtio is not available!
And just install the Spice and qemu-guest-tools dependencies for the VM.
For Example on a Windows 11 Guest VM:
- Spice-Guest-Tools-Latest: https://www.spice-space.org/download/windows/spice-guest-tools/spice-guest-tools-latest.exe
- Virtio Win Package: https://github.com/virtio-win/virtio-win-pkg-scripts/blob/master/README.md
To be able to use OpenGL at your Windows11 Client, you must install the following package from the appstore OpenGL at Windows 11 VM Client