Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4387

Beginners • Error: No cameras available!

$
0
0
Hi! I am getting an error after the command $ libcamera-hello

Code:

Could not open any dmaHeap device[0:43:50.373905707] [2581]  INFO Camera camera_manager.cpp:313 libcamera v0.3.0+65-6ddd79b5[0:43:50.388961417] [2587] ERROR DmaBufAllocator dma_buf_allocator.cpp:116 Could not open any dma-buf provider[0:43:50.417204487] [2587]  WARN RPiSdn sdn.cpp:40 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise[0:43:50.419188689] [2587] ERROR RPI vc4.cpp:215 Failed to register camera ov5647 10-0036: -12libEGL warning: DRI2: failed to authenticateMade X/EGL preview windowERROR: *** no cameras available ***
after $ libcamera-hello --list-cameras

Code:

Could not open any dmaHeap deviceNo cameras available!
I have tried a large amount of solutions, but none of them worked :( I would be very grateful if someone could help me out!

my /boot/firmware/config.txt is:

Code:

`D7# For more options and information see# http://rptl.io/configtxt# Some settings may impact device functionality. See link above for details# Uncomment some or all of these to enable the optional hardware interfacesdtparam=i2c_arm=on#dtparam=i2s=ondtparam=spi=on# 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=2# hdmi_mode=57# hdmi_ignore_edid=0xa5000080# Enable audio (loads snd_bcm2835)dtparam=audio=on# Additional overlays and parameters are documented# /boot/firmware/overlays/README# Automatically load overlays for detected cameras[b]camera_auto_detect=1dtoverlay=ov5647[/b]# Automatically load overlays for detected DSI displaysdisplay_auto_detect=1# Automatically load initramfs files, if foundauto_initramfs=1# Enable DRM VC4 V3D driverdtoverlay=vc4-kms-v3dmax_framebuffers=2# Don't have the firmware create an initial video= setting in cmdline.txt.# Use the kernel's default instead.disable_fw_kms_setup=1# Run in 64-bit modearm_64bit=1# Disable compensation for displays with overscandisable_overscan=1# Run as fast as firmware / board allowsarm_boost=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[cm5]dtoverlay=dwc2,dr_mode=host[all]dtoverlay=w1-gpioenable_uart=1dtparam=watchdog=onhdmi_enable_4kp60=1
my /etc/modules/ is :

Code:

# /etc/modules: kernel modules to load at boot time.## This file contains the names of kernel modules that should be loaded# at boot time, one per line. Lines beginning with "#" are ignored.# Parameters can be specified after the module name.i2c-dev# bcm2835-v4l2
my kernel version is:

Code:

$ uname -aLinux raspberrypi 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux
my OS version is:

Code:

$ cat /etc/os-releasePRETTY_NAME="Debian GNU/Linux 12 (bookworm)"NAME="Debian GNU/Linux"VERSION_ID="12"VERSION="12 (bookworm)"VERSION_CODENAME=bookwormID=debianHOME_URL="https://www.debian.org/"SUPPORT_URL="https://www.debian.org/support"BUG_REPORT_URL="https://bugs.debian.org/"
my libcamera-apps version is:

Code:

$ libcamera-hello --versionCould not open any dmaHeap devicerpicam-apps build: 49344f2a8d18 17-06-2024 (12:09:08)libcamera build: v0.3.0+65-6ddd79b5
the relevant Picamera2 version is :

Code:

$ apt list python3-picamera2Listing... Donepython3-picamera2/stable,stable,now 0.3.19-1 all [installed]

Statistics: Posted by cici — Thu Aug 15, 2024 4:28 pm — Replies 0 — Views 3



Viewing all articles
Browse latest Browse all 4387

Trending Articles