[virt-tools-list] Docs on getting VirGL working with virt-manager?
Cole Robinson
crobinso at redhat.com
Fri Feb 8 15:04:58 UTC 2019
On 2/8/19 7:49 PM, Daniel Kasak wrote:
> Is this even supported yet? I'm running virt-manager-2.0.0 and have
> tried to launch a VM with VirGL support, but I get:
>
> spice gl support is local-only for now and incompatible with -spice
> port/tls-port
>
> So I tried adding a new connection in virt-manager - a QEMU/KVM user
> session, and then creating the VM against that connection.
>
> I've changed the following from the default:
>
> Display Spice:
> - Listen type
> - Default ( Address ) - no matter what other options I choose with
> this, I get "SPICE GL support is local-only ..."
> - None - I get "Error starting domain: internal error: qemu
> unexpectedly closed the monitor"
>
This last bit should be the working config, but that error means
something went wrong launching qemu. pastebin your
/var/log/libvirt/qemu/$vmname.log and I will check
Thanks,
Cole
> Other instructions I've found around the place ( eg
> https://blog.wikichoon.com/2016/05/spice-openglvirgl-acceleration-on.html )
> leave my virt-manager config for the VM in an invalid state ( I get the
> above error, as if I'd chosen Listen type: None )
>
> I've found that if I install a VM ( Anroid-x86 in my case, and I believe
> the current release has 'improved' support for using VirGL ) using
> virt-manager, and then manually run it:
>
> qemu-system-x86_64 -show-cursor -enable-kvm -M q35 -smp 4 -m 8G -drive
> file=/var/lib/libvirt/images/Android.qcow2,if=virtio -net
> nic,model=virtio -net user,hostfwd=tcp::2222-:22 -vga virtio -display
> sdl,gl=on
>
> ... it at least boots, but I get font corruption inside the VM, to the
> point where I can't really use it. It's not clear whether I've got VirGL
> working in this case because of the font thing. I can open a terminal
> and type "dmesg | less" ... but instead of text I see an empty box
> symbol per line of output. I release this particular issue has nothing
> to do with virt-manager.
>
> So ... any ideas?
>
> Thanks.
>
> Dan
>
>
>
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
>
- Cole
More information about the virt-tools-list
mailing list