Hi there,
For a project I am using two ASI178MM cameras connected via USB3.0 to a Raspberry Pi4 (4GB).
Running one camera at a time works perfectly and high framerates are acquired, however running the 2 at the same time results in serious frame buffering issues and the FPS drops significantly on both. Even at different exposures it seems one camera's frame acquisition is affected by the other as it waits for the other acquisition to be completed before finishing its own acquisition. In most of the cases very inconsistent frame captures are seen (capture burst of 20 frames in a row and then a freeze for a couple seconds). I only need a smooth 25/30 FPS capture on both.
What I tried:
Various USB bandwidth settings on both camera's
Enabling/disabling high-speed modes
smaller ROI's to reduce amount of data transfer.
Initially I saw that when the frame acquisition freezes, the Raspberry clock drops to 600 MHz, so I set force_turbo=1 to keep the clock at 1.5 GHz
Same results when connecting the cameras to a more powerful laptop and trying all of the above
All of the above actions were unsuccessful in trying to get smooth 25/30 FPS frame captures from both cameras
What I am using:
Python ZWO ASI bindings by Steve Marple (using start_video_capture and then capture_video_frame to get the frames)
Both camera acquisition loops run in a separate thread
Two USB3.0 cable lengths are 1 meter
V1, 14, 1119 2019.11.19 SDK
Ubuntu 19.10
Anyone has any other ideas to make 2x ASI178MM run smooth?
All help is appreciated,
Tom