aravis icon indicating copy to clipboard operation
aravis copied to clipboard

Missing packets and frame timeout when no frames are triggered for more than a a few 1 / frame rate units of time.

Open taschenbach opened this issue 2 years ago • 2 comments

Describe the bug Using a hardware trigger I can run the camera at max framerate without issue. If frames are not triggered for an amount of time proportional to the frame rate set in the camera I get dropped frames.

If I set the camera the 4 fps and trigger at 4 fps or 3fps it is fine. If I trigger at 1fps it drops every frame. if I send 4 4hz pulses it will drop the first and the next three are complete reliably. The camera adjusts the readout time based on the set fps. When set to 10fps and triggered at 10 they are 100% successful but anywhere below around 4 or 5fps it will start dropping.

It is as if there is any "dead air" on the transmission something causes the next acquired frame to drop. Exposure time is set to 1/100 sec regardless of rate.

Camera description:

  • Emergent
  • HB127
  • 25gbe

Platform description:

  • Aravis 0.8
  • MacOS 13 -M2 Max

arv-camera-test-0.8 -d all
Results

4fps with 4hz trigger drops first frame when triggering starts :

Looking for the first available camera
[16:45:05.926] 🅸 interface> Found 0 USB3Vision device (among 6 USB devices)
[16:45:05.926] 🅸 interface> [GvDiscoverSocket::new] Add interface 127.0.0.1 (127.0.0.1)
[16:45:05.927] 🅸 interface> [GvDiscoverSocket::new] Add interface 10.0.0.25 (10.0.0.255)
[16:45:05.927] 🅸 interface> [GvDiscoverSocket::new] Add interface 192.168.1.101 (192.168.1.255)
[16:45:05.927] 🆆 interface> [ArvGVInterface::send_discover_packet] Error sending packet using local broadcast: Error sending message: Can't assign requested address
[16:45:05.934] 🅸 interface> [GvInterface::discovery] Device 'EVT-HB-127SM-2006269' found (interface 192.168.1.101) user_id '' - MAC 'e0:55:97:1e:9c:fd'
[16:45:05.934] 🅸 device> [GvDevice::new] Interface address = 192.168.1.101
[16:45:05.934] 🅸 device> [GvDevice::new] Device address = 192.168.1.69
[16:45:05.942] 🅸 device> [GvDevice::load_genicam] xml url = 'Local:Emergent_HB-127SM.zip;40000;28DC' at 0x200
[16:45:05.942] 🅸 device> [GvDevice::load_genicam] Xml address = 0x40000 - size = 0x28dc - Emergent_HB-127SM.zip
[16:45:06.131] 🅸 device> [GvDevice::load_genicam] Zipped xml data
[16:45:06.140] 🅸 genicam> [Gc::set_default_node_data] Add 'DeviceManufacturerInfo'
[16:45:06.141] 🅸 genicam> [Gc::set_default_node_data] Add 'DeviceID'
[16:45:06.141] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevCurrentIPConfigurationLLA'
[16:45:06.141] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevCurrentIPConfigurationDHCP'
[16:45:06.141] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevCurrentIPConfigurationPersistentIP'
[16:45:06.141] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevCurrentIPAddress'
[16:45:06.141] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevCurrentSubnetMask'
[16:45:06.141] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevCurrentDefaultGateway'
[16:45:06.141] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevNumberOfNetworkInterfaces'
[16:45:06.141] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevPersistentIPAddress'
[16:45:06.141] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevPersistentSubnetMask'
[16:45:06.141] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevPersistentDefaultGateway'
[16:45:06.141] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevStreamChannelCount'
[16:45:06.142] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevStreamChannelSelector'
[16:45:06.142] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevSCPAddrCalc'
[16:45:06.142] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevTimestampTickFrequency'
[16:45:06.142] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevSCPHostPort'
[16:45:06.142] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevSCPSFireTestPacket'
[16:45:06.142] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevSCPSDoNotFragment'
[16:45:06.142] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevSCPSBigEndian'
[16:45:06.142] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevSCPSPacketSize'
[16:45:06.142] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevSCPD'
[16:45:06.143] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevSCDA'
[16:45:06.143] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevSCSP'
[16:45:06.143] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevSCCFGMultipart'
[16:45:06.143] 🅸 genicam> [Gc::set_default_node_data] Add 'GevSCPD'
[16:45:06.148] 🅸 device> [GvDevice::new] Device endianness = big
[16:45:06.148] 🅸 device> [GvDevice::new] Packet resend     = no
[16:45:06.148] 🅸 device> [GvDevice::new] Write memory      = no
[16:45:06.148] 🅸 device> [GvDevice::new] Legacy endianness handling = yes
vendor name            = EVT
model name             = HB-127SM
device serial number   = 2006269
image width            = 13376
image height           = 9528
payload                = 191169792 bytes
gv n_stream channels   = 1
gv current channel     = 0
gv packet delay        = 0 ns
[16:45:06.152] 🅸 device> [GvDevice::create_stream] Number of stream channels = 1
[16:45:06.152] 🅸 device> [GvDevice::auto_packet_size] No GevSCPSFireTestPacket feature found
[16:45:06.153] 🅸 stream> [GvStream::stream_new] Stream channel = 0
[16:45:06.154] 🅸 stream> [GvStream::stream_new] Packet size = 9000 byte(s)
[16:45:06.156] 🅸 stream> [GvStream::stream_new] Destination stream port = 59710
[16:45:06.156] 🅸 stream> [GvStream::stream_new] Source stream port = 0
[16:45:06.156] 🅸 stream> [GvStream::loop] Standard socket method
gv packet size         = 9000 bytes
  0 frame/s  -       0 MiB/s
  0 frame/s  -       0 MiB/s
[16:45:09.068] 🆆 stream-thread> [GvStream::check_frame_completion] Timeout for frame 1 at dt = 258377
  0 frame/s  -       0 MiB/s - 1 error
  4 frames/s -     765 MiB/s
  4 frames/s -     765 MiB/s
  4 frames/s -     765 MiB/s
  4 frames/s -     765 MiB/s
  3 frames/s -     574 MiB/s
  4 frames/s -     765 MiB/s
  4 frames/s -     765 MiB/s
  4 frames/s -     765 MiB/s
  4 frames/s -     765 MiB/s
  4 frames/s -     765 MiB/s
  4 frames/s -     765 MiB/s
  3 frames/s -     574 MiB/s
  4 frames/s -     765 MiB/s
  4 frames/s -     765 MiB/s
  4 frames/s -     765 MiB/s
  4 frames/s -     765 MiB/s
  4 frames/s -     765 MiB/s
  3 frames/s -     574 MiB/s
^C  4 frames/s -     765 MiB/s
n_completed_buffers    = 73
n_failures             = 1
n_underruns            = 0
n_timeouts             = 1
n_aborted              = 0
n_missing_frames       = 0
n_size_mismatch_errors = 0
n_received_packets     = 1587940
n_missing_packets      = 21226
n_error_packets        = 0
n_ignored_packets      = 0
n_resend_requests      = 0
n_resent_packets       = 0
n_resend_ratio_reached = 0
n_resend_disabled      = 0
n_duplicated_packets   = 0
n_transferred_bytes    = 14245308376
n_ignored_bytes        = 0
[16:45:28.311] 🅸 stream>     bins    ;frame_retent; packet_time;inter_packet
                                    0;           0;       21776;     1596090
                                 2000;           0;       19661;           1
                                 4000;           0;       19890;           0
                                 6000;           0;       20065;           0
                                 8000;           0;       20073;           0
                                10000;           0;       20024;           0
                                12000;           0;       20125;           0
                                14000;           0;       20108;           0
                                16000;           0;       19881;           0
                                18000;           0;       20022;           0
                                20000;           0;       20012;           0
                                22000;           0;       20082;           0
                                24000;           0;       19910;           0
                                26000;           0;       20167;           0
                                28000;           0;       19996;           0
                                30000;           0;       20054;           0
                                32000;           0;       19824;           0
                                34000;           0;       19954;           0
                                36000;           0;       20008;           0
                                38000;           0;       19919;           0
                                40000;           0;       19952;           0
                                42000;           0;       19921;           0
                                44000;           0;       19900;           0
                                46000;           0;       19916;           0
                                48000;           0;       20005;           0
                                50000;           0;       19969;           0
                                52000;           0;       20011;           0
                                54000;           0;       19995;           0
                                56000;           0;       20135;           0
                                58000;           0;       20093;           0
                                60000;           0;       20098;           0
                                62000;           0;       20095;           0
                                64000;           0;       20123;           0
                                66000;           0;       20034;           0
                                68000;           0;       20119;           0
                                70000;           0;       20095;           0
                                72000;           0;       20086;           0
                                74000;           0;       20058;           0
                                76000;           0;       20129;           0
                                78000;           0;       20086;           0
                                80000;           0;       20100;           0
                                82000;           0;       20072;           0
                                84000;           0;       20102;           0
                                86000;           0;       20087;           0
                                88000;           0;       20054;           0
                                90000;           0;       20106;           0
                                92000;           0;       20028;           0
                                94000;           0;       20133;           0
                                96000;           0;       20120;           0
                                98000;           0;       20060;           0
                               100000;           0;       20099;           0
                               102000;           0;       20097;           0
                               104000;           0;       20113;           0
                               106000;           0;       20049;           0
                               108000;           0;       20096;           0
                               110000;           0;       20114;           0
                               112000;           0;       20076;           0
                               114000;           0;       20076;           0
                               116000;           0;       20073;           0
                               118000;           0;       20100;           0
                               120000;           0;       20118;           0
                               122000;           0;       20056;           0
                               124000;           0;       20101;           0
                               126000;           0;       20094;           0
                               128000;           0;       20049;           0
                               130000;           0;       20134;           0
                               132000;           0;       20045;           0
                               134000;           0;       20132;           0
                               136000;           0;       20077;           0
                               138000;           0;       20097;           0
                               140000;           0;       20072;           0
                               142000;           0;       20060;           0
                               144000;           0;       20091;           0
                               146000;           0;       20075;           0
                               148000;           0;       20111;           0
                               150000;           0;       20108;           0
                               152000;           0;       20052;           0
                               154000;           0;       20134;           0
                               156000;           0;       20054;           0
                               158000;          74;       10380;           0
                         -------------
                         >=    160000;           1;           0;           0
                         <          0;           0;           0;           0
                         min         :      158894;           0;           0
                         max         :      258377;      159210;        2796
                         last max at :           0;       60474;         108
                         counter     :          75:     1596166:     1596091
[16:45:28.311] 🅸 stream> [GvStream::finalize] n_completed_buffers    = 74
[16:45:28.311] 🅸 stream> [GvStream::finalize] n_failures             = 1
[16:45:28.311] 🅸 stream> [GvStream::finalize] n_underruns            = 0
[16:45:28.311] 🅸 stream> [GvStream::finalize] n_timeouts             = 1
[16:45:28.311] 🅸 stream> [GvStream::finalize] n_aborted              = 0
[16:45:28.311] 🅸 stream> [GvStream::finalize] n_missing_frames       = 0
[16:45:28.311] 🅸 stream> [GvStream::finalize] n_size_mismatch_errors = 0
[16:45:28.311] 🅸 stream> [GvStream::finalize] n_received_packets     = 1596166
[16:45:28.311] 🅸 stream> [GvStream::finalize] n_missing_packets      = 21226
[16:45:28.311] 🅸 stream> [GvStream::finalize] n_error_packets        = 0
[16:45:28.311] 🅸 stream> [GvStream::finalize] n_ignored_packets      = 0
[16:45:28.311] 🅸 stream> [GvStream::finalize] n_resend_requests      = 0
[16:45:28.311] 🅸 stream> [GvStream::finalize] n_resent_packets       = 0
[16:45:28.311] 🅸 stream> [GvStream::finalize] n_resend_ratio_reached = 0
[16:45:28.311] 🅸 stream> [GvStream::finalize] n_resend_disabled      = 0
[16:45:28.311] 🅸 stream> [GvStream::finalize] n_duplicated_packets   = 0
[16:45:28.311] 🅸 stream> [GvStream::finalize] n_transferred_bytes    = 14319052802
[16:45:28.311] 🅸 stream> [GvStream::finalize] n_ignored_bytes        = 0
[16:45:28.311] 🅸 stream> [Stream::finalize] Flush 50 buffer[s] in input queue
[16:45:28.311] 🅸 stream> [Stream::finalize] Flush 0 buffer[s] in output queue

4fps camera setting approx 1hz trigger all frames dropped:

 arv-camera-test-0.8 -d all
Looking for the first available camera
[16:46:00.740] 🅸 interface> Found 0 USB3Vision device (among 6 USB devices)
[16:46:00.740] 🅸 interface> [GvDiscoverSocket::new] Add interface 127.0.0.1 (127.0.0.1)
[16:46:00.740] 🅸 interface> [GvDiscoverSocket::new] Add interface 10.0.0.25 (10.0.0.255)
[16:46:00.740] 🅸 interface> [GvDiscoverSocket::new] Add interface 192.168.1.101 (192.168.1.255)
[16:46:00.741] 🆆 interface> [ArvGVInterface::send_discover_packet] Error sending packet using local broadcast: Error sending message: Can't assign requested address
[16:46:00.742] 🅸 interface> [GvInterface::discovery] Device 'EVT-HB-127SM-2006269' found (interface 192.168.1.101) user_id '' - MAC 'e0:55:97:1e:9c:fd'
[16:46:00.742] 🅸 device> [GvDevice::new] Interface address = 192.168.1.101
[16:46:00.742] 🅸 device> [GvDevice::new] Device address = 192.168.1.69
[16:46:00.750] 🅸 device> [GvDevice::load_genicam] xml url = 'Local:Emergent_HB-127SM.zip;40000;28DC' at 0x200
[16:46:00.750] 🅸 device> [GvDevice::load_genicam] Xml address = 0x40000 - size = 0x28dc - Emergent_HB-127SM.zip
[16:46:00.931] 🅸 device> [GvDevice::load_genicam] Zipped xml data
[16:46:00.939] 🅸 genicam> [Gc::set_default_node_data] Add 'DeviceManufacturerInfo'
[16:46:00.939] 🅸 genicam> [Gc::set_default_node_data] Add 'DeviceID'
[16:46:00.939] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevCurrentIPConfigurationLLA'
[16:46:00.939] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevCurrentIPConfigurationDHCP'
[16:46:00.939] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevCurrentIPConfigurationPersistentIP'
[16:46:00.939] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevCurrentIPAddress'
[16:46:00.939] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevCurrentSubnetMask'
[16:46:00.939] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevCurrentDefaultGateway'
[16:46:00.939] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevNumberOfNetworkInterfaces'
[16:46:00.940] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevPersistentIPAddress'
[16:46:00.940] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevPersistentSubnetMask'
[16:46:00.940] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevPersistentDefaultGateway'
[16:46:00.940] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevStreamChannelCount'
[16:46:00.940] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevStreamChannelSelector'
[16:46:00.940] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevSCPAddrCalc'
[16:46:00.940] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevTimestampTickFrequency'
[16:46:00.940] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevSCPHostPort'
[16:46:00.940] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevSCPSFireTestPacket'
[16:46:00.940] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevSCPSDoNotFragment'
[16:46:00.940] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevSCPSBigEndian'
[16:46:00.940] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevSCPSPacketSize'
[16:46:00.941] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevSCPD'
[16:46:00.941] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevSCDA'
[16:46:00.941] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevSCSP'
[16:46:00.941] 🅸 genicam> [Gc::set_default_node_data] Add 'ArvGevSCCFGMultipart'
[16:46:00.941] 🅸 genicam> [Gc::set_default_node_data] Add 'GevSCPD'
[16:46:00.947] 🅸 device> [GvDevice::new] Device endianness = big
[16:46:00.947] 🅸 device> [GvDevice::new] Packet resend     = no
[16:46:00.948] 🅸 device> [GvDevice::new] Write memory      = no
[16:46:00.948] 🅸 device> [GvDevice::new] Legacy endianness handling = yes
vendor name            = EVT
model name             = HB-127SM
device serial number   = 2006269
image width            = 13376
image height           = 9528
payload                = 191169792 bytes
gv n_stream channels   = 1
gv current channel     = 0
gv packet delay        = 0 ns
[16:46:00.952] 🅸 device> [GvDevice::create_stream] Number of stream channels = 1
[16:46:00.952] 🅸 device> [GvDevice::auto_packet_size] No GevSCPSFireTestPacket feature found
[16:46:00.953] 🅸 stream> [GvStream::stream_new] Stream channel = 0
[16:46:00.954] 🅸 stream> [GvStream::stream_new] Packet size = 9000 byte(s)
[16:46:00.956] 🅸 stream> [GvStream::stream_new] Destination stream port = 58223
[16:46:00.956] 🅸 stream> [GvStream::stream_new] Source stream port = 0
[16:46:00.956] 🅸 stream> [GvStream::loop] Standard socket method
gv packet size         = 9000 bytes
  0 frame/s  -       0 MiB/s
  0 frame/s  -       0 MiB/s
  0 frame/s  -       0 MiB/s
[16:46:04.083] 🆆 stream-thread> [GvStream::check_frame_completion] Timeout for frame 1 at dt = 258344
  0 frame/s  -       0 MiB/s - 1 error
  0 frame/s  -       0 MiB/s
[16:46:06.086] 🆆 stream-thread> [GvStream::check_frame_completion] Timeout for frame 2 at dt = 283366
  0 frame/s  -       0 MiB/s - 1 error
[16:46:07.952] 🆆 stream-thread> [GvStream::check_frame_completion] Timeout for frame 3 at dt = 280861
  0 frame/s  -       0 MiB/s - 1 error
  0 frame/s  -       0 MiB/s
[16:46:09.372] 🆆 stream-thread> [GvStream::check_frame_completion] Timeout for frame 4 at dt = 283575
  0 frame/s  -       0 MiB/s - 1 error
[16:46:10.563] 🆆 stream-thread> [GvStream::check_frame_completion] Timeout for frame 5 at dt = 282462
  0 frame/s  -       0 MiB/s - 1 error
[16:46:11.620] 🆆 stream-thread> [GvStream::check_frame_completion] Timeout for frame 6 at dt = 280611
  0 frame/s  -       0 MiB/s - 1 error
[16:46:12.837] 🆆 stream-thread> [GvStream::check_frame_completion] Timeout for frame 7 at dt = 282908
  0 frame/s  -       0 MiB/s - 1 error
[16:46:14.003] 🆆 stream-thread> [GvStream::check_frame_completion] Timeout for frame 8 at dt = 280342
  0 frame/s  -       0 MiB/s - 1 error
  0 frame/s  -       0 MiB/s
[16:46:15.220] 🆆 stream-thread> [GvStream::check_frame_completion] Timeout for frame 9 at dt = 282041
  0 frame/s  -       0 MiB/s - 1 error
[16:46:16.298] 🆆 stream-thread> [GvStream::check_frame_completion] Timeout for frame 10 at dt = 280961
  0 frame/s  -       0 MiB/s - 1 error
[16:46:17.429] 🆆 stream-thread> [GvStream::check_frame_completion] Timeout for frame 11 at dt = 282435
  0 frame/s  -       0 MiB/s - 1 error
  0 frame/s  -       0 MiB/s
  0 frame/s  -       0 MiB/s
  0 frame/s  -       0 MiB/s
^C  0 frame/s  -       0 MiB/s
n_completed_buffers    = 0
n_failures             = 11
n_underruns            = 0
n_timeouts             = 11
n_aborted              = 0
n_missing_frames       = 0
n_size_mismatch_errors = 0
n_received_packets     = 211877
n_missing_packets      = 232771
n_error_packets        = 0
n_ignored_packets      = 0
n_resend_requests      = 0
n_resent_packets       = 0
n_resend_ratio_reached = 0
n_resend_disabled      = 0
n_duplicated_packets   = 0
n_transferred_bytes    = 1900703990
n_ignored_bytes        = 0
[16:46:22.040] 🅸 stream>     bins    ;frame_retent; packet_time;inter_packet
                                    0;           0;        1505;      211866
                                 2000;           0;        1644;           0
                                 4000;           0;        1634;           0
                                 6000;           0;        1542;           0
                                 8000;           0;        1765;           0
                                10000;           0;        1821;           0
                                12000;           0;        2030;           0
                                14000;           0;        2053;           0
                                16000;           0;        2217;           0
                                18000;           0;        2330;           0
                                20000;           0;        2280;           0
                                22000;           0;        2247;           0
                                24000;           0;        2584;           0
                                26000;           0;        2401;           0
                                28000;           0;        1906;           0
                                30000;           0;        1613;           0
                                32000;           0;        1536;           0
                                34000;           0;        1488;           0
                                36000;           0;        1632;           0
                                38000;           0;        2224;           0
                                40000;           0;        2546;           0
                                42000;           0;        2798;           0
                                44000;           0;        2738;           0
                                46000;           0;        2737;           0
                                48000;           0;        2903;           0
                                50000;           0;        2822;           0
                                52000;           0;        2950;           0
                                54000;           0;        3074;           0
                                56000;           0;        3006;           0
                                58000;           0;        2951;           0
                                60000;           0;        2808;           0
                                62000;           0;        2882;           0
                                64000;           0;        2876;           0
                                66000;           0;        2792;           0
                                68000;           0;        3035;           0
                                70000;           0;        2925;           0
                                72000;           0;        3026;           0
                                74000;           0;        2969;           0
                                76000;           0;        2946;           0
                                78000;           0;        2932;           0
                                80000;           0;        2927;           0
                                82000;           0;        2989;           0
                                84000;           0;        2939;           0
                                86000;           0;        2948;           0
                                88000;           0;        2934;           0
                                90000;           0;        2958;           0
                                92000;           0;        2939;           0
                                94000;           0;        2959;           0
                                96000;           0;        2940;           0
                                98000;           0;        2944;           0
                               100000;           0;        2945;           0
                               102000;           0;        2949;           0
                               104000;           0;        2942;           0
                               106000;           0;        2963;           0
                               108000;           0;        2952;           0
                               110000;           0;        2929;           0
                               112000;           0;        2949;           0
                               114000;           0;        2949;           0
                               116000;           0;        2946;           0
                               118000;           0;        2951;           0
                               120000;           0;        2944;           0
                               122000;           0;        2950;           0
                               124000;           0;        2943;           0
                               126000;           0;        2942;           0
                               128000;           0;        2949;           0
                               130000;           0;        2940;           0
                               132000;           0;        2950;           0
                               134000;           0;        2940;           0
                               136000;           0;        2956;           0
                               138000;           0;        2945;           0
                               140000;           0;        2945;           0
                               142000;           0;        2952;           0
                               144000;           0;        2944;           0
                               146000;           0;        2941;           0
                               148000;           0;        2950;           0
                               150000;           0;        2948;           0
                               152000;           0;        2943;           0
                               154000;           0;        2948;           0
                               156000;           0;        2922;           0
                               158000;           0;         805;           0
                         -------------
                         >=    160000;          11;           0;           0
                         <          0;           0;           0;           0
                         min         :      258344;           0;           0
                         max         :      283575;      158822;        1895
                         last max at :           3;       38131;      192487
                         counter     :          11:      211877:      211866
[16:46:22.041] 🅸 stream> [GvStream::finalize] n_completed_buffers    = 0
[16:46:22.041] 🅸 stream> [GvStream::finalize] n_failures             = 11
[16:46:22.041] 🅸 stream> [GvStream::finalize] n_underruns            = 0
[16:46:22.041] 🅸 stream> [GvStream::finalize] n_timeouts             = 11
[16:46:22.042] 🅸 stream> [GvStream::finalize] n_aborted              = 0
[16:46:22.042] 🅸 stream> [GvStream::finalize] n_missing_frames       = 0
[16:46:22.042] 🅸 stream> [GvStream::finalize] n_size_mismatch_errors = 0
[16:46:22.042] 🅸 stream> [GvStream::finalize] n_received_packets     = 211877
[16:46:22.042] 🅸 stream> [GvStream::finalize] n_missing_packets      = 232771
[16:46:22.042] 🅸 stream> [GvStream::finalize] n_error_packets        = 0
[16:46:22.042] 🅸 stream> [GvStream::finalize] n_ignored_packets      = 0
[16:46:22.042] 🅸 stream> [GvStream::finalize] n_resend_requests      = 0
[16:46:22.042] 🅸 stream> [GvStream::finalize] n_resent_packets       = 0
[16:46:22.042] 🅸 stream> [GvStream::finalize] n_resend_ratio_reached = 0
[16:46:22.043] 🅸 stream> [GvStream::finalize] n_resend_disabled      = 0
[16:46:22.043] 🅸 stream> [GvStream::finalize] n_duplicated_packets   = 0
[16:46:22.043] 🅸 stream> [GvStream::finalize] n_transferred_bytes    = 1900703990
[16:46:22.043] 🅸 stream> [GvStream::finalize] n_ignored_bytes        = 0
[16:46:22.043] 🅸 stream> [Stream::finalize] Flush 50 buffer[s] in input queue
[16:46:22.043] 🅸 stream> [Stream::finalize] Flush 0 buffer[s] in output queue

taschenbach avatar Sep 07 '23 21:09 taschenbach

I guess that is because the leader packet is sent early, before the trigger signal. Could you try to increase the frame retention timeout ?

arv-camera-test-0.8 -m 2000

EmmanuelP avatar Sep 08 '23 04:09 EmmanuelP

This did not change the results. I have tried changing packet timeout, frame retention, and other stream parameters. The same issue occurs when using software triggering. Here is the output of a single trigger with debug level 5.

arvcameratestdebugall_5.txt

taschenbach avatar Sep 08 '23 12:09 taschenbach