# within 1.5x the budget instead of growing to 27.6M and dying of
# OutOfMemoryError.
frame-budget-202222 FrameBudgetProbe 40 2.0 16 -Daukio.fo4.meshIdBudget=3000000 -Daukio.fo4.lodRadius=64 -Daukio.fo4.spawnAt=6323.01,-9751.07,7721.71,10.25,-0.45,0 180
+#
+#
+# display-level-220339: bugreport-20261111-220339 — "this area had high
+# resolution lightmaps seconds ago, I flew up and down and suddenly it is super
+# low resolution lighting". DisplayLevelProbe watches every triangle that
+# carries a map or centroid light, flies the reporter's up/down/back motion with
+# a compressed re-pin cadence (-De3d.gi.repinMs=2000) and fails when any watched
+# triangle's displayed level DECREASES (MAP > GI > DIRECT). FAILED on the build
+# that shipped it (68 of 164,508 watched triangles MAP -> GI); the display-store
+# carry-over fix brings it to 0.
+display-level-220339 DisplayLevelProbe 60 45 3840 2091 -De3d.gi.repinMs=2000 -Daukio.fo4.spawnAt=-76274.45,-7894.11,91579.81,20.39,-0.31,0 300
echo "== unit suites =="
step "engine tests (aukio-3d-2)" \
- bash -c "cd '$ENGINE' && mvn -o -q test"
+ bash -c "cd '$ENGINE' && xvfb-run -a mvn -o -q test"
step "engine install" \
bash -c "cd '$ENGINE' && mvn -o -q -DskipTests install"
step "fo4 tests (fo4-2)" \
- bash -c "cd '$FO4' && mvn -o -q test"
+ bash -c "cd '$FO4' && xvfb-run -a mvn -o -q test"
if [ "$MODE" = "--quick" ]; then
[ "$fail" -eq 0 ] && echo && echo "GATE PASS (quick: unit suites only)"
while IFS=$'\t' read -r name class args opts timeout; do
case "$name" in ''|'#'*) continue ;; esac
+ # Scenarios open a REAL window. Run them on a VIRTUAL display unless the
+ # caller already provided one: the gate must never put a window on the
+ # user's screen (it steals focus and, on a shared desktop, corrupts what
+ # the user is doing).
step "scenario $name" \
- bash -c "cd '$FO4' && timeout ${timeout:-300} '$JAVA_BIN' -Xmx20g -cp '$CP' $opts $class $args"
+ bash -c "cd '$FO4' && xvfb-run -a -s '-screen 0 3840x2160x24' timeout ${timeout:-300} '$JAVA_BIN' -Xmx20g -cp '$CP' $opts $class $args"
done < "$SCENARIOS"
echo