pypylon icon indicating copy to clipboard operation
pypylon copied to clipboard

The buffer was incompletely grabbed. (jetson orin)

Open bnascimento opened this issue 1 year ago • 4 comments

Hi, we are trying to correctly setup 2 GIGE cameras (acA1920-40gc) on a Jetson Orin. We keep facing the following error:

The buffer was incompletely grabbed. This can be caused by performance problems of the network hardware used, i.e. network adapter, switch, or ethernet cable. To fix this, try increasing the camera's Inter-Packet Delay in the Transport Layer category to reduce the required bandwidth, and adjust the camera's Packet Size setting to the highest supported frame size.

We used the bandwidth manager on pylonviewer to correctly grab the Packet Size, Inter Packet Delay and Frame Transmission Delay parameters. We have ran the tool for hours, without any issue. However when we use these very same parameters on our code, after many hours (6+ hours sometimes), we face the error above. How to correctly setup these parameters on a Jetson Orin? We have setup jumbo packets and use a mtu on the network adapter of 8966, which we belive to be the maximum on that hardware. Our current parameters for 20MB/s for each camera are:

cam0:
  Packet Size: 8900
  Inter-Packet delay: 44156  
  Transmission delay: 0
cam1:
   Packet Size: 8900
  Inter-Packet delay: 44102
  Transmission delay: 9018

Can we have some hints on what might be incorrect?

bnascimento avatar Feb 28 '23 16:02 bnascimento