qxl performance problems and spice issues
Hello,
I am testing Xen 4.2 (unstable) with Qemu 1.1rc2 and spice.
I have severe video performance problems on Windows 7 guest and X fails to run on Debian wheezy and Ubuntu Precise guest.
The problem may be related to Xen and I'm asking there too, but I want to make sure my invocation is correct as far as Qemu is concerned.
If someone is experimenting with spice and has qxl video, vdagent, audio and usb redirection working, can you post your Qemu and SeaBIOS version and exact Qemu invocation, so that I can try to replicate your results.
Are qxl and other spice features dependent on kvm in some way? Should I use -vga qxl or -device qxl-vga?
Thanks,
LG
Here is Qemu invocation by xl:
--------------------------
libxl: debug: libxl_dm.c:1001:libxl__spawn_local_dm: Spawning device-model /usr/ lib/xen/bin/qemu-system-i386 with arguments:
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm:/usr/lib/xen/bin/qemu-system-i386
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -xen-domid
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: 8
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -chardev
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm:
socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-8,server,nowait
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -mon
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: chardev=libxl-cmd,mode=control
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -name
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: W7
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -spice
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm:
port=6000,tls-port=0,addr=0.0.0.0,disable-ticketing,agent-mouse=on
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -boot
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: order=cd
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -smp
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: 2,maxcpus=3
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -device
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm:
rtl8139,id=nic0,netdev=net0,mac=00:16:3e:6b:1f:d9
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -netdev
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm:
type=tap,id=net0,ifname=vif8.0-emu,script=no,downscript=no
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -device
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: qxl-vga
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -global
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: qxl-vga.vram_size=33554432
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -global
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: qxl-vga.ram_size=33554432
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -device
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm:
virtio-serial-pci,id=virtio-serial0,max_ports=16
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -chardev
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm:
spicevmc,name=vdagent,id=vdagent
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -device
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm:
virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,name=com.redhat.spice.0
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -M
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: xenfv
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -m
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: 1792
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -drive
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm:
file=/mnt/vm/disks/W7.disk1.xm,if=ide,index=0,media=disk,format=raw
Signature · 1 line
---- Nuova grafica e nuove funzionalità! Crea subito Gratis la tua nuova Casella di Posta Katamail
Quoted 5 lines · On Thu, May 17, 2012 at 11:04:55AM +0200, [email protected] wrote:
Hello,
I am testing Xen 4.2 (unstable) with Qemu 1.1rc2 and spice.
I have severe video performance problems on Windows 7 guest and X fails to run on Debian wheezy and Ubuntu Precise guest.
What version of drivers (windows guest, linux guest) do you have? what performance problems do you see, what are you doing in the guest? what is the X log for the failed run?
Quoted 8 lines
The problem may be related to Xen and I'm asking there too, but I want to make sure my invocation is correct as far as Qemu is concerned.
If someone is experimenting with spice and has qxl video, vdagent, audio and usb redirection working, can you post your Qemu and SeaBIOS version and exact Qemu invocation, so that I can try to replicate your results.
Are qxl and other spice features dependent on kvm in some way?
We don't depend on kvm but I have never tried without it.
Quoted 1 line
Should I use -vga qxl or -device qxl-vga?
I use -vga qxl, but I think they should be equivalent.
The command line looks ok. Try using 64MB for both (i.e. 128MB in total) instead of the 32MB you have for each.
Quoted 59 lines
Thanks,
LGHere is Qemu invocation by xl:
--------------------------
libxl: debug: libxl_dm.c:1001:libxl__spawn_local_dm: Spawning device-model/usr/lib/xen/bin/qemu-system-i386with arguments:
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm:/usr/lib/xen/bin/qemu-system-i386
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -xen-domid
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: 8
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -chardev
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm:
socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-8,server,nowait
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -mon
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: chardev=libxl-cmd,mode=control
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -name
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: W7
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -spice
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm:
port=6000,tls-port=0,addr=0.0.0.0,disable-ticketing,agent-mouse=on
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -boot
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: order=cd
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -smp
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: 2,maxcpus=3
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -device
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm:
rtl8139,id=nic0,netdev=net0,mac=00:16:3e:6b:1f:d9
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -netdev
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm:
type=tap,id=net0,ifname=vif8.0-emu,script=no,downscript=no
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -device
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: qxl-vga
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -global
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: qxl-vga.vram_size=33554432
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -global
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: qxl-vga.ram_size=33554432
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -device
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm:
virtio-serial-pci,id=virtio-serial0,max_ports=16
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -chardev
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm:
spicevmc,name=vdagent,id=vdagent
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -device
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm:
virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,name=com.redhat.spice.0
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -M
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: xenfv
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -m
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: 1792
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm: -drive
libxl: debug: libxl_dm.c:1003:libxl__spawn_local_dm:
file=/mnt/vm/disks/W7.disk1.xm,if=ide,index=0,media=disk,format=rawSignature · 1 line
---- Nuova grafica e nuove funzionalità! Crea subito Gratis la tua nuova Casella di Posta Katamail