Using OpenEB on Raspberry Pi 5

Using OpenEB on Raspberry Pi 5

Hello,

i'm running into a problem when trying to use the EVK3 on my Raspberry Pi 5.
I compiled from source and even used ctest to verify the functionality.
But when i try to launch for example metavision_viewer i get the following error:

  1. [HAL][ERROR] Failed to build streaming facilities : ioctl: VIDIOC_DBG_G_REGISTER failed to read register
    [HAL][INFO] V4l2 Discovery failed with horrible failure -1
    [HAL][ERROR] Failed to build streaming facilities : ioctl: VIDIOC_DBG_G_REGISTER failed to read register
    [HAL][INFO] V4l2 Discovery failed with horrible failure -1

    ------------------------------------------------
    Metavision SDK Driver exception

    Error 101001: Camera not found. Check that a camera is plugged on your system and retry.
    ------------------------------------------------
The camera is attached and metavision_plattform_info gives me the following output:
  1. ------------------------------------------
    PLATFORM INFORMATION
    ------------------------------------------


    ####  DISTRIBUTION  ####

    Linux fe-recorder 6.6.31+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux

    ####  OPENGL  ####

    sh: 1: glxinfo: not found
    Failed to retrieve OpenGL information

    ####  VIRTUAL MACHINE  ####

    Virtual Machine:                                  NO
    Docker:                                           NO

    ------------------------------------------
    METAVISION SOFTWARE INFORMATION
    ------------------------------------------


    ####  INSTALLED SOFTWARE  ####

    Version:                                          4.6.0
    Id:                                               95ccd2597aa7a8f8f44fd6ee405c4f3a8f9eda24

    ####  INSTALLED PACKAGES - METAVISION  ####

    Failed to retrieve installed Metavision packages list

    ------------------------------------------
    METAVISION SYSTEMS INFORMATION
    ------------------------------------------


    ####  SYSTEMS AVAILABLE  ####

    ## Prophesee Gen4.1 HD ##

    # System information
    Available Data Encoding Formats                   EVT3,EVT21
    Connection                                        USB
    Current Data Encoding Format                      EVT3
    EVK3 Build Date                                   Fri Oct  7 14:41:28 2022
    EVK3 Release Version                              3.9.0
    EVK3 Speed                                        5000
    Integrator                                        Prophesee
    Sensor Name                                       Gen4.1
    Serial                                            *****
    SystemID                                          48
    device0 compatible                                psee,ccam5_gen41
    device0 name                                      CCam5 Gen41 Event-Based Camera
    device1 compatible                                ti,tmp103
    device1 name                                      Temperature sensor
     
    # Available device config options
    format                                            default: EVT3 values: EVT21 | EVT3
    ll_biases_range_check_bypass                      default: 0 values: true | false
     

    # Default Biases
    bias_diff                                         80
    bias_diff_off                                     52
    bias_diff_on                                      115
    bias_fo                                           74
    bias_hpf                                          0
    bias_refr                                         68
     
    [HAL][ERROR] Failed to build streaming facilities : ioctl: VIDIOC_DBG_G_REGISTER failed to read register
    [HAL][INFO] V4l2 Discovery failed with horrible failure -1
    [HAL][ERROR] Failed to build streaming facilities : ioctl: VIDIOC_DBG_G_REGISTER failed to read register
    [HAL][INFO] V4l2 Discovery failed with horrible failure -1
    ## Prophesee Gen4.1 HD ##

    # System information
    Available Data Encoding Formats                   EVT3,EVT21
    Connection                                        USB
    Current Data Encoding Format                      EVT3
    EVK3 Build Date                                   Fri Oct  7 14:41:28 2022
    EVK3 Release Version                              3.9.0
    EVK3 Speed                                        5000
    Integrator                                        Prophesee
    Sensor Name                                       Gen4.1
    Serial                                            ******
    SystemID                                          48
    device0 compatible                                psee,ccam5_gen41
    device0 name                                      CCam5 Gen41 Event-Based Camera
    device1 compatible                                ti,tmp103
    device1 name                                      Temperature sensor
     
    # Available device config options
    format                                            default: EVT3 values: EVT21 | EVT3
    ll_biases_range_check_bypass                      default: 0 values: true | false
     

    # Default Biases
    bias_diff                                         80
    bias_diff_off                                     52
    bias_diff_on                                      115
    bias_fo                                           74
    bias_hpf                                          0
    bias_refr                                         68
     
    [HAL][ERROR] Failed to build streaming facilities : ioctl: VIDIOC_DBG_G_REGISTER failed to read register
    [HAL][INFO] V4l2 Discovery failed with horrible failure -1
    [HAL][ERROR] Failed to build streaming facilities : ioctl: VIDIOC_DBG_G_REGISTER failed to read register
    [HAL][INFO] V4l2 Discovery failed with horrible failure -1

    ####  SYSTEM'S USB PORTS  ####

    USB Port type used:                               3.00

It is a fresh installation of raspbian and the device worked on the RPi4.

Does someone know what the problem is?

Cheers and Thanks

G.

Edit:

Here the Log with Trace enabled:
  1. ------------------------------------------
    PLATFORM INFORMATION
    ------------------------------------------


    ####  DISTRIBUTION  ####

    Linux fe-recorder 6.6.31+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux

    ####  OPENGL  ####

    OpenGL vendor string: Broadcom
    OpenGL renderer string: V3D 7.1
    OpenGL core profile version string: 3.1 Mesa 23.2.1-1~bpo12+rpt3
    OpenGL core profile shading language version string: 1.40
    OpenGL core profile context flags: (none)
    OpenGL core profile extensions:
    OpenGL version string: 3.1 Mesa 23.2.1-1~bpo12+rpt3
    OpenGL shading language version string: 1.40
    OpenGL context flags: (none)
    OpenGL extensions:
    OpenGL ES profile version string: OpenGL ES 3.1 Mesa 23.2.1-1~bpo12+rpt3
    OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
    OpenGL ES profile extensions:

    ####  VIRTUAL MACHINE  ####

    Virtual Machine:                                  NO
    Docker:                                           NO

    ------------------------------------------
    METAVISION SOFTWARE INFORMATION
    ------------------------------------------


    ####  INSTALLED SOFTWARE  ####

    Version:                                          4.5.2
    Id:                                               330aa64e328a2343c85c251e6f483b9c58de7a62

    ####  INSTALLED PACKAGES - METAVISION  ####

    Failed to retrieve installed Metavision packages list

    ------------------------------------------
    METAVISION SYSTEMS INFORMATION
    ------------------------------------------


    ####  SYSTEMS AVAILABLE  ####

    [HAL][TRACE] Listing cameras of any type
    [HAL][TRACE] Loading plugins
    [HAL][TRACE]   Setting up search paths
    [HAL][TRACE]     Adding plugin search path: /usr/local/lib/metavision/hal/plugins
    [HAL][TRACE]   Loading plugins...
    [HAL][TRACE]     [hal_plugin_prophesee] (Prophesee) 3 camera discoveries 1 file discoveries
    [HAL][TRACE]   Found 1 plugins
    [HAL][TRACE]   Plugin [hal_plugin_prophesee] (Prophesee)
    [HAL][TRACE] EVK1 libusb BC: libusb_get_device_list found 6 devices
    [HAL][TRACE] EVK1 libusb BC: PSEE device found
    [HAL][TRACE] FPGA is properly configured
    [HAL][TRACE] Released interface
    [HAL][TRACE] FPGA is properly configured
    [HAL][TRACE] Reset device
    [HAL][TRACE] Released interface
    [HAL][TRACE]     Camera discovery Metavision::Fx3CameraDiscovery does not recognize any device
    [HAL][TRACE] libusb BC: libusb_get_device_list found 6 devices
    [HAL][TRACE] Claimed interface 0 of EVK3
    [HAL][TRACE] Create board command for EVK3 *****( 4b4 : f4 )
    [HAL][TRACE] EVK3 has 2 Treuzell devices
    [HAL][TRACE] CCam5 Gen41 Event-Based Camera is compatible with psee,ccam5_gen41
    [HAL][TRACE] Got 2 build method(s) for CCam5 Gen41 Event-Based Camera
    [HAL][TRACE] Temperature sensor is compatible with ti,tmp103
    [HAL][TRACE] Got 2 build method(s) for Temperature sensor
    [HAL][TRACE] Register board command for EVK3 *****( 4b4 : f4 )
    [HAL][TRACE] Released interface 0 on EVK3
    [HAL][TRACE]     Camera discovery Metavision::TzCameraDiscovery recognizes:
    [HAL][TRACE]       Serial: 00042346
    [HAL][TRACE]     Camera discovery Metavision::V4l2CameraDiscovery recognizes:
    [HAL][TRACE]       Serial: v4l2_device
    [HAL][TRACE] Opening camera with serial: Prophesee:hal_plugin_prophesee:****
    [HAL][TRACE] Loading plugins
    [HAL][TRACE]   MV_HAL_PLUGIN_PATH did not change and plugins are already loaded, no need to reload plugins
    [HAL][TRACE]   Plugin [hal_plugin_prophesee] (Prophesee) matches the serial
    [HAL][TRACE]     Camera discovery Metavision::Fx3CameraDiscovery
    [HAL][TRACE] EVK1 libusb BC: libusb_get_device_list found 6 devices
    [HAL][TRACE] EVK1 libusb BC: PSEE device found
    [HAL][TRACE] FPGA is properly configured
    [HAL][TRACE] Released interface
    [HAL][TRACE] FPGA is properly configured
    [HAL][TRACE] Reset device
    [HAL][TRACE] Released interface
    [HAL][TRACE]         -> cannot open the serial
    [HAL][TRACE]     Camera discovery Metavision::TzCameraDiscovery
    [HAL][TRACE] libusb BC: libusb_get_device_list found 6 devices
    [HAL][TRACE] Claimed interface 0 of EVK3
    [HAL][TRACE] Create board command for EVK3 *****( 4b4 : f4 )
    [HAL][TRACE] EVK3 has 2 Treuzell devices
    [HAL][TRACE] CCam5 Gen41 Event-Based Camera is compatible with psee,ccam5_gen41
    [HAL][TRACE] Got 2 build method(s) for CCam5 Gen41 Event-Based Camera
    [HAL][TRACE] Temperature sensor is compatible with ti,tmp103
    [HAL][TRACE] Got 2 build method(s) for Temperature sensor
    [HAL][TRACE] Register board command for EVK3 *****( 4b4 : f4 )
    [HAL][TRACE] CCam5 Gen41 Event-Based Camera is compatible with psee,ccam5_gen41
    [HAL][TRACE] Got 2 build method(s) for CCam5 Gen41 Event-Based Camera
    [HAL][TRACE] Dev 0 name: CCam5 Gen41 Event-Based Camera
    [HAL][TRACE] Gen41 ERC Init
    [HAL][TRACE] Temperature sensor is compatible with ti,tmp103
    [HAL][TRACE] Got 2 build method(s) for Temperature sensor
    [HAL][TRACE] Dev 1 name: Temperature sensor
    [HAL][TRACE] Data Transfer: Try to flush
    [HAL][TRACE] Total of  0  bytes flushed
    [HAL][TRACE]         -> can open the serial
    ## Prophesee Gen4.1 HD ##

    # System information
    Available Data Encoding Formats                   EVT3,EVT21
    Connection                                        USB
    Current Data Encoding Format                      EVT3
    EVK3 Build Date                                   Fri Oct  7 14:41:28 2022
    EVK3 Release Version                              3.9.0
    EVK3 Speed                                        5000
    Integrator                                        Prophesee
    Sensor Name                                       Gen4.1
    Serial                                            *****
    SystemID                                          48
    device0 compatible                                psee,ccam5_gen41
    device0 name                                      CCam5 Gen41 Event-Based Camera
    device1 compatible                                ti,tmp103
    device1 name                                      Temperature sensor
     
    # Available device config options
    format                                            default: EVT3 values: EVT21 | EVT3
    ll_biases_range_check_bypass                      default: 0 values: true | false
     

    # Default Biases
    bias_diff                                         80
    bias_diff_off                                     52
    bias_diff_on                                      115
    bias_fo                                           74
    bias_hpf                                          0
    bias_refr                                         68
    [HAL][TRACE] Released interface 0 on EVK3
     
    [HAL][TRACE] Opening camera with serial: Prophesee:hal_plugin_prophesee:v4l2_device
    [HAL][TRACE] Loading plugins
    [HAL][TRACE]   MV_HAL_PLUGIN_PATH did not change and plugins are already loaded, no need to reload plugins
    [HAL][TRACE]   Plugin [hal_plugin_prophesee] (Prophesee) matches the serial
    [HAL][TRACE]     Camera discovery Metavision::Fx3CameraDiscovery
    [HAL][TRACE] EVK1 libusb BC: libusb_get_device_list found 6 devices
    [HAL][TRACE] EVK1 libusb BC: PSEE device found
    [HAL][TRACE] FPGA is properly configured
    [HAL][TRACE] Released interface
    [HAL][TRACE] FPGA is properly configured
    [HAL][TRACE] Reset device
    [HAL][TRACE] Released interface
    [HAL][TRACE]         -> cannot open the serial
    [HAL][TRACE]     Camera discovery Metavision::TzCameraDiscovery
    [HAL][TRACE] libusb BC: libusb_get_device_list found 6 devices
    [HAL][TRACE] Claimed interface 0 of EVK3
    [HAL][TRACE] Create board command for EVK3 ******( 4b4 : f4 )
    [HAL][TRACE] EVK3 has 2 Treuzell devices
    [HAL][TRACE] CCam5 Gen41 Event-Based Camera is compatible with psee,ccam5_gen41
    [HAL][TRACE] Got 2 build method(s) for CCam5 Gen41 Event-Based Camera
    [HAL][TRACE] Temperature sensor is compatible with ti,tmp103
    [HAL][TRACE] Got 2 build method(s) for Temperature sensor
    [HAL][TRACE] Register board command for EVK3 ******( 4b4 : f4 )
    [HAL][TRACE] Released interface 0 on EVK3
    [HAL][TRACE]         -> cannot open the serial
    [HAL][TRACE]     Camera discovery Metavision::V4l2CameraDiscovery
    [HAL][TRACE] V4l2Discovery - Discovering...
    [HAL][ERROR] Failed to build streaming facilities : ioctl: -VIDIOC_DBG_G_REGISTER failed to read register
    [HAL][INFO] V4l2 Discovery failed with horrible failure -1
    [HAL][TRACE]         -> cannot open the serial

    ####  SYSTEM'S USB PORTS  ####

    USB Port type used:                               3.00

    As a Prophesee customer, join the community conversation. 
    Request your free access today.

      Information

      In this Community Forum, you can discuss products, technology and applications. Only registred users can post but everyone can read. To ask a private question, enter a support ticket in My Area https://support.prophesee.ai/portal/en/newticket