Created attachment 767470 [details] graphics corruption in virtual machine Description of problem: Fedora 19 virtual machines on an F19 host have corrupt graphics when using a virtual Spice/QXL graphics setup. They look ok with Spice/QXL. The corruption usually only affects the title bar of the focused window, but sometimes it affects the contents of the window too as shown in the attached screenshot. Version-Release number of selected component (if applicable): virt-manager-0.10.0-1.fc19.noarch virt-viewer-0.5.6-1.fc19.x86_64 libvirt-1.0.5.2-1.fc19.x86_64 How reproducible: every time? Steps to Reproduce: 1. create an F19 virtual machine and switch between Spice/QXL and VNC/Cirrus graphics Actual results: weird artifacts in VNC/Cirrus graphics Expected results: clean graphics Additional info:
Created attachment 767471 [details] Xorg.0.log from the VM
Hmm, the Xorg.0.log shows it's using the fbdev driver. On further inspection, I found I didn't have the xorg-x11-drv-cirrus package installed on the VM. I installed it and rebooted but the graphics corruption is still present.
Created attachment 767472 [details] more graphics corruption I tried booting with nomodeset kernel command line option and the graphics corruption is even weirder: check out the strange angled line through the terminal program and how the text follows that angle. xterm is affected the same way as gnome-terminal.
Created attachment 767474 [details] Xorg.0.log with cirrus driver installed
This issue is also seen on the Upstream: Host and Guest Kernel : 3.9.5-301.fc19.x86_64 (Fedora19) libvirtd --version libvirtd (libvirt) 1.1.1 qemu-system-x86_64 --version QEMU emulator version 1.5.91, Copyright (c) 2003-2008 Fabrice Bellard Libvirt commit a7f94a40bb2554c56d0c6bea98a5843690dc3933. qemu commit b9ac5d923b820a0f0152a2df56067e55ce34f487. When we boot the Fedora19 guest with video as "Cirrus", the login screen appears, after logging in blank screen appears. This issue is not seen with vga video, it works fine.
I think I see the same problem when using qemu-1.6.0-5.fc19.x86_64 on Fedora 19. The graphics corruption occurs with: ionice -c 3 qemu-kvm -enable-kvm -m 2048M -smp 4 -drive file=./Fedora-20-Alpha-TC2-x86_64-netinst.iso.qcow2,index=0,media=disk,cache=unsafe -localtime -serial file:/tmp/qemu-Fedora-20-Alpha-TC2-x86_64-netinst.iso.qcow2-output.log -name Fedora-20-Alpha-TC2-x86_64-netinst.iso.qcow2 -cdrom /local/mfabian/iso/Fedora-20-Alpha-TC2/Fedora-20-Alpha-TC2-x86_64-netinst.iso -boot c -spice port=6000,disable-ticketing -vga cirrus -display vnc=:4 -net nic -net user,hostname=Fedora-20-Alpha-TC2-x86_64-netinst.iso.qcow2,hostfwd=tcp::5556-:22 -monitor stdio -usb (cirrus), but it looks OK with: ionice -c 3 qemu-kvm -enable-kvm -m 2048M -smp 4 -drive file=./Fedora-20-Alpha-TC2-x86_64-netinst.iso.qcow2,index=0,media=disk,cache=unsafe -localtime -serial file:/tmp/qemu-Fedora-20-Alpha-TC2-x86_64-netinst.iso.qcow2-output.log -name Fedora-20-Alpha-TC2-x86_64-netinst.iso.qcow2 -cdrom /local/mfabian/iso/Fedora-20-Alpha-TC2/Fedora-20-Alpha-TC2-x86_64-netinst.iso -boot c -spice port=6000,disable-ticketing -vga qxl -display vnc=:4 -net nic -net user,hostname=Fedora-20-Alpha-TC2-x86_64-netinst.iso.qcow2,hostfwd=tcp::5556-:22 -monitor stdio -usb (qxl)
Created attachment 792372 [details] qemu-qxl-cirrus-gnome-f20-colours-comparison.png Left side: qxl Right side: cirrus
Mike, there is something I'm missing. In this bug, you say cirrus + vnc gives corruption and qxl + vnc is fine, but you also say in bug #948717 that you are having the issue on f20. #948717 is about graphics corruption with qxl + vnc, so I'm confused.
(In reply to Christophe Fergeau from comment #8) > Mike, there is something I'm missing. In this bug, you say cirrus + vnc > gives corruption and qxl + vnc is fine, No, the screenshot in this bug shows that qxl and spice is fine! (See the titlebar above my screenshots, both qxl and cirrus are used with spice). > but you also say in bug #948717 that > you are having the issue on f20. #948717 is about graphics corruption with > qxl + vnc, so I'm confused. Yes, the pixel garbage problem with qxl + vnc as reported in bug#948717, which I reported for f19, still exists in f20. My screenshot https://bugzilla.redhat.com/attachment.cgi?id=792372 shows graphics corruption for cirrus + spice on the right side and correct display for qxl + spice on the left side. So I think see the same Jeff Bastian, comment#0> weird artifacts in VNC/Cirrus graphics also for spice/cirrus. Or at least very similar artifacts. Should I open a new bug for the spice/cirrus problem? Or is that related to the VNC/cirrus problem? I thought it is related because the corruption looks similar.
(In reply to Mike FABIAN from comment #9) > My screenshot > > https://bugzilla.redhat.com/attachment.cgi?id=792372 > > shows graphics corruption for cirrus + spice on the right side > and correct display for qxl + spice on the left side. > This was not explicit at all as your qemu commandline in https://bugzilla.redhat.com/show_bug.cgi?id=980217#c6 has '-vga qxl -display vnc=:4', so this is the bit that misled me. Thanks for clarifying that the screenshot is about spice/qxl VS spice/vnc.
(In reply to Mike FABIAN from comment #9) > My screenshot > > https://bugzilla.redhat.com/attachment.cgi?id=792372 > > shows graphics corruption for cirrus + spice on the right side > and correct display for qxl + spice on the left side. > This was not explicit at all as your qemu commandline in https://bugzilla.redhat.com/show_bug.cgi?id=980217#c6 has '-vga qxl -display vnc=:4', so this is the bit that misled me. Thanks for clarifying that the screenshot is about spice/qxl VS spice/cirrus.
With up to date F19 guest using cirrus graphics, I don't see the corruption shown in the screen shots (I did reproduce it at the time this bug was filed though). I think this has since been fixed by an xorg driver or kernel update in the guest. Closing as WORKSFORME, if anyone can still reproduce with up2date f19+, please reopen.
Hi, Google brought me here and i believe i am seeing this issue in F20 having just run "yum update" on a fresh install. I'm running an Arch Linux host (libvirt+kvm+vnc) which had a system update run yesterday, so the host is pretty much the latest version of everything involved. So with: <video> <model type='cirrus' vram='9216' heads='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> I get the same corruption in the screenshot posted by Mike. Simply editing this to: <video> <model type='qxl' vram='9216' heads='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> The corruption goes away. I also saw similar issues in F19, i don't think i had run any updates on that install however. Regards