Problems with Allied Vision ALVIUM 1800 U-052m

Hello,
Iโ€™m trying to evaluate Aravis as replacement for different vendor specific libraries.
On Linux - x86, the IDS cameras U3-3680XCP and U3-3680XLE seems to work correctly (arv-viewer-0.8 recognize them, starts, can change FrameRate and exposure).
The camera Allied Vision ALVIUM 1800 U-052m is recognized, it is possible to change the region size, but when I start the video, I get 0 fps / black image.

Running
arv-test-0.8 -d all
I get the following results:

[17:45:52.367] ๐Ÿ…ธ interface> Found 1 USB3Vision device (among 23 USB devices)
[17:45:52.368] ๐Ÿ…ธ interface> [GvDiscoverSocket::new] Add interface 127.0.0.1 (127.0.0.1)
[17:45:52.368] ๐Ÿ…ธ interface> [GvDiscoverSocket::new] Add interface 10.42.0.1 (10.42.0.255)
[17:45:52.368] ๐Ÿ…ธ interface> [GvDiscoverSocket::new] Add interface 192.168.0.181 (192.168.0.255)
Found 1 device
[17:45:53.385] ๐Ÿ…ธ device> [UvDevice::new] GUID    = 1AB22C033F9F
[17:45:55.283] ๐Ÿ…ธ device> [UvDevice::new] Using control endpoint 1, interface 0
[17:45:55.283] ๐Ÿ…ธ device> [UvDevice::new] Using data endpoint 5, interface 1
[17:45:55.283] ๐Ÿ…ธ device> Get genicam
[17:45:55.283] ๐Ÿ…ธ device> MANUFACTURER_NAME =        'Allied Vision'
[17:45:55.283] ๐Ÿ…ธ device> MAX_DEVICE_RESPONSE_TIME = 0x0000012c
[17:45:55.283] ๐Ÿ…ธ device> DEVICE_CAPABILITY        = 0x0000000000000f09
[17:45:55.283] ๐Ÿ…ธ device> SRBM_ADDRESS =             0x0000000000010000
[17:45:55.283] ๐Ÿ…ธ device> MANIFEST_TABLE_ADDRESS =   0x0000000000100000
[17:45:55.284] ๐Ÿ…ธ device> U3VCP_CAPABILITY =         0x0000000000000001
[17:45:55.284] ๐Ÿ…ธ device> MAX_CMD_TRANSFER =         0x00000400
[17:45:55.284] ๐Ÿ…ธ device> MAX_ACK_TRANSFER =         0x00000400
[17:45:55.284] ๐Ÿ…ธ device> SIRM_OFFSET =              0x0000000000020000
[17:45:55.284] ๐Ÿ…ธ device> SIRM_INFO =                0x0a000000
[17:45:55.284] ๐Ÿ…ธ device> SIRM_CONTROL =             0x00000000
[17:45:55.284] ๐Ÿ…ธ device> SIRM_REQ_PAYLOAD_SIZE =    0x0000000000002970
[17:45:55.284] ๐Ÿ…ธ device> SIRM_REQ_LEADER_SIZE =     0x00000034
[17:45:55.284] ๐Ÿ…ธ device> SIRM_REQ_TRAILER_SIZE =    0x00000020
[17:45:55.284] ๐Ÿ…ธ device> SIRM_MAX_LEADER_SIZE =     0x00000400
[17:45:55.284] ๐Ÿ…ธ device> SIRM_PAYLOAD_SIZE =        0x00000000
[17:45:55.284] ๐Ÿ…ธ device> SIRM_PAYLOAD_COUNT =       0x00000001
[17:45:55.284] ๐Ÿ…ธ device> SIRM_TRANSFER1_SIZE =      0x00000000
[17:45:55.284] ๐Ÿ…ธ device> SIRM_TRANSFER2_SIZE =      0x00000000
[17:45:55.284] ๐Ÿ…ธ device> SIRM_MAX_TRAILER_SIZE =    0x00000400
[17:45:55.284] ๐Ÿ…ธ device> MANIFEST_N_ENTRIES =       0x0000000000000001
[17:45:55.284] ๐Ÿ…ธ device> MANIFEST ENTRY
                         00000000 1e c2 00 0b 00 04 01 01 00 00 20 00 00 00 00 00  .......... .....
                         00000010 10 43 01 00 00 00 00 00 80 8e cf b6 8e b0 4a 24  .C............J$
                         00000020 b8 6f 84 97 bc aa bb a2 f2 44 2e 73 00 00 00 00  .o.......D.s....
                         00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[17:45:55.284] ๐Ÿ…ธ device> genicam address =          0x0000000000200000
[17:45:55.284] ๐Ÿ…ธ device> genicam size    =          0x0000000000014310
[17:45:55.293] ๐Ÿ…ธ device> zip file =                 GenICam_Default.xml
Testing 'Allied Vision:ALVIUM 1800 U-052m'
Genicam:Load                        SUCCESS 
Genicam:Schema                      SUCCESS Schema validation disabled
Properties:SensorSizeReadout        SUCCESS 
Properties:SensorSizeCheck          IGNORED 
Properties:GainAvailable            SUCCESS 
Properties:GainReadout              SUCCESS 
Properties:ExposureTimeAvailable    SUCCESS 
Properties:ExposureTimeReadout      SUCCESS 
[17:45:55.324] ๐Ÿ…ธ stream> SIRM_INFO             = 0x0a000000
[17:45:55.324] ๐Ÿ…ธ stream> SIRM_REQ_PAYLOAD_SIZE = 0x0000000000002970
[17:45:55.324] ๐Ÿ…ธ stream> SIRM_REQ_LEADER_SIZE  = 0x00000034
[17:45:55.324] ๐Ÿ…ธ stream> SIRM_REQ_TRAILER_SIZE = 0x00000020
[17:45:55.324] ๐Ÿ…ธ stream> Required alignment    = 1024
[17:45:55.325] ๐Ÿ…ธ stream> SIRM_PAYLOAD_SIZE     = 0x00002970
[17:45:55.325] ๐Ÿ…ธ stream> SIRM_PAYLOAD_COUNT    = 0x00000001
[17:45:55.325] ๐Ÿ…ธ stream> SIRM_TRANSFER1_SIZE   = 0x00000000
[17:45:55.325] ๐Ÿ…ธ stream> SIRM_TRANSFER2_SIZE   = 0x00000000
[17:45:55.325] ๐Ÿ…ธ stream> SIRM_MAX_LEADER_SIZE  = 0x00000400
[17:45:55.325] ๐Ÿ…ธ stream> SIRM_MAX_TRAILER_SIZE = 0x00000400
[17:45:55.325] ๐Ÿ…ธ stream-thread> Start async USB3Vision stream thread
[17:45:55.325] ๐Ÿ†† stream> Failed to enable stream (USB3Vision write_memory error (si-registers-inconsistent))
[17:46:04.837] ๐Ÿ…ธ stream-thread> Stop USB3Vision async stream thread
[17:46:04.838] ๐Ÿ…ธ stream> [UvStream::finalize] n_completed_buffers    = 0
[17:46:04.838] ๐Ÿ…ธ stream> [UvStream::finalize] n_failures             = 0
[17:46:04.838] ๐Ÿ…ธ stream> [UvStream::finalize] n_underruns            = 0
[17:46:04.838] ๐Ÿ…ธ stream> [UvStream::finalize] n_aborted              = 2
[17:46:04.838] ๐Ÿ…ธ stream> [UvStream::finalize] n_transferred_bytes    = 25312
[17:46:04.838] ๐Ÿ…ธ stream> [UvStream::finalize] n_ignored_bytes        = 0
[17:46:04.838] ๐Ÿ…ธ stream> [Stream::finalize] Flush 0 buffer[s] in input queue
[17:46:04.838] ๐Ÿ…ธ stream> [Stream::finalize] Flush 2 buffer[s] in output queue
MultipleAcquisitionA:BufferCheck    FAILURE 0/10
MultipleAcquisitionA:FrameRate      FAILURE 
[17:46:04.839] ๐Ÿ…ธ stream> SIRM_INFO             = 0x0a000000
[17:46:04.839] ๐Ÿ…ธ stream> SIRM_REQ_PAYLOAD_SIZE = 0x0000000000002970
[17:46:04.839] ๐Ÿ…ธ stream> SIRM_REQ_LEADER_SIZE  = 0x00000034
[17:46:04.839] ๐Ÿ…ธ stream> SIRM_REQ_TRAILER_SIZE = 0x00000020
[17:46:04.839] ๐Ÿ…ธ stream> Required alignment    = 1024
[17:46:04.839] ๐Ÿ…ธ stream> SIRM_PAYLOAD_SIZE     = 0x00002970
[17:46:04.839] ๐Ÿ…ธ stream> SIRM_PAYLOAD_COUNT    = 0x00000001
[17:46:04.839] ๐Ÿ…ธ stream> SIRM_TRANSFER1_SIZE   = 0x00000000
[17:46:04.840] ๐Ÿ…ธ stream> SIRM_TRANSFER2_SIZE   = 0x00000000
[17:46:04.840] ๐Ÿ…ธ stream> SIRM_MAX_LEADER_SIZE  = 0x00000400
[17:46:04.840] ๐Ÿ…ธ stream> SIRM_MAX_TRAILER_SIZE = 0x00000400
[17:46:04.840] ๐Ÿ…ธ stream-thread> Start async USB3Vision stream thread
[17:46:04.840] ๐Ÿ†† stream> Failed to enable stream (USB3Vision write_memory error (si-registers-inconsistent))
[17:46:05.848] ๐Ÿ…ธ stream-thread> Stop USB3Vision async stream thread
[17:46:05.848] ๐Ÿ…ธ stream> [UvStream::finalize] n_completed_buffers    = 0
[17:46:05.849] ๐Ÿ…ธ stream> [UvStream::finalize] n_failures             = 0
[17:46:05.849] ๐Ÿ…ธ stream> [UvStream::finalize] n_underruns            = 0
[17:46:05.849] ๐Ÿ…ธ stream> [UvStream::finalize] n_aborted              = 1
[17:46:05.849] ๐Ÿ…ธ stream> [UvStream::finalize] n_transferred_bytes    = 12656
[17:46:05.849] ๐Ÿ…ธ stream> [UvStream::finalize] n_ignored_bytes        = 0
[17:46:05.849] ๐Ÿ…ธ stream> [Stream::finalize] Flush 0 buffer[s] in input queue
[17:46:05.849] ๐Ÿ…ธ stream> [Stream::finalize] Flush 1 buffer[s] in output queue
SingleAcquisition:BufferCheck       FAILURE Buffer transfer failure
[17:46:05.876] ๐Ÿ…ธ stream> SIRM_INFO             = 0x0a000000
[17:46:05.876] ๐Ÿ…ธ stream> SIRM_REQ_PAYLOAD_SIZE = 0x0000000000002970
[17:46:05.876] ๐Ÿ…ธ stream> SIRM_REQ_LEADER_SIZE  = 0x00000034
[17:46:05.876] ๐Ÿ…ธ stream> SIRM_REQ_TRAILER_SIZE = 0x00000020
[17:46:05.876] ๐Ÿ…ธ stream> Required alignment    = 1024
[17:46:05.877] ๐Ÿ…ธ stream> SIRM_PAYLOAD_SIZE     = 0x00002970
[17:46:05.877] ๐Ÿ…ธ stream> SIRM_PAYLOAD_COUNT    = 0x00000001
[17:46:05.877] ๐Ÿ…ธ stream> SIRM_TRANSFER1_SIZE   = 0x00000000
[17:46:05.877] ๐Ÿ…ธ stream> SIRM_TRANSFER2_SIZE   = 0x00000000
[17:46:05.877] ๐Ÿ…ธ stream> SIRM_MAX_LEADER_SIZE  = 0x00000400
[17:46:05.877] ๐Ÿ…ธ stream> SIRM_MAX_TRAILER_SIZE = 0x00000400
[17:46:05.877] ๐Ÿ…ธ stream-thread> Start async USB3Vision stream thread
[17:46:05.878] ๐Ÿ†† stream> Failed to enable stream (USB3Vision write_memory error (si-registers-inconsistent))
[17:46:06.384] ๐Ÿ…ธ stream-thread> Stop USB3Vision async stream thread
[17:46:06.384] ๐Ÿ…ธ stream> [UvStream::finalize] n_completed_buffers    = 0
[17:46:06.384] ๐Ÿ…ธ stream> [UvStream::finalize] n_failures             = 0
[17:46:06.384] ๐Ÿ…ธ stream> [UvStream::finalize] n_underruns            = 0
[17:46:06.384] ๐Ÿ…ธ stream> [UvStream::finalize] n_aborted              = 2
[17:46:06.384] ๐Ÿ…ธ stream> [UvStream::finalize] n_transferred_bytes    = 25312
[17:46:06.384] ๐Ÿ…ธ stream> [UvStream::finalize] n_ignored_bytes        = 0
[17:46:06.385] ๐Ÿ…ธ stream> [Stream::finalize] Flush 0 buffer[s] in input queue
[17:46:06.385] ๐Ÿ…ธ stream> [Stream::finalize] Flush 2 buffer[s] in output queue
SoftwareTrigger:BufferCheck         FAILURE 0/5
[17:46:06.405] ๐Ÿ…ธ stream> SIRM_INFO             = 0x0a000000
[17:46:06.405] ๐Ÿ…ธ stream> SIRM_REQ_PAYLOAD_SIZE = 0x0000000000002970
[17:46:06.405] ๐Ÿ…ธ stream> SIRM_REQ_LEADER_SIZE  = 0x00000034
[17:46:06.405] ๐Ÿ…ธ stream> SIRM_REQ_TRAILER_SIZE = 0x00000020
[17:46:06.405] ๐Ÿ…ธ stream> Required alignment    = 1024
[17:46:06.406] ๐Ÿ…ธ stream> SIRM_PAYLOAD_SIZE     = 0x00002970
[17:46:06.406] ๐Ÿ…ธ stream> SIRM_PAYLOAD_COUNT    = 0x00000001
[17:46:06.406] ๐Ÿ…ธ stream> SIRM_TRANSFER1_SIZE   = 0x00000000
[17:46:06.406] ๐Ÿ…ธ stream> SIRM_TRANSFER2_SIZE   = 0x00000000
[17:46:06.406] ๐Ÿ…ธ stream> SIRM_MAX_LEADER_SIZE  = 0x00000400
[17:46:06.406] ๐Ÿ…ธ stream> SIRM_MAX_TRAILER_SIZE = 0x00000400
[17:46:06.406] ๐Ÿ…ธ stream-thread> Start async USB3Vision stream thread
[17:46:06.406] ๐Ÿ†† stream> Failed to enable stream (USB3Vision write_memory error (si-registers-inconsistent))
[17:46:15.913] ๐Ÿ…ธ stream-thread> Stop USB3Vision async stream thread
[17:46:15.914] ๐Ÿ…ธ stream> [UvStream::finalize] n_completed_buffers    = 0
[17:46:15.914] ๐Ÿ…ธ stream> [UvStream::finalize] n_failures             = 0
[17:46:15.914] ๐Ÿ…ธ stream> [UvStream::finalize] n_underruns            = 0
[17:46:15.914] ๐Ÿ…ธ stream> [UvStream::finalize] n_aborted              = 2
[17:46:15.914] ๐Ÿ…ธ stream> [UvStream::finalize] n_transferred_bytes    = 25312
[17:46:15.914] ๐Ÿ…ธ stream> [UvStream::finalize] n_ignored_bytes        = 0
[17:46:15.914] ๐Ÿ…ธ stream> [Stream::finalize] Flush 0 buffer[s] in input queue
[17:46:15.914] ๐Ÿ…ธ stream> [Stream::finalize] Flush 2 buffer[s] in output queue
MultipleAcquisitionB:BufferCheck    FAILURE 0/10
MultipleAcquisitionB:FrameRate      FAILURE 
Chunks:BufferCheck                  FAILURE [ChunkModeActive] [RegChunkModeActive] USB3Vision write_memory error (invalid-address)

Any suggestion?

Hi,

I guess thatโ€™s what is blocking the video stream. It would help to have a wireshark capture of a successful stream when you are using the proprietary sdk.

Emmanuel.

Hi Emmanuel,
thanks for the prompt answer. I need help for that: it is a USB camera, and I never captured a USB stream with wireshark. Have you a link to some instruction?

Ruggero

Hi Emmanuel,
I think I did: it was easier than expected. Simply
modprobe usbmon,
and then tell wireshark to monitor the bus pointed by lsusb.

Now I have a dump of the run of a program that open the camera and acquire 3 frames (with about 2fps). How to send it to you? As a new user, I canโ€™t upload attachments.

Ruggero

Please open an issue on github and attach the dump there.

Thanks.

Emmanuel.