aravis
aravis copied to clipboard
USB3Vision Bandwith Issue
I'm using USB3 Machine Vision Camera on USB3.0 Port, and actual camera specification offers 2448x2048 @85 FPS (BayerGB8) required bandwidth is ~3.38 Gbps which is less than USB3.0 speed.
I thought the default configuration works, but I can see blank screen on arv-viewer. Not too familiar with aravis-tool can someone suggest?
[16:21:19.254] 🅸 interface> Found 1 USB3Vision device (among 12 USB devices)
[16:21:19.278] 🅸 device> [UvDevice::new] GUID = 04B400000209
[16:21:19.280] 🅸 device> [UvDevice::new] USB 3.0
[16:21:19.280] 🅸 device> [UvDevice::new] Using control endpoint 2, interface 0
[16:21:19.280] 🅸 device> [UvDevice::new] Using data endpoint 1, interface 1
[16:21:19.280] 🅸 device> Get genicam
[16:21:19.280] 🅸 device> MANUFACTURER_NAME = 'Hifly Technology'
[16:21:19.281] 🅸 device> MAX_DEVICE_RESPONSE_TIME = 0x000001f4
[16:21:19.281] 🅸 device> DEVICE_CAPABILITY = 0x0000000000000a09
[16:21:19.281] 🅸 device> SRBM_ADDRESS = 0x0000000002000000
[16:21:19.281] 🅸 device> MANIFEST_TABLE_ADDRESS = 0x0000000004000000
[16:21:19.282] 🅸 device> U3VCP_CAPABILITY = 0x0000000000000001
[16:21:19.282] 🅸 device> MAX_CMD_TRANSFER = 0x00004000
[16:21:19.282] 🅸 device> MAX_ACK_TRANSFER = 0x00004000
[16:21:19.282] 🅸 device> SIRM_OFFSET = 0x0000000003000000
[16:21:19.284] 🅸 device> SIRM_INFO = 0x00000000
[16:21:19.284] 🅸 device> SIRM_CONTROL = 0x00000000
[16:21:19.284] 🅸 device> SIRM_REQ_PAYLOAD_SIZE = 0x00000000004c8000
[16:21:19.284] 🅸 device> SIRM_REQ_LEADER_SIZE = 0x00000040
[16:21:19.284] 🅸 device> SIRM_REQ_TRAILER_SIZE = 0x00000020
[16:21:19.284] 🅸 device> SIRM_MAX_LEADER_SIZE = 0x00000400
[16:21:19.284] 🅸 device> SIRM_PAYLOAD_SIZE = 0x00004000
[16:21:19.284] 🅸 device> SIRM_PAYLOAD_COUNT = 0x00000132
[16:21:19.284] 🅸 device> SIRM_TRANSFER1_SIZE = 0x00000000
[16:21:19.284] 🅸 device> SIRM_TRANSFER2_SIZE = 0x00000000
[16:21:19.284] 🅸 device> SIRM_MAX_TRAILER_SIZE = 0x00000400
[16:21:19.284] 🅸 device> MANIFEST_N_ENTRIES = 0x0000000000000001
[16:21:19.284] 🅸 device> MANIFEST ENTRY
00000000 00 00 00 01 00 04 01 01 00 00 00 05 00 00 00 00 ................
00000010 c8 2b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .+..............
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[16:21:19.284] 🅸 device> genicam address = 0x0000000005000000
[16:21:19.284] 🅸 device> genicam size = 0x0000000000002bc8
[16:21:19.287] 🅸 device> zip file = M3S518.xml
[16:21:19.357] 🅸 stream> SIRM_INFO = 0x00000000
[16:21:19.357] 🅸 stream> SIRM_REQ_PAYLOAD_SIZE = 0x00000000004c8000
[16:21:19.357] 🅸 stream> SIRM_REQ_LEADER_SIZE = 0x00000040
[16:21:19.357] 🅸 stream> SIRM_REQ_TRAILER_SIZE = 0x00000020
[16:21:19.357] 🅸 stream> Required alignment = 1
[16:21:19.360] 🅸 stream> SIRM_PAYLOAD_SIZE = 0x00100000
[16:21:19.360] 🅸 stream> SIRM_PAYLOAD_COUNT = 0x00000004
[16:21:19.360] 🅸 stream> SIRM_TRANSFER1_SIZE = 0x000c8000
[16:21:19.360] 🅸 stream> SIRM_TRANSFER2_SIZE = 0x00000000
[16:21:19.360] 🅸 stream> SIRM_MAX_LEADER_SIZE = 0x00000040
[16:21:19.360] 🅸 stream> SIRM_MAX_TRAILER_SIZE = 0x00000020
[16:21:19.362] 🅸 stream-thread> Start async USB3Vision stream thread
ChunkWidth = 0
ChunkHeight = 0
[16:21:19.812] 🅸 stream-thread> Stop USB3Vision async stream thread
[16:21:19.812] 🅸 stream> [UvStream::finalize] n_completed_buffers = 1
[16:21:19.812] 🅸 stream> [UvStream::finalize] n_failures = 0
[16:21:19.812] 🅸 stream> [UvStream::finalize] n_underruns = 11
[16:21:19.812] 🅸 stream> [UvStream::finalize] n_aborted = 0
[16:21:19.812] 🅸 stream> [UvStream::finalize] n_transferred_bytes = 5013600
[16:21:19.812] 🅸 stream> [UvStream::finalize] n_ignored_bytes = 0
[16:21:19.813] 🅸 stream> [Stream::delete_buffers] Delete 0 buffer[s] in input queue
[16:21:19.813] 🅸 stream> [Stream::delete_buffers] Delete 0 buffer[s] in output queue
$ ARV_DEBUG=all arv-viewer-0.10
(arv-viewer-0.10:2361): dbind-WARNING **: 16:22:06.436: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
[16:22:07.239] 🅸 interface> Found 1 USB3Vision device (among 12 USB devices)
[16:22:07.240] 🅸 interface> [GvDiscoverSocket::new] Add interface 127.0.0.1 (127.0.0.1)
[16:22:07.240] 🅸 interface> [GvDiscoverSocket::new] Add interface 10.12.88.121 (10.12.91.255)
[16:22:08.241] 🆆 interface> No "GENICAM_GENTL64_PATH" defined
[16:22:16.221] 🅸 device> [UvDevice::new] GUID = 04B400000209
[16:22:16.223] 🅸 device> [UvDevice::new] USB 3.0
[16:22:16.223] 🅸 device> [UvDevice::new] Using control endpoint 2, interface 0
[16:22:16.223] 🅸 device> [UvDevice::new] Using data endpoint 1, interface 1
[16:22:16.223] 🅸 device> Get genicam
[16:22:16.223] 🅸 device> MANUFACTURER_NAME = 'Hifly Technology'
[16:22:16.224] 🅸 device> MAX_DEVICE_RESPONSE_TIME = 0x000001f4
[16:22:16.224] 🅸 device> DEVICE_CAPABILITY = 0x0000000000000a09
[16:22:16.224] 🅸 device> SRBM_ADDRESS = 0x0000000002000000
[16:22:16.224] 🅸 device> MANIFEST_TABLE_ADDRESS = 0x0000000004000000
[16:22:16.225] 🅸 device> U3VCP_CAPABILITY = 0x0000000000000001
[16:22:16.225] 🅸 device> MAX_CMD_TRANSFER = 0x00004000
[16:22:16.225] 🅸 device> MAX_ACK_TRANSFER = 0x00004000
[16:22:16.225] 🅸 device> SIRM_OFFSET = 0x0000000003000000
[16:22:16.227] 🅸 device> SIRM_INFO = 0x00000000
[16:22:16.227] 🅸 device> SIRM_CONTROL = 0x00000000
[16:22:16.227] 🅸 device> SIRM_REQ_PAYLOAD_SIZE = 0x00000000004c8000
[16:22:16.227] 🅸 device> SIRM_REQ_LEADER_SIZE = 0x00000040
[16:22:16.227] 🅸 device> SIRM_REQ_TRAILER_SIZE = 0x00000020
[16:22:16.228] 🅸 device> SIRM_MAX_LEADER_SIZE = 0x00000040
[16:22:16.228] 🅸 device> SIRM_PAYLOAD_SIZE = 0x00100000
[16:22:16.228] 🅸 device> SIRM_PAYLOAD_COUNT = 0x00000004
[16:22:16.228] 🅸 device> SIRM_TRANSFER1_SIZE = 0x000c8000
[16:22:16.228] 🅸 device> SIRM_TRANSFER2_SIZE = 0x00000000
[16:22:16.228] 🅸 device> SIRM_MAX_TRAILER_SIZE = 0x00000020
[16:22:16.228] 🅸 device> MANIFEST_N_ENTRIES = 0x0000000000000001
[16:22:16.228] 🅸 device> MANIFEST ENTRY
00000000 00 00 00 01 00 04 01 01 00 00 00 05 00 00 00 00 ................
00000010 c8 2b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .+..............
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[16:22:16.228] 🅸 device> genicam address = 0x0000000005000000
[16:22:16.228] 🅸 device> genicam size = 0x0000000000002bc8
[16:22:16.230] 🅸 device> zip file = M3S518.xml
[16:22:16.261] 🆆 misc> [PixelFormat::to_gst_caps_string] 0x010c0055 not found
[16:22:26.913] 🅸 stream> SIRM_INFO = 0x00000000
[16:22:26.913] 🅸 stream> SIRM_REQ_PAYLOAD_SIZE = 0x00000000004c8000
[16:22:26.913] 🅸 stream> SIRM_REQ_LEADER_SIZE = 0x00000040
[16:22:26.913] 🅸 stream> SIRM_REQ_TRAILER_SIZE = 0x00000020
[16:22:26.913] 🅸 stream> Required alignment = 1
[16:22:26.914] 🅸 stream> SIRM_PAYLOAD_SIZE = 0x00100000
[16:22:26.914] 🅸 stream> SIRM_PAYLOAD_COUNT = 0x00000004
[16:22:26.914] 🅸 stream> SIRM_TRANSFER1_SIZE = 0x000c8000
[16:22:26.914] 🅸 stream> SIRM_TRANSFER2_SIZE = 0x00000000
[16:22:26.914] 🅸 stream> SIRM_MAX_LEADER_SIZE = 0x00000040
[16:22:26.914] 🅸 stream> SIRM_MAX_TRAILER_SIZE = 0x00000020
[16:22:26.915] 🅸 stream-thread> Start async USB3Vision stream thread
[16:22:26.917] 🆆 misc> Failed to connect make realtime: org.freedesktop.DBus.Error.ServiceUnknown
[16:22:26.918] 🆆 misc> Failed to connect high priority: org.freedesktop.DBus.Error.ServiceUnknown
[16:22:26.918] 🆆 viewer> Failed to make stream thread high priority
[16:22:26.919] 🆆 stream-thread> Leader transfer failed (LIBUSB_TRANSFER_OVERFLOW)
[16:22:26.919] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.919] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.919] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.919] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.919] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.920] 🆆 stream-thread> Trailer transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.920] 🆆 stream-thread> Leader transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.920] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.920] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.920] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.920] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.920] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.920] 🆆 stream-thread> libusb_submit_transfer failed (-11)
[16:22:26.921] 🆆 stream-thread> Trailer transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.921] 🆆 stream-thread> libusb_submit_transfer failed (-11)
[16:22:26.921] 🆆 stream-thread> [16:22:26.921] 🆆 stream-thread> libusb_submit_transfer failed (-11)
Leader transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.921] 🆆 stream-thread> libusb_submit_transfer failed (-11)
[16:22:26.921] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.921] 🆆 stream-thread> [16:22:26.921] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
libusb_submit_transfer failed (-11)
[16:22:26.921] 🆆 stream-thread> [16:22:26.921] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
libusb_submit_transfer failed (-11)
[16:22:26.921] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.921] 🆆 stream-thread> libusb_submit_transfer failed (-11)
[16:22:26.921] 🆆 stream-thread> [16:22:26.921] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
libusb_submit_transfer failed (-11)
[16:22:26.921] 🆆 stream-thread> [16:22:26.921] 🆆 stream-thread> Trailer transfer failed (LIBUSB_TRANSFER_ERROR)
libusb_submit_transfer failed (-11)
[16:22:26.921] 🆆 stream-thread> Leader transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.921] 🆆 stream-thread> libusb_submit_transfer failed (-11)
[16:22:26.922] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.922] 🆆 stream-thread> Trailer transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.922] 🆆 stream-thread> Leader transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.922] 🆆 stream-thread> Trailer transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.922] 🆆 stream-thread> Leader transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.923] 🆆 stream-thread> libusb_submit_transfer failed (-11)
[16:22:26.923] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.923] 🆆 stream-thread> libusb_submit_transfer failed (-11)
[16:22:26.924] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.924] 🆆 stream-thread> Trailer transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.924] 🆆 stream-thread> [16:22:26.924] 🆆 stream-thread> libusb_submit_transfer failed (-11)
Leader transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.925] 🆆 stream-thread> [16:22:26.925] 🆆 stream-thread> libusb_submit_transfer failed (-11)
Payload transfer failed (LIBUSB_TRANSFER_STALL)
[16:22:26.925] 🆆 stream-thread> libusb_submit_transfer failed (-11)
[16:22:26.925] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.926] 🆆 stream-thread> Trailer transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.926] 🆆 stream-thread> Leader transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.926] 🆆 stream-thread> [16:22:26.926] 🆆 stream-thread> libusb_submit_transfer failed (-11)
Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.927] 🆆 stream-thread> libusb_submit_transfer failed (-11)
[16:22:26.927] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.928] 🆆 stream-thread> [16:22:26.928] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.928] 🆆 stream-thread> Trailer transfer failed (LIBUSB_TRANSFER_ERROR)
libusb_submit_transfer failed (-11)
[16:22:26.928] 🆆 stream-thread> Leader transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.928] 🆆 stream-thread> libusb_submit_transfer failed (-11)
[16:22:26.929] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.929] 🆆 stream-thread> libusb_submit_transfer failed (-11)
[16:22:26.930] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.930] 🆆 stream-thread> Trailer transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.930] 🆆 stream-thread> Leader transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.930] 🆆 stream-thread> libusb_submit_transfer failed (-11)
[16:22:26.930] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.931] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.932] 🆆 stream-thread> libusb_submit_transfer failed (-11)
[16:22:26.932] 🆆 stream-thread> Payload transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:26.932] 🆆 stream-thread> Trailer transfer failed (LIBUSB_TRANSFER_ERROR)
[16:22:27.459] 🆆 device> [UvDevice::read_memory] Try 1/5: ack reception error: LIBUSB_ERROR_TIMEOUT
[16:22:32.267] 🅸 stream-thread> Stop USB3Vision async stream thread
[16:22:32.268] 🅸 stream> [UvStream::finalize] n_completed_buffers = 0
[16:22:32.268] 🅸 stream> [UvStream::finalize] n_failures = 10
[16:22:32.268] 🅸 stream> [UvStream::finalize] n_underruns = 529
[16:22:32.269] 🅸 stream> [UvStream::finalize] n_aborted = 0
[16:22:32.269] 🅸 stream> [UvStream::finalize] n_transferred_bytes = 28443584
[16:22:32.269] 🅸 stream> [UvStream::finalize] n_ignored_bytes = 0
[16:22:32.269] 🅸 stream> [Stream::delete_buffers] Delete 0 buffer[s] in input queue
[16:22:32.269] 🅸 stream> [Stream::delete_buffers] Delete 10 buffer[s] in output queue
[16:22:32.303] 🆆 interface> No "GENICAM_GENTL64_PATH" defined