aravis
aravis copied to clipboard
Buffer timeout status after buffer underflow
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
Could run your software with ARV_DEBUG=all:3 and attach the console output here.