Commit Graph
2 Commits
Author SHA1 Message Date
libretroadmin 55c2026efd samples/gfx/record_gpu_queue: fail on a stall, not on a slow machine
The threaded stress gave each side 30 seconds in all for 200000
frames, which a loaded runner under ASan or TSan does not always
manage with one slot: the handoff costs a context switch a frame. The
30 seconds now run from the last frame either side moved, so a queue
that stops still fails and one that is only slow finishes.
2026-10-24 13:03:22 +02:00
Codex 11ecd89030 Add bounded GPU recording slot handoff
Pass slot, fence-value and timing descriptors from a producer to an encoder worker through SPSC queues. Retain busy input and recycle textures only after packet release; deliver EOS before GPU output drains. Exercise the handoff with separate native NVENC producer and encoder threads. Frontend capture, worker scheduling and mux/audio integration remain pending.
2026-10-17 00:52:55 +02:00