Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large glass-to-glass latency with Blackfly S USB3 #902

Open
nicshackle opened this issue May 9, 2024 · 0 comments
Open

Large glass-to-glass latency with Blackfly S USB3 #902

nicshackle opened this issue May 9, 2024 · 0 comments

Comments

@nicshackle
Copy link

Describe the bug
I have a Blackfly S BFS-US-16S2M connected over USB3 to a powerful computer running Ubuntu 22.04. If I point the camera to a blinking pattern on the screen, and then open the aravis monitor next to the blinking pattern, I notice a significant latency (not measured, but probably in the 100-200ms range). Is this normal?
Attached is a screen recording of the blinking dot, alongside the viewer. The camera is pointed at the red blinking dot.
flashing_dotshort.webm

To Reproduce

  • Build aravis from source (release 0.8.31)
    • with meson configured to enable introspection, viewer, usb.
  • Blackfly S BFS-US-16S2M connected over USB 3
  • Point the camera at a blinking pattern on the computer monitor
  • Open aravis viewer
    • Pixel format: Mono8, Binning:1x1, Region size: 1440x1080 (also tried with smaller region sizes; same result)
    • Nothing set to auto; exposure set to 12uS, gain set to 47
    • fps at 199Hz

Expected behavior
Less latency

Camera description:

  • Flir
  • Blackfly S BFS-US-16S2M
  • USB3

Platform description:

  • Aravis version 0.8.13
  • OS: Ubuntu 22.04
  • x86_64, i9-14900K, GTX4080

Additional context
Trying with Spinnaker SDK (& spinview), I see the similar latency. Also tried setting the buffer to "newest only" (see https://www.flir.com/support-center/iis/machine-vision/application-note/understanding-buffer-handling/)

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

No branches or pull requests

1 participant