raspberrypi / picamera2

New libcamera based python library
BSD 2-Clause "Simplified" License
894 stars 189 forks source link

Unexpected warning from v4l2 #1066

Open waikeat2397 opened 4 months ago

waikeat2397 commented 4 months ago

No sure we should be aware of this warning message or not. I saw this warning message in my setup.

Setup Linux raspberry 6.6.20+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64 GNU/Linux Raspberry Pi 5 Raspberry Pi Camera Module 3 libcamera v0.3.0+65-6ddd79b5 libpisp version v1.0.6 b567f0455680 17-06-2024 picamera2 0.3.19

Sample Code

from picamera2 import Picamera2

picam2 = Picamera2()
picam2.still_configuration.main.size = (4608, 2592)
picam2.still_configuration.main.format = 'BGR888'
picam2.configure('still')
picam2.close()

Screenshot 2024-06-28 231012

davidplowman commented 4 months ago

Yes, that's normal, libcamera can be a bit "chatty" sometimes. You can quieten it down by putting something like

export LIBCAMERA_LOG_LEVELS=*:3

in your .bashrc or typing it in the terminal window.