Hello,

I reproduced the QXL hang with the unmodified Debian kernel
6.12.117+deb13-amd64 in a local QEMU VM. The first failure occurred
after 66 hours and 52 minutes. A graphics worker was stuck in D state
in qxl_fence_wait. The stack included drm_fb_helper_damage_work,
qxl_draw_dirty_fb, qxl_bo_move, ttm_bo_wait_ctx, and qxl_fence_wait.

After 79 hours and 37 minutes, the unmodified guest had logged 3,121
relevant QXL/TTM messages, including "[TTM] Buffer eviction failed"
and VRAM buffer allocation failures. Fresh SSH sessions, systemctl,
and loginctl still worked at the last check of that run.

In an earlier incident on a Debian 13 VPS running
6.12.111+deb13-amd64, PID 1 (systemd) also became stuck in D state in
drm_modeset_lock during console output. New SSH connections
authenticated successfully but hung during session creation. The local
run reproduced the blocked graphics worker. The additional PID 1 and
SSH symptoms were not observed in that run.

The local setup was QEMU 11.1.0 on Windows with TCG, Q35, two vCPUs, 2
GiB of RAM, and QXL-VGA with VNC. A service wrote ANSI-colored text to
/dev/tty0 about every 50 ms to keep updating the console.

In a parallel guest with the same kernel, an experimental QXL module
ran for 83 hours and 10 minutes by the comparison checkpoint without
the matching messages or an observed qxl_fence_wait hang. The change
makes qxl_ring_pop recheck the producer and consumer indices after
setting notify_on_prod and executing a memory barrier. An earlier QEMU
trace showed a published release-ring entry with notify=no. A missed
notification is one hypothesis. The trace and the parallel run do not
establish the cause or confirm a fix.

A follow-up run with the unmodified Debian kernel 6.12.118+deb13-amd64
was started after the 6.12.117 control failed. I can provide stack
traces and relevant log excerpts if helpful.

Regards,
Hardy

Reply via email to