I did all the updates and installed libcamera libraries but when i run libcamera-hello command i get this error:
aydin@raspberrypi:~ $ libcamera-hello
[0:41:46.192653806] [7053] INFO Camera camera_manager.cpp:313 libcamera v0.3.0+65-6ddd79b5
[0:41:46.235048929] [7056] WARN RPiSdn sdn.cpp:40 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise
[0:41:46.237653913] [7056] INFO RPI vc4.cpp:446 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media0 and ISP device /dev/media2
[0:41:46.237953949] [7056] INFO RPI pipeline_base.cpp:1104 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
Made X/EGL 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:41:46.476889239] [7053] INFO Camera camera.cpp:1183 configuring streams: (0) 1296x972-YUV420 (1) 1296x972-SGBRG10_CSI2P
[0:41:46.478091436] [7056] INFO RPI vc4.cpp:621 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1296x972-SGBRG10_1X10 - Selected unicam format: 1296x972-pGAA
Attempt to import unsupported winsys offset 1632960
terminate called after throwing an instance of 'std::runtime_error'
what(): failed to import fd 23
Aborted
when i run codes from python it takes pic but i cant record videos there is nothing just meaningless colors and squares
aydin@raspberrypi:~ $ libcamera-hello
[0:41:46.192653806] [7053] INFO Camera camera_manager.cpp:313 libcamera v0.3.0+65-6ddd79b5
[0:41:46.235048929] [7056] WARN RPiSdn sdn.cpp:40 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise
[0:41:46.237653913] [7056] INFO RPI vc4.cpp:446 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media0 and ISP device /dev/media2
[0:41:46.237953949] [7056] INFO RPI pipeline_base.cpp:1104 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
Made X/EGL 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:41:46.476889239] [7053] INFO Camera camera.cpp:1183 configuring streams: (0) 1296x972-YUV420 (1) 1296x972-SGBRG10_CSI2P
[0:41:46.478091436] [7056] INFO RPI vc4.cpp:621 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1296x972-SGBRG10_1X10 - Selected unicam format: 1296x972-pGAA
Attempt to import unsupported winsys offset 1632960
terminate called after throwing an instance of 'std::runtime_error'
what(): failed to import fd 23
Aborted
when i run codes from python it takes pic but i cant record videos there is nothing just meaningless colors and squares
Statistics: Posted by yusufaydin — Tue Jul 09, 2024 12:53 pm