Не удаётся запустить "libcamera-hello"

Тема в разделе "Raspberry Pi", создана пользователем АндрейС, 10 ноя 2021.

  1. Приветствую!
    Пытаюсь запустить libcamera-hello на своём RPI 3, но безуспешно.

    Имею следующее:
    • Камера: Raspberry Pi High Quality Camera (Sony IMX477)
    • ОС: Linux raspberrypi 5.10.63-v7+ #1459 SMP Wed Oct 6 16:41:10 BST 2021 armv7l GNU/Linux
    Содержимое config.txt:
    Код (Text):
    # For more options and information see
    # http://rpf.io/configtxt
    # Some settings may impact device functionality. See link above for details

    # uncomment if you get no picture on HDMI for a default "safe" mode
    #hdmi_safe=1

    # uncomment the following to adjust overscan. Use positive numbers if console
    # goes off screen, and negative if there is too much border
    #overscan_left=16
    #overscan_right=16
    #overscan_top=16
    #overscan_bottom=16

    # uncomment to force a console size. By default it will be display's size minus
    # overscan.
    framebuffer_width=1600
    framebuffer_height=900

    # uncomment if hdmi display is not detected and composite is being output
    #hdmi_force_hotplug=1

    # uncomment to force a specific HDMI mode (this will force VGA)
    #hdmi_group=1
    #hdmi_mode=1

    # uncomment to force a HDMI mode rather than DVI. This can make audio work in
    # DMT (computer monitor) modes
    #hdmi_drive=2

    # uncomment to increase signal to HDMI, if you have interference, blanking, or
    # no display
    #config_hdmi_boost=4

    # uncomment for composite PAL
    #sdtv_mode=2

    #uncomment to overclock the arm. 700 MHz is the default.
    #arm_freq=800

    # Uncomment some or all of these to enable the optional hardware interfaces
    #dtparam=i2c_arm=on
    #dtparam=i2s=on
    #dtparam=spi=on

    # Uncomment this to enable infrared communication.
    #dtoverlay=gpio-ir,gpio_pin=17
    #dtoverlay=gpio-ir-tx,gpio_pin=18

    # Additional overlays and parameters are documented /boot/overlays/README

    # Enable audio (loads snd_bcm2835)
    dtparam=audio=on

    # Automatically load overlays for detected cameras
    camera_auto_detect=1

    # Automatically load overlays for detected DSI displays
    display_auto_detect=1

    # Enable DRM VC4 V3D driver
    #dtoverlay=vc4-fkms-v3d
    #max_framebuffers=2

    # Disable compensation for displays with overscan
    disable_overscan=1

    [cm4]
    # Enable host mode on the 2711 built-in XHCI USB controller.
    # This line should be removed if the legacy DWC2 controller is required
    # (e.g. for USB device mode) or if USB support is not required.
    otg_mode=1

    [all]

    [pi4]
    # Run as fast as firmware / board allows
    arm_boost=1

    [all]
    Когда запускаю "libcamera-hello", как сказано тут https://www.raspberrypi.com/documentati ... ng-started, в разделе "Getting Started" в консоле получаю это:

    Код (Bash):
    pi@raspberrypi:~ $ libcamera-hello
    libEGL warning: DRI2: failed to authenticate
    [0:00:54.255291645] [1164]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3156-f4070274
    [0:00:54.282229926] [1178]  WARN CameraSensorProperties camera_sensor_properties.cpp:141 No static properties available for 'imx477'
    [0:00:54.282366645] [1178]  WARN CameraSensorProperties camera_sensor_properties.cpp:143 Please consider updating the camera sensor properties database
    [0:00:54.391040343] [1164]  INFO Camera camera.cpp:937 configuring streams: (0) 2028x1520-YUV420
    [0:00:54.391294353] [1178]  INFO RPI raspberrypi.cpp:122 Mode: 1332x990 fmt RG10 Score: 3956.22 (best 3956.22)
    [0:00:54.391447947] [1178]  INFO RPI raspberrypi.cpp:122 Mode: 4056x3040 fmt RG12 Score: 1387 (best 1387)
    [0:00:54.391505551] [1178]  INFO RPI raspberrypi.cpp:122 Mode: 2028x1520 fmt RG12 Score: 500 (best 500)
    [0:00:54.391558624] [1178]  INFO RPI raspberrypi.cpp:122 Mode: 2028x1080 fmt RG12 Score: 1583.84 (best 500)
    [0:00:54.391614301] [1178]  INFO RPI raspberrypi.cpp:122 Mode: 1332x990 fmt pRAA Score: 3456.22 (best 500)
    [0:00:54.391670968] [1178]  INFO RPI raspberrypi.cpp:122 Mode: 4056x3040 fmt pRCC Score: 887 (best 500)
    [0:00:54.391723676] [1178]  INFO RPI raspberrypi.cpp:122 Mode: 2028x1520 fmt pRCC Score: 0 (best 0)
    [0:00:54.391775083] [1178]  INFO RPI raspberrypi.cpp:122 Mode: 2028x1080 fmt pRCC Score: 1083.84 (best 0)
    [0:00:54.392012531] [1178]  INFO RPI raspberrypi.cpp:620 Sensor: /base/soc/i2c0mux/i2c@1/imx477@1a - Selected mode: 2028x1520-pRCC
    [0:00:54.454541906] [1178] ERROR V4L2 v4l2_videodevice.cpp:1165 /dev/video15[19:cap]: Not enough buffers provided by V4L2VideoDevice
    [0:00:54.454926958] [1178] ERROR RPI raspberrypi.cpp:817 Failed to allocate buffers
    Также открывается чёрное окно и более ничего не происходит...

    Для соединения к RPI используется VNC Viewer.

    Как решить?