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

Buffer timeout status after buffer underflow #849

Open
Pibben opened this issue Nov 27, 2023 · 1 comment
Open

Buffer timeout status after buffer underflow #849

Pibben opened this issue Nov 27, 2023 · 1 comment
Labels
2. Needs informations Needs an acceptable design solution to be identified

Comments

@Pibben
Copy link

Pibben commented Nov 27, 2023

Describe the bug
I'm using the Aravis library with a GenICam ethernet camera.

If I don’t call arv_stream_timeout_pop_buffer() often enough and Aravis runs out of input buffers and gets buffer underruns, after a while (a few calls) I start to get ARV_BUFFER_STATUS_TIMEOUT status on my buffers. Why does buffer underrun cause timeouts to happen? What can I do about it?

To Reproduce
Steps to reproduce the behavior:

  • Set up streaming from camera
  • Call arv_stream_timeout_pop_buffer at a frequency lower than the camera frame rate
  • After a while the returned buffers have ARV_BUFFER_STATUS_TIMEOUT status

Expected behavior
The buffers having ARV_BUFFER_STATUS_SUCCESS status.

Camera description:

  • Dalsa
  • Genie Nano
  • Ethernet

Platform description:

  • Aravis version 0.8.20
  • OS: Ubuntu 20.04
  • Hardware x86_64
@EmmanuelP
Copy link
Contributor

Could run your software with ARV_DEBUG=all:3 and attach the console output here.

@EmmanuelP EmmanuelP added the 2. Needs informations Needs an acceptable design solution to be identified label Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. Needs informations Needs an acceptable design solution to be identified
Projects
None yet
Development

No branches or pull requests

2 participants