Bug 1038949

Summary: win8.1-32 with "qxl-vga.revision=3" displays pixel garbage
Product: Red Hat Enterprise Linux 7 Reporter: mazhang <mazhang>
Component: virtio-winAssignee: Vadim Rozenfeld <vrozenfe>
Status: CLOSED CURRENTRELEASE QA Contact: mazhang <mazhang>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: bcao, dblechte, hhuang, juzhang, knoel, mazhang, michen, qzhang, rbalakri, vbenes, virt-maint, vrozenfe, xfu
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-22 13:27:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
guest screen snapshot none

Description mazhang 2013-12-06 08:44:18 UTC
Created attachment 833470 [details]
guest screen snapshot

Description of problem:
win8.1-32 with "qxl-vga.revision=3" displays pixel garbage.

Version-Release number of selected component (if applicable):

Host:
RHEL-7.0-20131127.1
qemu-img-1.5.3-21.el7.x86_64
qemu-kvm-common-rhev-1.5.3-21.el7.x86_64
qemu-kvm-rhev-debuginfo-1.5.3-21.el7.x86_64
qemu-kvm-rhev-1.5.3-21.el7.x86_64
kernel-3.10.0-57.el7.x86_64

Guest:
win8.1-32

How reproducible:
100%

Steps to Reproduce:
1.boot guest with:
#/usr/libexec/qemu-kvm \
-M pc \
-cpu SandyBridge \
-m 4G \
-smp 4,sockets=2,cores=2,threads=1,maxcpus=16 \
-enable-kvm \
-name win8 \
-uuid 990ea161-6b67-47b2-b803-19fb01d30d12 \
-smbios type=1,manufacturer='Red Hat',product='RHEV Hypervisor',version=el6,serial=koTUXQrb,uuid=feebc8fd-f8b0-4e75-abc3-e63fcdb67170 \
-k en-us \
-rtc base=localtime,clock=host,driftfix=slew \
-nodefaults \
-monitor stdio \
-qmp tcp:0:6666,server,nowait \
-boot menu=on \
-bios /usr/share/seabios/bios.bin \
-global PIIX4_PM.disable_s3=0 \
-global PIIX4_PM.disable_s4=0 \
-drive file=/home/win8.1-32.qcow2,if=none,id=drive-data-disk,format=qcow2,cache=none,aio=native,werror=stop,rerror=stop \
-device virtio-blk-pci,bus=pci.0,scsi=off,drive=drive-data-disk,id=data-disk \
-device virtio-balloon-pci,bus=pci.0,id=balloon0 \
-netdev tap,id=hostnet0,script=/etc/ovs-ifup,downscript=/etc/ovs-ifdown \
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:01:01:ef \
-device virtio-serial-pci,id=virtio-serial1 \
-chardev spicevmc,id=charchannel0,name=vdagent \
-device virtserialport,bus=virtio-serial1.0,nr=3,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 \
-device intel-hda,id=sound0,bus=pci.0 -device hda-duplex \
-spice port=5900,disable-ticketing,seamless-migration=on \
-vga qxl \
-global qxl-vga.vram_size=67108864 \
-global qxl-vga.revision=3 \

2.

Actual results:
Guest displays pixel garbage.
If remove "-global qxl-vga.revision=3" or revision=4 , displays normal.

Expected results:
Guest displays normal.

Additional info:

Comment 2 Vadim Rozenfeld 2014-01-01 05:06:16 UTC
Do we have qxl-wddm driver installed on this system?

Could you please install the latest seabios and give a try to 
the new qxl driver available at 
https://brewweb.devel.redhat.com//taskinfo?taskID=6798028 ? 

(no need in specifying qxl-vga.revision
for this driver to make it working).

Thanks,
Vadim.

Comment 3 Vadim Rozenfeld 2014-01-02 22:11:02 UTC
There is a new build available at
https://brewweb.devel.redhat.com/buildinfo?buildID=323507

Comment 5 mazhang 2014-01-03 03:32:31 UTC
Test this problem with the latest seabios and qxlwddm.

Host:
seabios-1.7.2.2-6.el7.x86_64
qemu-kvm-rhev-1.5.3-30.el7.x86_64

Guest:
win8.1-32
qxlwddm-0.3-2

Result:
Guest display normal with/without specifying qxl-vga.revision.

Comment 6 David Blechter 2014-07-28 10:20:14 UTC
this component is for spice-server only, please move ASAP to the appropriate component

Comment 10 Mike Cao 2014-08-15 06:36:37 UTC
Move status to Verified according to comment #5

Comment 13 Mike Cao 2015-01-22 13:27:35 UTC
No need to add qxl driver bug to virtio-win errata ,closing