I am using a common logitech webcam with OpenCV. When I was using my RPI3 I had no trouble, but I wanted to improve my system so I bought a RPI4.
Upon setting up my system with RPI4 using raspian buster I've started getting:
VIDIOC_DQBUF: Resource temporarily unavailable After I saw this question here I tried:
pi@raspberrypi:~ $ sudo rmmod uvcvideo pi@raspberrypi:~ $ sudo modprobe uvcvideo nodrop=1 timeout=5000 quirks=0x80 Now my image comes like this:
The upper part of the image is ok, it's night time and it is pointing to my backyard, however I don't know how to solve the green part problem.
Any ideas?

Supported device:Device worksstate for046d:0825 Logitech HD Webcam C270, can you put your dmesg or syslog output ?