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

General discussion • Raspberry Pi OV5647 camera not working

$
0
0
Hi All, I was able to get my raspberry pi camera to work after a long struggle. I was able to get a preview as well. But the next day I get erroe messages when I run this code:

rpicam-hello -t 0 --qt-preview --shutter 6000
Result:
[0:01:37.337227403] [2698] INFO Camera camera_manager.cpp:284 libcamera v0.2.0+46-075b54d5
[0:01:37.375128762] [2701] WARN RPiSdn sdn.cpp:39 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise
[0:01:37.378112827] [2701] INFO RPI vc4.cpp:447 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media0 and ISP device /dev/media1
[0:01:37.378222807] [2701] INFO RPI pipeline_base.cpp:1144 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
QStandardPaths: wrong permissions on runtime directory /run/user/1000, 0770 instead of 0700
Made QT preview window
Mode selection for 1296:972:12:P
SGBRG10_CSI2P,640x480/0 - Score: 3296
SGBRG10_CSI2P,1296x972/0 - Score: 1000
SGBRG10_CSI2P,1920x1080/0 - Score: 1349.67
SGBRG10_CSI2P,2592x1944/0 - Score: 1567
Stream configuration adjusted
[0:01:38.125026319] [2698] INFO Camera camera.cpp:1183 configuring streams: (0) 1296x972-YUV420 (1) 1296x972-SGBRG10_CSI2P
[0:01:38.125536034] [2701] INFO RPI vc4.cpp:611 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1296x972-SGBRG10_1X10 - Selected unicam format: 1296x972-pGAA
[0:01:39.240971765] [2701] WARN V4L2 v4l2_videodevice.cpp:2007 /dev/video0[13:cap]: Dequeue timer of 1000000.00us has expired!
[0:01:39.241062931] [2701] ERROR RPI pipeline_base.cpp:1376 Camera frontend has timed out!
[0:01:39.241077338] [2701] ERROR RPI pipeline_base.cpp:1377 Please check that your camera sensor connector is attached securely.
[0:01:39.241090801] [2701] ERROR RPI pipeline_base.cpp:1378 Alternatively, try another cable and/or sensor.
ERROR: Device timeout detected, attempting a restart!!!

Statistics: Posted by takyiwontumi — Fri Mar 29, 2024 9:30 pm



Viewing all articles
Browse latest Browse all 3847

Trending Articles