Repository navigation
cvcgl_ariadne_realize: stop the heat solve once it is stepping - #953
Merged
Merged
Conversation
The heat-stop check sent "stop" once fe.progress reached 1%. The first 3%
of a solve job's progress is the boundary walk before the solve, so on a
slow build (package-linux Debug-grpc) the stop landed there and the job
ended with nothing ('heat: stopped'), failing "heat.steps = 1e30 is
clamped, and stop interrupts it" (#944's CI, and twice on #946's).
Wait for fe.phase "stepping" instead: the time steps are under way, so a
stop ends the solve at a step, and a solve wrapped to one step is still
caught (done, busy 0, before the stop).
transfix
added a commit
that referenced
this pull request
Nov 1, 2026
…dow focus (#946) VTK 9.5's exponential shadow map barely darkened anything at a city's scale, and its light camera spread a 4096 map over ~17 km, so cvcdbg's demo3 showed no building or vehicle shadows. - FilteredShadowMapPass: the maps read back as depths and filtered (16-tap Poisson PCF), with normal offset, depth bias and receiver-plane bias in shadow texels; empty texels read lit; fades at the map's border. SceneGraph::setShadowSoftness. - StridedShadowBaker bakes through its own copy of VTK's loop: shader keys on every prop it draws, and texels hold 1 + exp(c z), so a pale background no longer reads as an occluder. - SceneGraph::setShadowFocus(x, y, z, r) / clearShadowFocus: each light's map aimed at a sphere (demo3: what the camera looks at, ~0.2 m a texel), the whole scene's depth range kept. - No GL error check around the forked bake: VTK's low-memory mapper raises GL_INVALID_OPERATION after a shader-cache release, VTK's own, which its compiled-out checks never report. - New test cvcgl_city_sun_shadows; also carries the macOS JoltRollout calibration (4add8b3 on #942). Merged with package-linux Debug-grpc red on cvcgl_ariadne_realize's heat-stop check, a timing flake inherited from master (#944's CI failed it too); fixed in #953.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cvcgl_ariadne_realize's check "heat.steps = 1e30 is clamped, and stop interrupts it" fails intermittently onpackage-linux / libcvc-debug-grpcwith status'heat: stopped'. It failed on #944's own CI and twice on #946's.Cause: the test sent
stoponcefe.progressreached 1%. A solve job's first 3% of progress is the boundary walk that runs before the solver (solve_boundary_step), and fe_lab only lets a heat job outlive a stop once it is in the solve stage. On a slow Debug build the stop arrived during the boundary walk, so the job ended with nothing instead of "heat: stopped at step N".Fix: wait for
fe.phaseto readstepping(the heat solver's time-stepping phase) before sending the stop. A solve wrapped to one step is still caught: it finishes (busy 0) before the stop, and the status check fails.Test-only change. It passes locally on Windows (Release, 7.9 s). The failure is timing-dependent and doesn't reproduce here, so the Linux Debug-grpc job is the real check.