Public bug reported:

I'm running a new installation of Ubuntu 22.04 Desktop on a Thinkpad
T450s (core i5-5200, 2 cores / 4 vCPUs, 12 GB memory). Using the virt-
manager GUI, I performed what I believe is a simple, plain-vanilla
installation of an Ubuntu 22.04 guest running under qemu/kvm with 2
vCPUs and 4 GB memory.

I'm seeing very frequent, 15-second freezes of the guest. When it
happens, the guest is completely unresponsive. After about 15 seconds,
it works normally again, until the next freeze. The duration of the
freeze appears to be the same every time. The guest isn't doing much -
just open the calculator app and click number buttons. The freeze
doesn't happen if I don't interact with the guest (just leave the system
monitor running in the guest, so I can see that it's not frozen).

I observe the freeze when I have 2 of the 4 vCPUs dedicated to the
guest. I do NOT observe it when I have only one vCPU dedicated to the
guest.

Both the host and guest are using only a small fraction of the memory
available to them. When the problem happens, the host indicates that CPU
usage is very low across all vCPUs. The host appears to be operating
normally when the guest is frozen.

I see the following pair of lines in the guest syslog every time the
freeze occurs (and only when the freeze occurs):

May 10 13:48:40 qemu-jammy kernel: [  144.259799] qxl 0000:00:01.0:
object_init failed for (8298496, 0x00000001)

May 10 13:48:40 qemu-jammy kernel: [  144.259819]
[drm:qxl_alloc_bo_reserved [qxl]] *ERROR* failed to allocate VRAM BO

I don't see anything in the host syslog that correlates with the freeze.

If I choose "Virtio" in the Video drop-down in the virt-manager GUI,
with "3D acceleration" UNchecked, the guest works fine, and the freeze
never happens. Unfortunately, that loses fractional scaling, which is
important to me. If I check "3D acceleration," the guest won't boot.

** Affects: xserver-xorg-video-qxl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1972914

Title:
  frequent 15-sec guest freeze with ubuntu 22.04 host and guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-qxl/+bug/1972914/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to