Skip to contentSkip to conversation

Windows 10 continuous screen refresh if resize guest to match window size is selected with QXL

Qemu-devel Greg Fleury 2 participants 2 messages Jun 14, 2016

lore
Share & tools
lore
#0 lore raw

Public bug reported:

When VDA-Agent starts up, I get a continuous flicker of the screen. This is almost like a screen refresh, where I am not even able to really click on things and/or open menus.

Running Windows 10, x64

app-emulation/spice-0.13.1-r2::gentoo
net-misc/spice-gtk-0.31::gentoo
app-emulation/spice-protocol-0.12.11::gentoo
app-emulation/qemu--2.6.0::gentoo
nvidia-drivers-367.18
xorg-server-1.18.3

Kernel string:

Linux wks-ros 4.4.11 #6 SMP PREEMPT Mon May 30 00:01:35 MDT 2016 x86_64 Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz GenuineIntel GNU/Linux

Launch string:

SPICE_PORT=5924
DRIVERS_IMG=media/virtio-win-0.1.118.iso
SYSTEM_DISK=system.disk
BIOS_ROM="OVMF.fd"
DVDROM_DRIVE="/dev/sr0"
VM_NAME="Windows 10 x64 VM"

/usr/bin/qemu-system-x86_64 \
	-machine accel=kvm \
	-acpitable file="acpi_slic.bin" \
	-bios "${BIOS_ROM}" \
	-no-shutdown \
	-cpu qemu64,+ssse3,+sse4.1,+sse4.2 \
	-smp cpus=2,sockets=2,cores=1,threads=1 \
	-m 16G \
    -realtime mlock=off \
    -drive file="${SYSTEM_DISK}",if=virtio \
    -spice port=${SPICE_PORT},addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on \
    -chardev spicevmc,id=charchannel0,name=vdagent \
    -device virtio-serial-pci -chardev spicevmc,id=vdagent,debug=0,name=vdagent \
    -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \
    -device qxl-vga,id=video0 \
    -device virtio-balloon-pci,id=balloon0 \
    -rtc base=localtime,driftfix=slew \
    -name "${VM_NAME}" & exec spicy --title "${VM_NAME}" 127.0.0.1 -p ${SPICE_PORT}

Some additional interesting things I've observed:

* If the QXL driver is not installed, then the flicker doesn't happen
* As soon as i enable the VDA Agent, the annoying flicker / screen refresh begins
* When I disable the VDA Agent, same thing happens.

- I tried Windows-Guest-Tools-0.100 and version 0.0103-r1

- And an assortment of QXL drivers, (WDM, proper for Windows 10).

As a workaround, I can set "Scale display" to On, and "Resize Guest to Match" to off (using Spicy-gtk). This stops the flicker.

- Another strange thing is that I my XQL driver in Windows shows 8GB of Video mem. I am not sure how/why this is, as I have not seen this before.

** Affects: qemu
Importance: Undecided
Status: New

Signature · 78 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1592315

Title:
  Windows 10 continuous screen refresh if resize guest to match window
  size is selected with QXL

Status in QEMU:
  New

Bug description:
  When VDA-Agent starts up, I get a continuous flicker of the screen.
  This is almost like a screen refresh, where I am not even able to
  really click on things and/or open menus.

  Running Windows 10, x64

  app-emulation/spice-0.13.1-r2::gentoo
  net-misc/spice-gtk-0.31::gentoo
  app-emulation/spice-protocol-0.12.11::gentoo
  app-emulation/qemu--2.6.0::gentoo
  nvidia-drivers-367.18
  xorg-server-1.18.3

  Kernel string:

  Linux wks-ros 4.4.11 #6 SMP PREEMPT Mon May 30 00:01:35 MDT 2016
  x86_64 Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz GenuineIntel GNU/Linux

  Launch string:

  SPICE_PORT=5924
  DRIVERS_IMG=media/virtio-win-0.1.118.iso
  SYSTEM_DISK=system.disk
  BIOS_ROM="OVMF.fd"
  DVDROM_DRIVE="/dev/sr0"
  VM_NAME="Windows 10 x64 VM"

  /usr/bin/qemu-system-x86_64 \
  	-machine accel=kvm \
  	-acpitable file="acpi_slic.bin" \
  	-bios "${BIOS_ROM}" \
  	-no-shutdown \
  	-cpu qemu64,+ssse3,+sse4.1,+sse4.2 \
  	-smp cpus=2,sockets=2,cores=1,threads=1 \
  	-m 16G \
      -realtime mlock=off \
      -drive file="${SYSTEM_DISK}",if=virtio \
      -spice port=${SPICE_PORT},addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on \
      -chardev spicevmc,id=charchannel0,name=vdagent \
      -device virtio-serial-pci -chardev spicevmc,id=vdagent,debug=0,name=vdagent \
      -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \
      -device qxl-vga,id=video0 \
      -device virtio-balloon-pci,id=balloon0 \
      -rtc base=localtime,driftfix=slew \
      -name "${VM_NAME}" & exec spicy --title "${VM_NAME}" 127.0.0.1 -p ${SPICE_PORT}


  Some additional interesting things I've observed:

  * If the QXL driver is not installed, then the flicker doesn't happen
  * As soon as i enable the VDA Agent, the annoying flicker / screen refresh begins
  * When I disable the VDA Agent, same thing happens.

  - I tried Windows-Guest-Tools-0.100 and version 0.0103-r1

  - And an assortment of QXL drivers, (WDM, proper for Windows 10).

  
  As a workaround, I can set "Scale display" to On, and "Resize Guest to Match" to off (using Spicy-gtk). This stops the flicker.

  - Another strange thing is that I my XQL driver in Windows shows 8GB
  of Video mem. I am not sure how/why this is, as I have not seen this
  before.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1592315/+subscriptions
#1 lore raw

Please refer to the following tickets:

https://bugs.freedesktop.org/show_bug.cgi?id=94950
https://bugzilla.redhat.com/show_bug.cgi?id=1266484
https://bugzilla.redhat.com/show_bug.cgi?id=1342489

I can't deduce from the above whether it is a host side problem (spice- gtk) or a problem with the VDAgent (= guest code, Windows and Linux), but it's certainly not a QEMU bug. Closing.

** Changed in: qemu
Status: New => Invalid

** Bug watch added: freedesktop.org Bugzilla #94950
https://bugs.freedesktop.org/show_bug.cgi?id=94950

** Bug watch added: Red Hat Bugzilla #1266484
https://bugzilla.redhat.com/show_bug.cgi?id=1266484

** Bug watch added: Red Hat Bugzilla #1342489
https://bugzilla.redhat.com/show_bug.cgi?id=1342489

Signature · 78 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1592315

Title:
  Windows 10 continuous screen refresh if resize guest to match window
  size is selected with QXL

Status in QEMU:
  Invalid

Bug description:
  When VDA-Agent starts up, I get a continuous flicker of the screen.
  This is almost like a screen refresh, where I am not even able to
  really click on things and/or open menus.

  Running Windows 10, x64

  app-emulation/spice-0.13.1-r2::gentoo
  net-misc/spice-gtk-0.31::gentoo
  app-emulation/spice-protocol-0.12.11::gentoo
  app-emulation/qemu--2.6.0::gentoo
  nvidia-drivers-367.18
  xorg-server-1.18.3

  Kernel string:

  Linux wks-ros 4.4.11 #6 SMP PREEMPT Mon May 30 00:01:35 MDT 2016
  x86_64 Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz GenuineIntel GNU/Linux

  Launch string:

  SPICE_PORT=5924
  DRIVERS_IMG=media/virtio-win-0.1.118.iso
  SYSTEM_DISK=system.disk
  BIOS_ROM="OVMF.fd"
  DVDROM_DRIVE="/dev/sr0"
  VM_NAME="Windows 10 x64 VM"

  /usr/bin/qemu-system-x86_64 \
  	-machine accel=kvm \
  	-acpitable file="acpi_slic.bin" \
  	-bios "${BIOS_ROM}" \
  	-no-shutdown \
  	-cpu qemu64,+ssse3,+sse4.1,+sse4.2 \
  	-smp cpus=2,sockets=2,cores=1,threads=1 \
  	-m 16G \
      -realtime mlock=off \
      -drive file="${SYSTEM_DISK}",if=virtio \
      -spice port=${SPICE_PORT},addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on \
      -chardev spicevmc,id=charchannel0,name=vdagent \
      -device virtio-serial-pci -chardev spicevmc,id=vdagent,debug=0,name=vdagent \
      -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \
      -device qxl-vga,id=video0 \
      -device virtio-balloon-pci,id=balloon0 \
      -rtc base=localtime,driftfix=slew \
      -name "${VM_NAME}" & exec spicy --title "${VM_NAME}" 127.0.0.1 -p ${SPICE_PORT}


  Some additional interesting things I've observed:

  * If the QXL driver is not installed, then the flicker doesn't happen
  * As soon as i enable the VDA Agent, the annoying flicker / screen refresh begins
  * When I disable the VDA Agent, same thing happens.

  - I tried Windows-Guest-Tools-0.100 and version 0.0103-r1

  - And an assortment of QXL drivers, (WDM, proper for Windows 10).

  
  As a workaround, I can set "Scale display" to On, and "Resize Guest to Match" to off (using Spicy-gtk). This stops the flicker.

  - Another strange thing is that I my XQL driver in Windows shows 8GB
  of Video mem. I am not sure how/why this is, as I have not seen this
  before.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1592315/+subscriptions