Skip to content

fix(provision): pin camera userspace stack to 36.4.4#108

Merged
dakejahl merged 1 commit into
mainfrom
fix/jp622-argus-userspace-pin
Jul 22, 2026
Merged

fix(provision): pin camera userspace stack to 36.4.4#108
dakejahl merged 1 commit into
mainfrom
fix/jp622-argus-userspace-pin

Conversation

@dakejahl

Copy link
Copy Markdown
Collaborator

Summary

Pin the camera userspace stack (nvidia-l4t-gstreamer/-camera/-multimedia/-multimedia-utils) to 36.4.4 at provision time, sidestepping the JetPack 6.2.2 Argus regression. Bench-reproduced, root-caused, and validated on PAB_V3 / Orin NX 16GB with dual IMX219 — full data and repro harness in docs/argus_relaunch_regression.md.

Problem

The 36.4.7/36.5.0 NVIDIA camera userspace regressed (#107): every nvarguscamerasrc teardown errors (CANCELLED / Argus Correctable Error Status), and roughly 1 in 60–120 camera relaunches delivers no frames and segfaults nvargus-daemon (Camera HwEvents wait timeout → EGLStreamProducer Mutex not initialized → SIGSEGV), a ~40 s video outage per event and a permanent wedge on setups where the daemon doesn't restart. It reproduces with stock sensors, is independent of the encoder and of rtcpu runtime PM (NVIDIA's forum workaround does not help on Orin NX), and lives entirely in the closed userspace: the same relaunch cycling is 250/250 clean with 36.4.x userspace on the unchanged 36.5.0 kernel, OOT modules, and RCE firmware.

Solution

--provision now installs the four camera-stack debs at NV_CAMERA_STACK_VERSION (36.4.4 — the newest bench-clean release) instead of the BSP stamp. The 36.4.x debs are repacked (relax_l4t_deps) to lift their nvidia-l4t-core (<< 36.5-0) cap and out-of-set exact-version deps, installed as one plain apt-get install --allow-downgrades transaction (no --force-depends, dpkg/apt state stays consistent), and apt-mark hold so an on-device upgrade can't restore the regressed stamp. Validated end-to-end on the bench in exactly this repacked form: apt-get check clean, 20/20 clean launches (plus 100/100 on the raw 36.4.4 quartet). Docs carry the bench data and the retest-and-drop-the-pin guidance for future BSP bumps.

The 36.4.7/36.5.0 Argus userspace regressed: every nvarguscamerasrc
teardown errors, and ~1 in 60-120 relaunches drops all frames and
segfaults nvargus-daemon. Bench-validated on PAB_V3/Orin NX that the
36.4.4 quartet on the unchanged 36.5.0 kernel/RCE firmware is clean
(250/250 launches), so provision repacks and holds those debs.
Full evidence and repro harness in docs/argus_relaunch_regression.md.
@dakejahl
dakejahl merged commit 56eeda9 into main Jul 22, 2026
1 check passed
@dakejahl
dakejahl deleted the fix/jp622-argus-userspace-pin branch July 22, 2026 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant