Browse KB Articles
Lost Ethernet data packets on Linux systems using FlyCapture2
KB Number: 10016
This article provides possible solutions to lost data packets when streaming images from a GigE Vision camera on Linux Ubuntu 8.04 or newer systems when using FlyCapture2 API.
To fix, try one or both of the following:
Note: On some ARM boards, you may need to increase the receive buffer size to greater than 1 MB before noticing improved streaming results. Increasing the buffer size can enhance receive performance, but it also uses more memory.
The following sysctl command updates the receive buffer memory settings:
sudo sysctl -w net.core.rmem_max=1048576 net.core.rmem_default=1048576
Note: In order for these changes to persist after system reboots, the following lines must be manually added to the bottom of the /etc/sysctl.conf file:
Once changes are persisted, they can be reloaded at any time by running the following command in sysctl:
sudo sysctl -p