virt-viewer renders white/transparent screen with spice opengl and virtio 3d acceleration enabled (fedora 38/39). works in virt-manager.
Distro: Reproduced issue with both a Fedora 38, and Fedora 39 host with a Fedora 38 guest. Specifics when using the Fedora 39 Host: Qemu 8.1, Libvirt 9.7, virt-manager 4.1, virt-viewer 11.0, Linux 6.5.9
If i'm filling this out wrong (or missing info), please let me know what I need to update/change and I'll make sure to do it.
Problem: When I use the viewer in virt-manager, with 3d accelerated video enabled on the virtio video device and opengl enabled on the spice graphics device, things work great. Really great. When I open the same VM guest with virt-viewer (using the --attach flag), I get a transparent/white screen where you can see the outline of things that are on the guest (e.g. the guest login screen), but it is not unusable (understatment).
After reading the "Debugging-VM-graphical-display-issues wiki" referenced on the virt-manager issue tracker, I believe this bug report belongs here? I say that because the set-up works perfect with the viewer in virt-manager, but not with virt-viewer itself.......
Everything on the guest VM is left on the default setting virt-manager provides when creating a new modern linux guest VM. The only things I changed:
- added acceleration accel3d="yes" tag in the video virtio device.
- added gl enable="yes" rendernode="/path/to/the/renderer/here"/ in the disply spice graphics device (with the acutal path to the renderer).
- changed listen type to listen type="none" in the spice graphics device.
Why is this a problem: i'd like to use multiple montiors with the guest VM, however virt-manager does not support this but virt-viewer does. Again, config works in virt-manager but not virt-viewer.... so assuming its an issue with virt-viewer.....
Note: for this test set-up i kept the number of monitor heads=1 in the video virtio device (i.e. testing with just 1 monitor for now, not multiple monitors).
thx.