From e2b72ee160b87e6cdfb103b64f5e3a66a6185b5b Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Thu, 12 Nov 2026 20:56:47 -0500 Subject: 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). --- tools/guest-diag/gl_verify.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/guest-diag/gl_verify.sh') 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" -- cgit v1.2.3