dialog-based applications seem sluggish

Bug #514883 reported by AlainKnaff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qemu-kvm (Ubuntu)
Expired
Low
Unassigned

Bug Description

Binary package hint: kvm

When running a dialog-based application (such as Ubuntu's text mode installer) within kvm, it feels very sluggish. If I press cursor-down or up, it takes more than a second until the highlighted bar moves up or down.
Typing text in a (dialog) text fields seems ok though.

This is _not_ a bug in the guest, as on a physical machine it is fast and snappy. Moreover, if kvm is run in vnc mode, it is fast and snappy as well

1. > lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04

2. > apt-cache policy kvm
kvm:
  Installed: 1:84+dfsg-0ubuntu12.4
  Candidate: 1:84+dfsg-0ubuntu12.4
  Version table:
 *** 1:84+dfsg-0ubuntu12.4 0
        500 http://fr.archive.ubuntu.com jaunty-updates/main Packages
        100 /var/lib/dpkg/status
     1:84+dfsg-0ubuntu11 0
        500 http://fr.archive.ubuntu.com jaunty/main Packages

3. What I expect to happen

Kvm should react immediately at first cursor movement. If for some reason (slow screen updates?), it should only start deferring or dropping updates if the screen update "queue" already has some updates being processed.

4. What happened instead

First screen refresh apparently was already delayed (maybe trying to wait for more in order to batch them together?)

Revision history for this message
AlainKnaff (kubuntu-misc) wrote :

The problem also exists for bash commandline. Cursor keys are handled with a one-second delay (approx.), whereas other keys are handled immediately.

My previous interpretation was apparently wrong: the problem is not related to any output that the program performs in reaction to receiving the cursor key, but rather to the reception of the cursor key input itself.

Chuck Short (zulcss)
affects: kvm (Ubuntu) → qemu-kvm (Ubuntu)
Revision history for this message
Chuck Short (zulcss) wrote :

I am experiencing this as well.

Regards
chuck

Changed in qemu-kvm (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

I think this is due to the installer using the kernel framebuffer, which adds overhead and makes VMs seem slower.

Try booting a server ISO, and at the cd boot menu, hit F6, then ESC, and add "fb=false" to the end of the kernel boot line.

This makes the menus far snappier for me.

Changed in qemu-kvm (Ubuntu):
status: Confirmed → Incomplete
importance: Medium → Low
Revision history for this message
AlainKnaff (kubuntu-misc) wrote :

I just tried it (with a 9.04 image), it doesn't help.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for qemu-kvm (Ubuntu) because there has been no activity for 60 days.]

Changed in qemu-kvm (Ubuntu):
status: Incomplete → Expired
Revision history for this message
AlainKnaff (kubuntu-misc) wrote :

Still an issue in 10.04.1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.