Hi Katie,
Have you set the Linux net.core.rmem_default and net.core.rmem_max settings as described here?
https://areadetector.github.io/master/ADGenICam/ADGenICam.html#linux-usb-and-gige-system-settings
If that does not help then on the Basler-features_4 screen you will see these features:
GevSCPD Inter-packet delay
GevSCFTD Frame transmission delay
GevSCBWA Bandwidth assigned
GevBWR Bandwidth reserve
GevBWRA Bandwidth reserve accumulation
I don’t know what those all do because they are Basler-specific, but they are discussed some here:
https://github.com/basler/pypylon/issues/129
Mark
From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Katie Matusik via Tech-talk
Sent: Tuesday, April 6, 2021 1:07 PM
To: tech-talk <tech-talk at aps.anl.gov>
Subject: line scan camera with ADAravis driver skips frames
Hi everyone,
The camera that I am connecting to via GigE is a Basler Racer line scan camera (12288 x 1 px) model raL12288-8gm. When I run the camera with binning 1x1 and 8-bit pixel format at 1kHz (slowest frame rate), the driver keeps up until about
30K frames, at which point I start accumulating frame failures and underruns. With a higher frame rate, it happens almost immediately.
I am using the latest areaDetector-master with ADAravis R1-3 and ADGenICam-master. I am running this IOC in a Docker using the host network which has MTU set to 9000. I made a slight adjustment to the ADAravis.cpp driver regarding setting
the packet size to jumbo packets rather than determining optimum packet size, which was interfering with my network (lines 379-381 in ADAravis.cpp):
377 if (ARV_IS_GV_DEVICE(this->device)) {
378 // Automatically determine optimum packet size
379 // arv_gv_device_auto_packet_size(ARV_GV_DEVICE(this->device));
380 // Uncomment this line to set jumbo packets
381 arv_gv_device_set_packet_size(ARV_GV_DEVICE(this->device), 9000);
382 }
I'm attaching snapshots of my camera features settings as well as my st.cmd and st.cmd.base files. Please let me know what other information you need. When I run this using the Basler pylonViewer software, I do not see these skipped frames.
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have
received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please
notify the sender immediately by email if you have received this email by mistake and delete this email from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the
contents of this information is strictly prohibited