qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1802465] [NEW] typing string via VNC is unreliable
@ 2018-11-09  7:50 Zhaocong
  2018-11-24  9:49 ` [Qemu-devel] [Bug 1802465] " Gao
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Zhaocong @ 2018-11-09  7:50 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

QEMU version is 3.0.0

# Description

The problem is that, when typing string through VNC, it can be
unreliable -- sometimes some key strokes get skipped, sometimes get
swapped, sometimes get repeated.  There's no problem when typing through
VNC on physical hardware.

# Steps to reproduce

1. Launch virtual machine by:

    qemu-kvm -display vnc=:1 -m 2048 opensuse-leap-15.qcow2

2. Connect to VNC by:

    vncviewer -Shared :5901

3. Simulate a series of key strokes by "vncdotool" [1]:

    vncdotool -s 127.0.0.1::5901 typefile strings_to_be_typed.txt

4. Usually after a few hundred keys are typed, something goes wrong.

I attached a screenshot that it mistypes " hello" to "h ello".

[1] https://github.com/sibson/vncdotool

** Affects: qemu
     Importance: Undecided
         Status: New

** Attachment added: "qemu-vnc-mistype.png"
   https://bugs.launchpad.net/bugs/1802465/+attachment/5210655/+files/qemu-vnc-mistype.png

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

Title:
  typing string via VNC is unreliable

Status in QEMU:
  New

Bug description:
  QEMU version is 3.0.0

  # Description

  The problem is that, when typing string through VNC, it can be
  unreliable -- sometimes some key strokes get skipped, sometimes get
  swapped, sometimes get repeated.  There's no problem when typing
  through VNC on physical hardware.

  # Steps to reproduce

  1. Launch virtual machine by:

      qemu-kvm -display vnc=:1 -m 2048 opensuse-leap-15.qcow2

  2. Connect to VNC by:

      vncviewer -Shared :5901

  3. Simulate a series of key strokes by "vncdotool" [1]:

      vncdotool -s 127.0.0.1::5901 typefile strings_to_be_typed.txt

  4. Usually after a few hundred keys are typed, something goes wrong.

  I attached a screenshot that it mistypes " hello" to "h ello".

  [1] https://github.com/sibson/vncdotool

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] [Bug 1802465] Re: typing string via VNC is unreliable
  2018-11-09  7:50 [Qemu-devel] [Bug 1802465] [NEW] typing string via VNC is unreliable Zhaocong
@ 2018-11-24  9:49 ` Gao
  2021-05-02  5:51 ` Thomas Huth
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Gao @ 2018-11-24  9:49 UTC (permalink / raw)
  To: qemu-devel

In my case the problem is quite subtle. 
Nearly every time we send the key strokes, the guest os keeps receiving space or tab or new line character. And ending part of the text is truncated, where the truncated part is fixed depending on the keystrokes we are sending. 
Additionally, the keystrokes are mis-ordered at a higher frequency than 1 out of a few hundreds as you said. 

In brief,
- Repeatedly receiving space, tab or new line character as ending
- Truncation regarding ending part of key strokes
- characters are mis-ordered, lost, repeated 

A question is, how can you make character transaction faster with
vncdotool? In my case, vncdotool is typing fairly slow.

I found this debian bug report quite useful, what do you think?
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758881

Re-producing procedures
---

I re-produced the problem in a slightly different way since your method
seems not working for me.

> qemu-img create tumbleweed.img 40G
> qemu-system-x86_64 -drive file=tumbleweed.img,if=virtio -boot d -cdrom openSUSE-Tumbleweed-DVD-x86_64-Snapshot20181119-Media.iso -m 2048 --enable-kvm -display vnc=:1
> qemu-system-x86_64 -drive file=tumbleweed.img,if=virtio  -m 4G --enable-kvm -display vnc=:1

** Bug watch added: Debian Bug tracker #758881
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758881

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

Title:
  typing string via VNC is unreliable

Status in QEMU:
  New

Bug description:
  QEMU version is 3.0.0

  # Description

  The problem is that, when typing string through VNC, it can be
  unreliable -- sometimes some key strokes get skipped, sometimes get
  swapped, sometimes get repeated.  There's no problem when typing
  through VNC on physical hardware.

  # Steps to reproduce

  1. Launch virtual machine by:

      qemu-kvm -display vnc=:1 -m 2048 opensuse-leap-15.qcow2

  2. Connect to VNC by:

      vncviewer -Shared :5901

  3. Simulate a series of key strokes by "vncdotool" [1]:

      vncdotool -s 127.0.0.1::5901 typefile strings_to_be_typed.txt

  4. Usually after a few hundred keys are typed, something goes wrong.

  I attached a screenshot that it mistypes " hello" to "h ello".

  [1] https://github.com/sibson/vncdotool

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 1802465] Re: typing string via VNC is unreliable
  2018-11-09  7:50 [Qemu-devel] [Bug 1802465] [NEW] typing string via VNC is unreliable Zhaocong
  2018-11-24  9:49 ` [Qemu-devel] [Bug 1802465] " Gao
@ 2021-05-02  5:51 ` Thomas Huth
  2021-06-18 15:38 ` Thomas Huth
  2021-07-02  4:17 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 5+ messages in thread
From: Thomas Huth @ 2021-05-02  5:51 UTC (permalink / raw)
  To: qemu-devel

The QEMU project is currently considering to move its bug tracking to
another system. For this we need to know which bugs are still valid
and which could be closed already. Thus we are setting older bugs to
"Incomplete" now.

If you still think this bug report here is valid, then please switch
the state back to "New" within the next 60 days, otherwise this report
will be marked as "Expired". Or please mark it as "Fix Released" if
the problem has been solved with a newer version of QEMU already.

Thank you and sorry for the inconvenience.


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

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

Title:
  typing string via VNC is unreliable

Status in QEMU:
  Incomplete

Bug description:
  QEMU version is 3.0.0

  # Description

  The problem is that, when typing string through VNC, it can be
  unreliable -- sometimes some key strokes get skipped, sometimes get
  swapped, sometimes get repeated.  There's no problem when typing
  through VNC on physical hardware.

  # Steps to reproduce

  1. Launch virtual machine by:

      qemu-kvm -display vnc=:1 -m 2048 opensuse-leap-15.qcow2

  2. Connect to VNC by:

      vncviewer -Shared :5901

  3. Simulate a series of key strokes by "vncdotool" [1]:

      vncdotool -s 127.0.0.1::5901 typefile strings_to_be_typed.txt

  4. Usually after a few hundred keys are typed, something goes wrong.

  I attached a screenshot that it mistypes " hello" to "h ello".

  [1] https://github.com/sibson/vncdotool

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 1802465] Re: typing string via VNC is unreliable
  2018-11-09  7:50 [Qemu-devel] [Bug 1802465] [NEW] typing string via VNC is unreliable Zhaocong
  2018-11-24  9:49 ` [Qemu-devel] [Bug 1802465] " Gao
  2021-05-02  5:51 ` Thomas Huth
@ 2021-06-18 15:38 ` Thomas Huth
  2021-07-02  4:17 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 5+ messages in thread
From: Thomas Huth @ 2021-06-18 15:38 UTC (permalink / raw)
  To: qemu-devel

** Bug watch removed: Debian Bug tracker #758881
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758881

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

Title:
  typing string via VNC is unreliable

Status in QEMU:
  Incomplete

Bug description:
  QEMU version is 3.0.0

  # Description

  The problem is that, when typing string through VNC, it can be
  unreliable -- sometimes some key strokes get skipped, sometimes get
  swapped, sometimes get repeated.  There's no problem when typing
  through VNC on physical hardware.

  # Steps to reproduce

  1. Launch virtual machine by:

      qemu-kvm -display vnc=:1 -m 2048 opensuse-leap-15.qcow2

  2. Connect to VNC by:

      vncviewer -Shared :5901

  3. Simulate a series of key strokes by "vncdotool" [1]:

      vncdotool -s 127.0.0.1::5901 typefile strings_to_be_typed.txt

  4. Usually after a few hundred keys are typed, something goes wrong.

  I attached a screenshot that it mistypes " hello" to "h ello".

  [1] https://github.com/sibson/vncdotool

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 1802465] Re: typing string via VNC is unreliable
  2018-11-09  7:50 [Qemu-devel] [Bug 1802465] [NEW] typing string via VNC is unreliable Zhaocong
                   ` (2 preceding siblings ...)
  2021-06-18 15:38 ` Thomas Huth
@ 2021-07-02  4:17 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 5+ messages in thread
From: Launchpad Bug Tracker @ 2021-07-02  4:17 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

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

Title:
  typing string via VNC is unreliable

Status in QEMU:
  Expired

Bug description:
  QEMU version is 3.0.0

  # Description

  The problem is that, when typing string through VNC, it can be
  unreliable -- sometimes some key strokes get skipped, sometimes get
  swapped, sometimes get repeated.  There's no problem when typing
  through VNC on physical hardware.

  # Steps to reproduce

  1. Launch virtual machine by:

      qemu-kvm -display vnc=:1 -m 2048 opensuse-leap-15.qcow2

  2. Connect to VNC by:

      vncviewer -Shared :5901

  3. Simulate a series of key strokes by "vncdotool" [1]:

      vncdotool -s 127.0.0.1::5901 typefile strings_to_be_typed.txt

  4. Usually after a few hundred keys are typed, something goes wrong.

  I attached a screenshot that it mistypes " hello" to "h ello".

  [1] https://github.com/sibson/vncdotool

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-07-02  4:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-09  7:50 [Qemu-devel] [Bug 1802465] [NEW] typing string via VNC is unreliable Zhaocong
2018-11-24  9:49 ` [Qemu-devel] [Bug 1802465] " Gao
2021-05-02  5:51 ` Thomas Huth
2021-06-18 15:38 ` Thomas Huth
2021-07-02  4:17 ` Launchpad Bug Tracker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).