I have two brands (waveshare and innomaker) of OV9281 boards here. With both of them this happens, as of today:
- An sd card receives the default Debian Bookworm with Pi Desktop (released 2024-11-19) with the current RPi imager;
- boot it and change /boot/firmware/config.txt to add dtoverlay=ov9281 and change camera_auto_detect=0
- reboot and run rpicam-hello -t 0. It shows the camera image on screen as expected. Then:
- sudo apt update, sudo apt upgrade.
- reboot and rpicam-hello hangs with:
[0:01:58.875204243] [1726] INFO Camera camera_manager.cpp:327 libcamera v0.4.0+53-29156679
[0:01:58.958242686] [1729] WARN RPiSdn sdn.cpp:40 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise
[0:01:58.960184142] [1729] INFO RPI vc4.cpp:447 Registered camera /base/soc/i2c0mux/i2c@1/ov9281@60 to Unicam device /dev/media0 and ISP device /dev/media1
[0:01:58.960304194] [1729] INFO RPI pipeline_base.cpp:1121 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
Made X/EGL preview window
Mode selection for 640:400:12:P
R8,640x400/0 - Score: 2000
R8,1280x720/0 - Score: 2306.67
R8,1280x800/0 - Score: 2260
R10_CSI2P,640x400/0 - Score: 1000
R10_CSI2P,1280x720/0 - Score: 1306.67
R10_CSI2P,1280x800/0 - Score: 1260
Stream configuration adjusted
[0:01:59.519801973] [1726] INFO Camera camera.cpp:1202 configuring streams: (0) 640x400-YUV420 (1) 640x400-R10_CSI2P
[0:01:59.524313634] [1729] INFO RPI vc4.cpp:622 Sensor: /base/soc/i2c0mux/i2c@1/ov9281@60 - Selected sensor format: 640x400-Y10_1X10 - Selected unicam format: 640x400-Y10P
[0:01:59.558277034] [1732] WARN IPARPI ipa_base.cpp:1114 Could not set SHARPNESS - no sharpen algorithm
[0:02:00.635462930] [1729] WARN V4L2 v4l2_videodevice.cpp:2150 /dev/video0[13:cap]: Dequeue timer of 1000000.00us has expired!
[0:02:00.635593138] [1729] ERROR RPI pipeline_base.cpp:1367 Camera frontend has timed out!
[0:02:00.635621211] [1729] ERROR RPI pipeline_base.cpp:1368 Please check that your camera sensor connector is attached securely.
[0:02:00.635648659] [1729] ERROR RPI pipeline_base.cpp:1369 Alternatively, try another cable and/or sensor.
ERROR: Device timeout detected, attempting a restart!!!
[0:02:00.649340623] [1734] WARN IPARPI ipa_base.cpp:1114 Could not set SHARPNESS - no sharpen algorithm
This happens both with RPi3 B and B+, and with both ov9281 board brands. It does NOT happen with RPI4, which works flawlessly with current kernel.
- An sd card receives the default Debian Bookworm with Pi Desktop (released 2024-11-19) with the current RPi imager;
- boot it and change /boot/firmware/config.txt to add dtoverlay=ov9281 and change camera_auto_detect=0
- reboot and run rpicam-hello -t 0. It shows the camera image on screen as expected. Then:
- sudo apt update, sudo apt upgrade.
- reboot and rpicam-hello hangs with:
[0:01:58.875204243] [1726] INFO Camera camera_manager.cpp:327 libcamera v0.4.0+53-29156679
[0:01:58.958242686] [1729] WARN RPiSdn sdn.cpp:40 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise
[0:01:58.960184142] [1729] INFO RPI vc4.cpp:447 Registered camera /base/soc/i2c0mux/i2c@1/ov9281@60 to Unicam device /dev/media0 and ISP device /dev/media1
[0:01:58.960304194] [1729] INFO RPI pipeline_base.cpp:1121 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
Made X/EGL preview window
Mode selection for 640:400:12:P
R8,640x400/0 - Score: 2000
R8,1280x720/0 - Score: 2306.67
R8,1280x800/0 - Score: 2260
R10_CSI2P,640x400/0 - Score: 1000
R10_CSI2P,1280x720/0 - Score: 1306.67
R10_CSI2P,1280x800/0 - Score: 1260
Stream configuration adjusted
[0:01:59.519801973] [1726] INFO Camera camera.cpp:1202 configuring streams: (0) 640x400-YUV420 (1) 640x400-R10_CSI2P
[0:01:59.524313634] [1729] INFO RPI vc4.cpp:622 Sensor: /base/soc/i2c0mux/i2c@1/ov9281@60 - Selected sensor format: 640x400-Y10_1X10 - Selected unicam format: 640x400-Y10P
[0:01:59.558277034] [1732] WARN IPARPI ipa_base.cpp:1114 Could not set SHARPNESS - no sharpen algorithm
[0:02:00.635462930] [1729] WARN V4L2 v4l2_videodevice.cpp:2150 /dev/video0[13:cap]: Dequeue timer of 1000000.00us has expired!
[0:02:00.635593138] [1729] ERROR RPI pipeline_base.cpp:1367 Camera frontend has timed out!
[0:02:00.635621211] [1729] ERROR RPI pipeline_base.cpp:1368 Please check that your camera sensor connector is attached securely.
[0:02:00.635648659] [1729] ERROR RPI pipeline_base.cpp:1369 Alternatively, try another cable and/or sensor.
ERROR: Device timeout detected, attempting a restart!!!
[0:02:00.649340623] [1734] WARN IPARPI ipa_base.cpp:1114 Could not set SHARPNESS - no sharpen algorithm
This happens both with RPi3 B and B+, and with both ov9281 board brands. It does NOT happen with RPI4, which works flawlessly with current kernel.
Statistics: Posted by ivannaz — Fri Feb 28, 2025 1:21 am — Replies 0 — Views 31