Files
reims-vgpu/docs/video
Anees Iqbal cef35d7975 🐛 Hold Windows VA teardowns while another context lives
On the UHD Graphics 630 host, QEMU ended in an access violation inside
Intel's Direct3D 12 video driver as a guest's 4K H.264 session ended beside
its next: a decoder let go while another lived on the display broke the
other's next vaEndPicture. A test of two threads' decoders, each let go
round after round while the other decodes, ends the same way under vaon12,
and keeps ending so with every call made alone, with no teardown inside
another context's picture, and with the other contexts' pictures done
first. Kept until no context lived, every teardown passed.

So on Windows a context's, a config's or a pool's destroy asked for while
another context lives on the display is held, and made in the order asked
once the last live context's teardown is asked for; the log says so once a
process. What changes for the host: the process no longer ends there, and an
ended session's surfaces stay allocated while another session lives. Linux
is unchanged: the same test passes on radeonsi with every teardown made at
once.
2026-11-17 02:25:05 -08:00
..