4k camera stopped working

Hello, trying to work with 4k radxa camera, and stumbled upon some problem.
Tried this guide https://wiki.radxa.com/Rock5/hardware/camera/#Software_configurationRock5/hardware/camera/ - Radxa Wikihttps://wiki.radxa.com/Rock5/hardware/camera/#Software_configuration
and it worked, but after working with other stuff I tried to enable it again and it failed with this log:

Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Pipeline is PREROLLED …
Setting pipeline to PLAYING …
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory.
Additional debug info:
…/sys/v4l2/gstv4l2src.c(659): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Buffer pool activation failed
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
…/libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.070449846
Setting pipeline to NULL …
Freeing pipeline …



Tried with new distro installation, still not working(

What is the output of (attach the file output v4l2_debug.txt)

for d in /dev/video* ; do echo $d ; v4l2-ctl --device=$d -D --list-formats ; echo '===============' ; done > v4l2_debug.txt

You may need to run with sudo.

https://drive.google.com/file/d/1Pz3IH7HVa7syuq0j2UsU1ZdemENJAmKH/view?usp=sharing

Share the output:
sudo ls -la /dev/video-camera0

Copy & Paste the text here (not image).

rock@rock-5b:~$ sudo ls -la /dev/video-camera0
lrwxrwxrwx 1 root root 7 Mar 8 11:16 /dev/video-camera0 -> video11

I think you have a udev rule or you installed a deprecated package over a working one.

Try this:

sudo v4l2-ctl --device /dev/video-camera0 --stream-mmap=4 --stream-count=1 --stream-skip=150 --set-fmt-video=width=1920,height=1080,pixelformat=NV12

and this
sudo v4l2-ctl --device /dev/video11 --stream-mmap=4 --stream-count=1 --stream-skip=150 --set-fmt-video=width=1920,height=1080,pixelformat=NV12

If this does not work i can only suggest removing the packages related to the camera and installing the latest one.

What package do I need to reinstall, I tried new distro installation, and still not working.
The output of commands are following:

rock@rock-5b:~$ sudo v4l2-ctl —device /dev/video-camera0 —stream-mmap=4 —stream-count=1 —stream-skip=150 —set-fmt-video=width=1920,height=1080,pixelformat=NV12
VIDIOC_STREAMON returned -1 (Operation not permitted)
rock@rock-5b:~$ sudo v4l2-ctl —device /dev/video11 —stream-mmap=4 —stream-count=1 —stream-skip=150 —set-fmt-video=width=1920,height=1080,pixelformat=NV12
VIDIOC_STREAMON returned -1 (Operation not permitted)
rock@rock-5b:~$ sudo su
root@rock-5b:/home/rock# sudo v4l2-ctl —device /dev/video-camera0 —stream-mmap=4 —stream-count=1 —stream-skip=150 —set-fmt-video=width=1920,height=1080,pixelformat=NV12
VIDIOC_STREAMON returned -1 (Operation not permitted)
root@rock-5b:/home/rock# sudo v4l2-ctl —device /dev/video11 —stream-mmap=4 —stream-count=1 —stream-skip=150 —set-fmt-video=width=1920,height=1080,pixelformat=NV12


VIDIOC_STREAMON returned -1 (Operation not permitted)
root@rock-5b:/home/rock#

Triple check the camera cable and the contacts.

Hi,
I have the same problem. Have you solved it?

Many Thanks!