diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-11-12 20:56:47 -0500 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-11-12 20:56:47 -0500 |
| commit | e2b72ee160b87e6cdfb103b64f5e3a66a6185b5b (patch) | |
| tree | fc8cd7ca0b46ab3d8136905ed59b4d6b32403281 /tools/guest-diag/gl_verify.sh | |
| parent | cd1ceb3ff04aca628ec54b751945f318fc6d20b3 (diff) | |
| download | open-iov-e2b72ee160b87e6cdfb103b64f5e3a66a6185b5b.tar.gz open-iov-e2b72ee160b87e6cdfb103b64f5e3a66a6185b5b.zip | |
tools: mission-gz guest loop (X retry -> gl_frames probe -> GZDoom pbuffer capture); push/verify fixes
mission-gz.sh runs the end-to-end guest pass in one shot (X bring-up with
ScreenInit retries, GPU GL probe via gl_frames, GZDoom offscreen + gz_pbuf +
sdl_cap under the tested wrapper, /tmp/mission-done result flag).
push_gl_tools.sh runs vgpu_vm.py under sudo (QGA needs root);
gl_verify.sh uses 'pkill -x Xorg' (the -f pattern self-matches the shell
when the command line contains the Xorg invocation).
Diffstat (limited to 'tools/guest-diag/gl_verify.sh')
| -rw-r--r-- | tools/guest-diag/gl_verify.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/guest-diag/gl_verify.sh b/tools/guest-diag/gl_verify.sh index edfaab2..bb615e9 100644 --- a/tools/guest-diag/gl_verify.sh +++ b/tools/guest-diag/gl_verify.sh @@ -18,7 +18,7 @@ gx() { "${VMEXEC[@]}" exec --timeout "${1:-45}" "$2" 2>&1 | tail -n "${3:-40}"; if [ "$RESTART" = "1" ]; then # The DDX ScreenInit is a per-start lottery ("GPU exception"): retry up to 3x. for try in 1 2 3; do - gx 30 "pkill -f '[X]org :0' 2>/dev/null; sleep 1; systemctl reset-failed xorg0 2>/dev/null; systemd-run --unit=xorg0 --collect --setenv=HOME=/root /usr/bin/Xorg :0 -config /etc/X11/xorg.conf >/dev/null 2>&1; echo XSTART-ISSUED" >/dev/null + gx 30 "pkill -x Xorg 2>/dev/null; sleep 1; systemctl reset-failed xorg0 2>/dev/null; systemd-run --unit=xorg0 --collect --setenv=HOME=/root /usr/bin/Xorg :0 -config /etc/X11/xorg.conf >/dev/null 2>&1; echo XSTART-ISSUED" >/dev/null sleep 8 ok=$(gx 20 "timeout 12 env DISPLAY=:0 xdpyinfo >/dev/null 2>&1 && echo XDPYINFO-OK || echo X-DEAD" 3 | tail -1) echo "try $try: $ok" |
