Hi NVIDIA Team,
We are currently working with the NVIDIA field team regarding a critical blocker in our sensor fusion in Jetpack 6.x. We are posting here to provide the technical problem statement for the engineering team to review.
Platform: Jetson Orin Nano
Software: JetPack 6.2 (L4T R36.4.7)
Problem Description
Our application relies on identifying the precise Start of Frame (SoF) timestamp from the hardware to perform sensor fusion with IMU data. The “Time of Arrival” in userspace is too variable due to kernel scheduling and interrupt latency, so we require a more accurate timestamp.
In JetPack 6.x: The mechanism to retrieve an offset describing the difference between clock monotonic raw and src_ts appears to have been removed or changed. While src_ts still increments in the V4L2 buffer, the boot-time offset relative to the system clock is unknown and changes with every reboot. Without this, we cannot correlate image frames to flight data.
Attempted Solution & Failure Mode
We attempted to implement the fix suggested in this thread: https://forums.developer.nvidia.com/t/how-to-get-the-clock-source-offset-ns-on-jetpack-6/300994
Methodology:
-
We constructed the offset calculation exactly as provided in the snippet from the thread above (the most recent code response - not the first one).
-
We captured camera frames via V4L2.
-
We applied the calculated offset to the
src_tsto convert it toCLOCK_MONOTONIC_RAW. -
We compared this against the current system time.
Result: The calculation is incorrect. The derived timestamps are consistently 2-12 seconds off compared to CLOCK_MONOTONIC_RAW. This suggests the offset logic provided in that thread is either incomplete or invalid for the current L4T release.
To unblock our deployment, we need guidance on the following for the JetPack 6.x (Kernel 5.15) environment:
-
What is the sanctioned method to retrieve the
tsc_offsetor equivalent delta to mapsrc_tstoCLOCK_MONOTONIC_RAWin JP6? -
If
src_tscorrelation is deprecated, what is the recommended path for retrieving precise SoF/EoF hardware capture times on Orin-series hardware?
Thanks, Marc