You are not logged in.
Despite following all the information on the Arch Wiki I'm unable to get guest OpenGL acceleration to work for QEMU. I get no video output on boot when it's enabed, without virgl enabled everything works fine.
Command when running with GTK display, virgl disabed:
qemu-system-x86_64 -enable-kvm -m 2048 -vga virtio -display gtk -cdrom livecd.iso
Works fine.
Command when running with GTK display, virgl enabled:
qemu-system-x86_64 -enable-kvm -m 2048 -vga virtio -display gtk,gl=on -cdrom livecd.iso
No display output (black screen), no error messages.
Command when running with SPICE display, virgl disabled:
qemu-system-x86_64 -enable-kvm -m 2048 -vga virtio -spice unix,addr=/tmp/spice.sock,disable-ticketing -cdrom livecd.iso
Works fine.
Command when running with SPICE display, virgl enabled:
qemu-system-x86_64 -enable-kvm -m 2048 -vga virtio -spice unix,addr=/tmp/spice.sock,disable-ticketing,gl=on -cdrom livecd.iso
No display output (black screen) on spice client, QEMU gives error message: "qemu-system-x86_64: warning: Spice: dcc.c:664:dcc_push_monitors_config: monitors_config is NULL".
Anything I'm missing? According to all information I can find this should work fine.
Offline
virgl disabed:
-vga virtio
From what I can tell you're using VirGL in every single one of those commands (-vga virtio = virgl) but the ones that fail are the ones where you try to enable the OpenGL context in the device (-device ..,gl=on).
What image are you trying to boot and what kernel and mesa version does that contain?
Offline
I am a frequent and avid user of QEMU. I run source compiled QEMU-4.1.0 on fully updated and upstream ArchLinux. I have VirGL working with or without enabling OpenGL context for Ubuntu 16.04LTS, Debian Stretch and ArchLinux32 guests.
Offline
I run source compiled QEMU-4.1.0 on fully updated and upstream ArchLinux
Does VirGL work for binary package on your side as well?
And btw what is the reason you use source-compiled QEMU? Do you miss some features in Arch QEMU package?
Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster
Offline
FatCheques1 wrote:virgl disabed:
FatCheques1 wrote:-vga virtio
From what I can tell you're using VirGL in every single one of those commands (-vga virtio = virgl) but the ones that fail are the ones where you try to enable the OpenGL context in the device (-device ..,gl=on).
What image are you trying to boot and what kernel and mesa version does that contain?
I've been testing with Live CDs of Debian stable (kernel 4.19, mesa 18.3.6) and Linux Mint (kernel 4.15, mesa 19.0.2), I've also tried with a Debian Testing install (kernel 5.2, mesa 19.2.1). All with the same results.
When booted without the opengl context I get no virgl acceleration, glxinfo just shows llvmpipe. I assumed it was needed?
Offline
When booted without the opengl context I get no virgl acceleration, glxinfo just shows llvmpipe. I assumed it was needed?
Yes, you will need "-display sdl,gl=on" or "-display gtk,gl=on to enable VirGL OpenGL acceleration in Linux guests.
Offline
FatCheques1 wrote:When booted without the opengl context I get no virgl acceleration, glxinfo just shows llvmpipe. I assumed it was needed?
Yes, you will need "-display sdl,gl=on" or "-display gtk,gl=on to enable VirGL OpenGL acceleration in Linux guests.
How to put this on virt-manager? I trying to put on display spice and video virtio but doesn't work. Virt-manager automatically delete this.
Offline
How to put this on virt-manager? I trying to put on display spice and video virtio but doesn't work. Virt-manager automatically delete this.
I would like to know it too... how to add this to virt-manager configuration ?
Is there any way to write it in xml and add it with virsh edit ?
Offline