Skip to content

noVNC stops working when lossy compression is enabled in qemu #1767

@basilky

Description

@basilky

Describe the bug
Qemu has a flag to enable or disable lossy compression. noVNC works without any issue when this flag is set to off(default). But when lossy flag enabled, noVNC screen goes blank/gets stuck as soon as the guest os completes boot and loads desktop. Disconnecting and reconnecting doesn't fix this issue. No relevant logs are printed on the noVNC console.

Initially I thought this is an issue with qemu, but qemu vnc screen is connecting without any issue from tigervnc.

To Reproduce
Steps to reproduce the behavior:

  1. Start guest os: I used Linux Mint Debian Edition
    qemu-system-x86_64 -enable-kvm -cpu host -smp 4 -m 2000 -cdrom lmde-5-cinnamon-64bit.iso -vnc :0,lossy=on
  2. Start novnc: ./utils/novnc_proxy --vnc localhost:5900
  3. Open the URL given by noVNC and wait till the guest os completes boot.
  4. noVNC screen gets stuck/blank

Expected behavior
noVNC should show the guest screen

Client

  • OS: Qemu Host: Linux Mint 21.1, guest: LMDE
  • Browser: both Firefox & Chrome
  • Browser version: latest

Server (please complete the following information):

  • noVNC version: latest(8decca7)
  • VNC server: Qemu 6.2.0
  • WebSocket proxy: websockify

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions