Dear NVIDIA team,
We are observing that Auto Exposure (AE) continues to operate even after it is locked when the frame rate or exposure/gain is changed using the Argus camera application.
Case 1: Gain Change
- AE is locked.
- When the gain is manually increased to the maximum value, the exposure time is automatically reduced based on the scene brightness.
Expected Behavior:
Once AE is locked, it should not adjust either the exposure time. The exposure should remain fixed at the value that was active when AE lock was enabled.
Case 2: Frame Rate Change
- The current frame rate is 72 fps, with both the minimum and maximum frame rate set to 72 fps.
- AE is locked, and the exposure time is locked at 13,888 µs.
- When the frame rate is reduced, the exposure time changes automatically according to the scene brightness.
Expected Behavior:
Once AE is locked, the exposure time should remain unchanged regardless of frame rate changes. AE should not modify the exposure after AE lock has been enabled.
Thanks.
— 🤖 This is an automated AI response. I’m here to help, but please verify important details! —
Based on the provided context, I found a relevant discussion in the Community Solutions section that addresses the issue of Auto Exposure (AE) not working as expected on Jetson AGX Orin.
According to the discussion, AE lock is not working as expected because the sensor_set_gain and sensor_set_exposure functions are not being called when the gain or exposure time is changed using the Argus camera application.
The solution provided in the discussion is to modify the sensor_power_on function to set the pw->state to SWITCH_ON. This is shown in the following code snippet:
static int sensor_power_on(struct camera_common_data *s_data) {
...
pw->state = SWITCH_ON;
...
}
However, this solution does not directly address the issue of AE lock not working as expected. It is recommended to try the solution and verify if it resolves the issue.
Additionally, the discussion mentions that fine-grained per-block control of the ISP requires NVIDIA’s Camera Tuning Tool, which is available only to approved camera partners.
In summary, the provided context does not offer a clear solution to the issue of AE lock not working as expected on Jetson AGX Orin. However, it suggests that modifying the sensor_power_on function may help resolve the issue. Further investigation and testing are recommended to verify the solution.
Supported content:
- The issue of AE lock not working as expected on Jetson AGX Orin is discussed in the Community Solutions section.
- The solution provided in the discussion involves modifying the
sensor_power_on function to set the pw->state to SWITCH_ON.
Not covered:
- A clear solution to the issue of AE lock not working as expected on Jetson AGX Orin.
- The expected behavior of AE lock when the frame rate or exposure/gain is changed using the Argus camera application.
— We support team will also look into your issue to have further suggestions soon. please stay tuned. —
hello kishore.kumar1,
may I know the complete steps you’ve AE lock enabled?
besides,
let’s configure below settings on the target to enable more logs..
$ sudo su
# pkill nvargus-daemon
# export enableCamCoreLogs=5
# nvargus-daemon
after that,
please enable camera for gathering the logs.
let’s dig into camera logs for the AE behavior.
such as..
runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 30.00000, requiredCain 0.01330 totalAchievedCGains 0.01330 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.03333, AG 2.29763, ISPDG 1.00000
Dear Nvidia team,
I am sharing the video demonstrating both cases and attached the requested log for your reference.
NewDaemon_Aelock.txt (17.8 MB)
Thanks
hello kishore.kumar1,
I see.. it’s expected when the Argus camera app changes gain/exposure/frame-rate controls after AE lock.
for example, when you update the FrameRateRange, say {25,72}, it has updated the ET to 0.02255, AG becomes 1.0, and effective frame rate becomes about 44.35, again preserving the locked exposure product.
AE lock should stop scene-driven AE convergence, but if the app changes gain/exposure/frame-duration ranges, Argus may adjust the other parameters to satisfy the new constraints while preserving the locked exposure.
FYI,
if the requirement is to freeze both ET and AG numerically, please set fixed ExposureTimeRange and GainRange to the current metadata values after locking.
Dear NVIDIA team,
Understood. Thanks for the clarification and support.
Thanks.