diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-11-16 11:30:08 -0500 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-11-16 11:30:08 -0500 |
| commit | 9c36fba49f1ed5af0f40fc7a3d1fbb9ffadd4d97 (patch) | |
| tree | a0f97e7eac6b10cdf82d1f8a6ed4b87879aae45e /tools/guest-diag/fbcopy_pub.c | |
| parent | 630f5a0df40f5262f1c4e071450af65391aaad0f (diff) | |
| download | open-iov-9c36fba49f1ed5af0f40fc7a3d1fbb9ffadd4d97.tar.gz open-iov-9c36fba49f1ed5af0f40fc7a3d1fbb9ffadd4d97.zip | |
sdl_cap: capture-mode and file-ownership fixes for the GZDoom video run
- GZCAP_SYNC=1: synchronous readback path for software GL (the async
PBO+fence path never signals under Mesa llvmpipe, so 0 frames were
recorded; the GPU path keeps the async path).
- GZCAP_READBUF=back: read GL_BACK on a double-buffered X11 window
(Xvfb); the default GL_FRONT is correct only for the single-buffered
GPU pbuffer. Without it every Xvfb frame was black.
- File gate: only an SDL renderer process opens the capture, and an
existing non-empty capture is appended, never truncated. The old
'wb' open in every LD_PRELOAD child turned a 288-frame capture into a
4108-byte file; a helper without SDL also opened it via the
glReadPixels fallback.
- Log the read buffer in the async arm line.
Validated by the 2026-11-16 GZDoom video runs: 2200-frame captures,
clean_end=1, corrupt=0, 30 fps encodes, delivered via files.vgpu.io.
Diffstat (limited to 'tools/guest-diag/fbcopy_pub.c')
0 files changed, 0 insertions, 0 deletions
