Ja, auf jeden Fall.
Vielen Dank!
Ja, auf jeden Fall.
Vielen Dank!
Ich habe die GPU Memory, wie du gesagt hast, auf 128 MB erhöht und es funktioniert bislang ohne Probleme.
Dankeschön, ich habe den Post übersetzt.
ZitatDu könntest versuchen unter sudo raspi-config >> Performance Options >> GPU Memory auf 128 (aber erstmal nicht höher!) zu setzen.
Aber weißt du, dass das das Problem lößt, oder wie kommst du auf diesen Lösungsansatz?
Hallo,
Ich habe ein Skript geschrieben, welches libcamera-jpeg -o test.jpg ausführt.
Aber manchmal/ meistens crashed das Skript (warscheinlich stürzt der pi ab):
[0:20:33.916495803] [579] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3156-f4070274
[0:20:34.269731293] [579] INFO Camera camera.cpp:937 configuring streams: (0) 1296x972-YUV420
[0:20:34.271511260] [581] INFO RPI raspberrypi.cpp:122 Mode: 2592x1944 fmt BG10 Score: 2067 (best 2067)
[0:20:34.272809236] [581] INFO RPI raspberrypi.cpp:122 Mode: 1920x1080 fmt BG10 Score: 1849.67 (best 1849.67)
[0:20:34.274432207] [581] INFO RPI raspberrypi.cpp:122 Mode: 1296x972 fmt BG10 Score: 1500 (best 1500)
[0:20:34.276211174] [581] INFO RPI raspberrypi.cpp:122 Mode: 640x480 fmt BG10 Score: 3796 (best 1500)
[0:20:34.277991141] [581] INFO RPI raspberrypi.cpp:122 Mode: 640x480 fmt BA81 Score: 4796 (best 1500)
[0:20:34.280470095] [581] INFO RPI raspberrypi.cpp:122 Mode: 2592x1944 fmt pBAA Score: 1567 (best 1500)
[0:20:34.282263062] [581] INFO RPI raspberrypi.cpp:122 Mode: 1920x1080 fmt pBAA Score: 1349.67 (best 1349.67)
[0:20:34.286347987] [581] INFO RPI raspberrypi.cpp:122 Mode: 1296x972 fmt pBAA Score: 1000 (best 1000)
[0:20:34.288111955] [581] INFO RPI raspberrypi.cpp:122 Mode: 640x480 fmt pBAA Score: 3296 (best 1000)
[0:20:34.288724943] [581] INFO RPI raspberrypi.cpp:620 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected mode: 1296x972-pBAA
[0:20:34.432840290] [581] INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[0:20:34.434180265] [581] INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[0:20:34.435299245] [581] INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[0:20:34.436126229] [581] INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[0:20:34.545436217] [581] INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (7 left)
Alles anzeigen
Es stürzt auch ab, wenn ich den Kommand im Terminal ausführe.
Die Kamera:
Ich weiß nicht, ob das wirklich die Kamera ist, aber es ist die gleiche Art von Kamera:
Meine boot/config.txt:
# 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=1280
#framebuffer_height=720
# 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-kms-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]
Alles anzeigen