I'm seeing this on Debian 12 without Wayland or Xorg simply by running
#!/bin/bash
chvt 3
for j in $(seq 80); do
echo "$(date) starting round $j"
if [ "$(journalctl --boot | grep "failed to allocate VRAM BO")" != "" ];
then
echo "bug was reproduced after $j tries"
exit 1
fi
for i in $(seq 100); do
dmesg > /dev/tty3
done
done
echo "bug could not be reproduced"
exit 0
This allowed me to run git bisect which identified the following commit:
commit 5a838e5d5825c85556011478abde708251cc0776 (refs/bisect/bad)
Author: Gerd Hoffmann <[email protected]>
Date: Thu Feb 4 15:57:10 2021 +0100
drm/qxl: simplify qxl_fence_wait
Now that we have the new release_event wait queue we can just
use that in qxl_fence_wait() and simplify the code a lot.
Signed-off-by: Gerd Hoffmann <[email protected]>
Acked-by: Thomas Zimmermann <[email protected]>
Link:
http://patchwork.freedesktop.org/patch/msgid/[email protected]
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xserver-xorg-video-qxl in Ubuntu.
https://bugs.launchpad.net/bugs/1972914
Title:
frequent 15-sec guest freeze with ubuntu 22.04 host and guest
Status in xserver-xorg-video-qxl package in Ubuntu:
New
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-qxl/+bug/1972914/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp