Aravis 0.5.5 couldn't detect the gige

I have installed 32 bit version of aravis 0.5.5 on rhel 8. But I am failing to discover cameras. Using avt vimba I can bring up the camera using the IP address. But with aravis 0.5.5 ‘arv-heartbeat-test’ shows the following results:

./arv-heartbeat-test
Device not found

Hi,

Aravis 0.5.5 is 7 years old, and not even a stable release. Please update to the latest stable release (0.8.29).

Cheers,

Emmanuel.

Hi Emmanuel,

Thanks for your recommendation. Do you have any guidance to build 0.8.29 in 32 bit mode

Thanks

Hi,
I am at a stumbling block trying 0.8.29 on Fedora for testing the installation.
I have installed ninja but during meson setup build I am getting an error:

Directories
prefix : /usr/local
bindir : bin
libdir : lib64
datadir : share

Options
Viewer : True
GStreamer plugin: True
USB support : False

ERROR: Could not detect Ninja v1.8.2 or newer <<<<<<<<<<
More than a day I am still at this place

Appreciate your expert advice.

Cheers!

Hi,

My workaround is

ERROR: Could not detect Ninja v1.8.2 or newer <<<<<<<<<<
I have installed ninja 1.11.1 and downgraded to 1.10.0.
That eliminated the error.

Cheers!

Hi Emmanuel,

I still don’t discover the camera. Appreciate your expertise in discovering the camera.

meson build succeeded …
Build targets in project: 70

aravis 0.8.29

Directories
prefix : /usr/local
bindir : bin
libdir : lib64
datadir : share

Options
Viewer : True
GStreamer plugin: True
USB support : True

I have the following installed:
-rwxr-xr-x. 1 root root 68K Aug 31 13:41 arv-tool-0.8
-rwxr-xr-x. 1 root root 196K Aug 31 13:41 arv-test-0.8
-rwxr-xr-x. 1 root root 63K Aug 31 13:41 arv-camera-test-0.8
-rwxr-xr-x. 1 root root 32K Aug 31 13:41 arv-fake-gv-camera-0.8
-rwxr-xr-x. 1 root root 225K Aug 31 13:41 arv-viewer-0.8

:./arv-tool-0.8
No device found

:./arv-test-0.8
Found 0 device

./arv-camera-test-0.8
Looking for the first available camera
No camera found: No supported device found

./arv-fake-gv-camera-0.8 <<<<< sits there no response

I do have an allied vision manta gige is connected to via a switch.

Appreciate your assistance.

Hi,

Please run arv-fake-gv-camera-0.8 in one console, and arv-camera-test-0.8 -d all in another console and report the output here.

Emmanuel.

Emmanuel,

Thanks for the feedback.
As per your request …

1st console: ./arv-fake-gv-camera-0.8

2nd console: ./arv-camera-test-0.8 -d all
Looking for the first available camera
[18:17:55.664] 🅸 interface> Found 0 USB3Vision device (among 10 USB devices)
[18:17:55.665] 🅸 interface> [GvDiscoverSocket::new] Add interface 127.0.0.1 (127.0.0.1)
[18:17:55.665] 🅸 interface> [GvDiscoverSocket::new] Add interface 130.199.104.38 (130.199.105.255)
[18:17:55.666] 🅸 interface> [GvDiscoverSocket::new] Add interface 192.168.0.204 (192.168.0.255)
[18:17:55.666] 🅸 interface> [GvDiscoverSocket::new] Add interface 192.168.122.1 (192.168.122.255)
[18:17:55.666] 🅸 interface> [GvInterface::discovery] Device ‘Aravis-Fake-GV01’ found (interface 192.168.122.1) user_id ‘’ - MAC ‘00:00:00:00:00:00’
[18:17:55.666] 🅸 device> [GvDevice::new] Interface address = 192.168.122.1
[18:17:55.666] 🅸 device> [GvDevice::new] Device address = 127.0.0.1
[18:17:55.667] 🅸 device> [GvDevice::load_genicam] xml url = ‘Local:arv-fake-camera.xml;10000;3e67’ at 0x200
[18:17:55.667] 🅸 device> [GvDevice::load_genicam] Xml address = 0x10000 - size = 0x3e67 - arv-fake-camera.xml
[18:17:55.672] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevCurrentIPConfigurationLLA’
[18:17:55.672] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevCurrentIPConfigurationDHCP’
[18:17:55.672] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevCurrentIPConfigurationPersistentIP’
[18:17:55.672] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevCurrentIPAddress’
[18:17:55.673] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevCurrentSubnetMask’
[18:17:55.673] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevCurrentDefaultGateway’
[18:17:55.673] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevNumberOfNetworkInterfaces’
[18:17:55.673] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevPersistentIPAddress’
[18:17:55.673] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevPersistentSubnetMask’
[18:17:55.674] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevPersistentDefaultGateway’
[18:17:55.674] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevStreamChannelCount’
[18:17:55.674] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevStreamChannelSelector’
[18:17:55.674] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevSCPAddrCalc’
[18:17:55.674] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevTimestampTickFrequency’
[18:17:55.675] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevSCPHostPort’
[18:17:55.675] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevSCPSFireTestPacket’
[18:17:55.675] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevSCPSDoNotFragment’
[18:17:55.675] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevSCPSBigEndian’
[18:17:55.676] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevSCPSPacketSize’
[18:17:55.676] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevSCPD’
[18:17:55.676] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevSCDA’
[18:17:55.676] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevSCSP’
[18:17:55.676] 🅸 genicam> [Gc::set_default_node_data] Add ‘ArvGevSCCFGMultipart’
[18:17:55.677] 🅸 genicam> [Gc::set_default_node_data] Add ‘GevSCPSPacketSize’
[18:17:55.677] 🅸 genicam> [Gc::set_default_node_data] Add ‘GevSCPD’
[18:17:55.677] 🅸 device> [GvDevice::new] Device endianness = little
[18:17:55.678] 🅸 device> [GvDevice::new] Packet resend = no
[18:17:55.678] 🅸 device> [GvDevice::new] Write memory = no
[18:17:55.678] 🅸 device> [GvDevice::new] Legacy endianness handling = yes
vendor name = Aravis
model name = Fake
device serial number = GV01
image width = 512
image height = 512
horizontal binning = 1
vertical binning = 1
exposure = 10000 µs
gain = 0 dB
payload = 262144 bytes
gv n_stream channels = 1
gv current channel = 0
gv packet delay = 0 ns
[18:17:55.679] 🅸 device> [GvDevice::create_stream] Number of stream channels = 1
[18:17:55.680] 🅸 device> [GvDevice::auto_packet_size] No GevSCPSFireTestPacket feature found
[18:17:55.680] 🅸 stream> [GvStream::stream_new] Stream channel = 0
[18:17:55.680] 🅸 stream> [GvStream::stream_new] Packet size = 1400 byte(s)
[18:17:55.681] 🅸 stream> [GvStream::stream_new] Destination stream port = 42402
[18:17:55.681] 🅸 stream> [GvStream::stream_new] Source stream port = 0
[18:17:55.682] 🅸 stream> [GvStream::loop] Standard socket method
gv packet size = 1400 bytes
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
26 frames/s - 6.82 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
25 frames/s - 6.55 MiB/s
^C 25 frames/s - 6.55 MiB/s
n_completed_buffers = 826
n_failures = 0
n_underruns = 0
n_timeouts = 0
n_aborted = 0
n_missing_frames = 0
n_size_mismatch_errors = 0
n_received_packets = 161070
n_missing_packets = 0
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 = 217855848
n_ignored_bytes = 0
[18:18:28.719] 🅸 stream> bins ;frame_retent; packet_time;inter_packet
0; 1; 117373; 160244
2000; 824; 43677; 0
4000; 1; 20; 0
-------------
>= 6000; 0; 0; 0
< 0; 0; 0; 0
min : 575; 0; 0
max : 4441; 4441; 1170
last max at : 0; 194; 276
counter : 826: 161070: 160244
[18:18:28.719] 🅸 stream> [GvStream::finalize] n_completed_buffers = 826
[18:18:28.719] 🅸 stream> [GvStream::finalize] n_failures = 0
[18:18:28.719] 🅸 stream> [GvStream::finalize] n_underruns = 0
[18:18:28.719] 🅸 stream> [GvStream::finalize] n_timeouts = 0
[18:18:28.719] 🅸 stream> [GvStream::finalize] n_aborted = 0
[18:18:28.720] 🅸 stream> [GvStream::finalize] n_missing_frames = 0
[18:18:28.720] 🅸 stream> [GvStream::finalize] n_size_mismatch_errors = 0
[18:18:28.720] 🅸 stream> [GvStream::finalize] n_received_packets = 161070
[18:18:28.720] 🅸 stream> [GvStream::finalize] n_missing_packets = 0
[18:18:28.720] 🅸 stream> [GvStream::finalize] n_error_packets = 0
[18:18:28.720] 🅸 stream> [GvStream::finalize] n_ignored_packets = 0
[18:18:28.720] 🅸 stream> [GvStream::finalize] n_resend_requests = 0
[18:18:28.720] 🅸 stream> [GvStream::finalize] n_resent_packets = 0
[18:18:28.720] 🅸 stream> [GvStream::finalize] n_resend_ratio_reached = 0
[18:18:28.720] 🅸 stream> [GvStream::finalize] n_resend_disabled = 0
[18:18:28.720] 🅸 stream> [GvStream::finalize] n_duplicated_packets = 0
[18:18:28.720] 🅸 stream> [GvStream::finalize] n_transferred_bytes = 217855848
[18:18:28.721] 🅸 stream> [GvStream::finalize] n_ignored_bytes = 0
[18:18:28.721] 🅸 stream> [Stream::finalize] Flush 50 buffer[s] in input queue
[18:18:28.721] 🅸 stream> [Stream::finalize] Flush 0 buffer[s] in output queue

Thanks

So everything is working fine.

Hi Emmanuel,

I don’t think aravis latest tool discovers the GigE camera.

:./arv-tool-0.8
No device found <<<<<< ???

:./arv-test-0.8
Found 0 device <<<<<< ???

Could you please elaborate on how to troubleshoot about the auto-discovery?

Thanks

Which camera model ?
Do you have a firewall on your machine ?

Hello Emmanuel,

Thanks. I am using avt manta model. My issue happen to be the firewall. Once I disabled it now I am discovering the cameras.

When I run /arv-viewer-0.8 I get the following message:
(arv-viewer-0.8:79880): GLib-GIO-CRITICAL **: 11:35:37.963: g_dbus_proxy_new_sync: assertion ‘G_IS_DBUS_CONNECTION (connection)’ failed,

Does this mean that I am missing a dependency package or anything else?

Thanks

Great.

I guess this is related to the notification functionality. Nothing to worry about.
Did you succeed to display the video stream using arv-viewer ?

Thanks for your feedback.

Not yet! However, I did get the black screen … I haven’t had a chance to adjust the exposure. I will update here.

I successfully manage to stream using a GigE camera.
So I succeeded displaying the video stream using arv-viewer. Thanks!

Above accomplishments all using the defaults that is 64 bit.
Is there a way to install 0.8+ in 32 bit mode? I have an operational requirement to implement in 32 bit mode.

Thanks and look forward to hearing from you.

Great !

It should just be a matter of setting the right environment variables, something like what is done here: https://github.com/FeralInteractive/gamemode/issues/38