Jump to content

Cronoses

Validating
  • Posts

    1
  • Joined

  • Last visited

  1. Same problem, at first I used DietPi OS but I got another error, no hardware recognition. I tried Radxa OS for Radxa Zero 3W but the CLI version is apparently buggy... And I finally arrived at the same point as you, same problem with the same configuration... # Setup the WiFi and SSH before flashing mkdir -p armbian_mount/boot armbian_mount/root sudo losetup -Pf Armbian_24.5.3_Radxa-zero3_bookworm_vendor_6.1.43_minimal.img losetup -a sudo mount /dev/loop12p1 armbian_mount/boot sudo mount /dev/loop12p2 armbian_mount/root sudo touch armbian_mount/boot/ssh sudo nano armbian_mount/root/etc/netplan/10-dhcp-all-interfaces.yaml ``` network: version: 2 renderer: networkd ethernets: eth0: dhcp4: true optional: true wifis: wlan0: dhcp4: true optional: true access-points: "YOUR_WIFI_SSID": password: "YOUR_WIFI_PASSWORD" ``` sudo umount armbian_mount/boot sudo umount armbian_mount/root sudo losetup -d /dev/loop12 # This is my cmd (with Arch Linux) for flashing the OS on the eMMC sudo rkdeveloptool ld sudo rkdeveloptool db rk356x_spl_loader_ddr1056_v1.12.109_no_check_todly.bin sudo rkdeveloptool ef sudo rkdeveloptool wl 0 Armbian_24.5.3_Radxa-zero3_bookworm_vendor_6.1.43_minimal.img sudo rkdeveloptool rd # Wait 5s and connect to your Radxa with SSH ssh root@YOUR_IP sudo apt-get upgrade && sudo apt-get update sudo apt-get install gstreamer1.0-tools gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly sudo apt-get install v4l-utils armbian-add-overlay radxa-zero3-rpi-camera-v2.dts sudo reboot # More info cmd/bug: gst-launch-1.0 v4l2src device=/dev/video0 io-mode=4 ! videoconvert ! video/x-raw,format=NV12,width=1920,height=1080 ! jpegenc ! multifilesink location=/home/test.jpg ``` root@radxa-zero3:~# gst-launch-1.0 v4l2src device=/dev/video0 io-mode=4 ! videoconvert ! video/x-raw,format=NV12,width=1920,height=1080 ! jpegenc ! multifilesink location=/home/test.jpg 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: Internal data stream error. Additional debug info: ../libs/gst/base/gstbasesrc.c(3132): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: streaming stopped, reason not-negotiated (-4) Execution ended after 0:00:00.003362617 Setting pipeline to NULL ... Freeing pipeline ... ``` root@radxa-zero3:/home# gst-launch-1.0 v4l2src device=/dev/video0 ! fakesink ``` 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(976): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Buffer pool activation failed ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error. Execution ended after 0:00:00.009337640 Additional debug info: ../libs/gst/base/gstbasesrc.c(3132): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: streaming stopped, reason not-negotiated (-4) Setting pipeline to NULL ... Freeing pipeline ... ``` root@radxa-zero3:/home# dmesg | grep video ``` videodev: Linux video capture interface: v2.00 mpp_service mpp-srv: 6849c1e28b7b author: Ding Wei 2023-12-28 video: rockchip: mpp: px30: fix issue combo_init when device probe usbcore: registered new interface driver uvcvideo rockchip-dmc dmc: video_4k_rate = 780000000 rockchip-dmc dmc: video_4k_10b_rate = 780000000 WARNING: CPU: 3 PID: 1673 at drivers/media/common/videobuf2/videobuf2-core.c:835 vb2_core_reqbufs+0x310/0x408 __video_do_ioctl+0x260/0x37c video_usercopy+0x2b8/0x5e4 video_ioctl2+0x20/0x30 ``` root@radxa-zero3:/home# dmesg | grep v4l2 ``` rockchip-mipi-csi2-hw fdfb0000.mipi-csi2-hw: probe success, v4l2_dev:mipi-csi2-hw! CPU: 3 PID: 1673 Comm: v4l2-ctl Not tainted 6.1.43-vendor-rk35xx #1 v4l2_ioctl+0x50/0x78 ``` root@radxa-zero3:/home# GST_DEBUG=3 gst-launch-1.0 v4l2src device=/dev/video0 ! fakesink ``` Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... 0:00:00.214107090 4321 0xaaaae4668400 WARN v4l2 gstv4l2object.c:4675:gst_v4l2_object_probe_caps:<v4l2src0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Invalid argument New clock: GstSystemClock 0:00:00.216999881 4321 0xaaaae4668400 WARN v4l2 gstv4l2object.c:4485:gst_v4l2_object_get_crop_rect:<v4l2src0:src> Failed to get default crop rectangle with VIDIOC_G_SELECTION: Invalid argument 0:00:00.217261509 4321 0xaaaae4668400 WARN v4l2 gstv4l2object.c:3228:gst_v4l2_object_reset_compose_region:<v4l2src0:src> Failed to get default compose rectangle with VIDIOC_G_SELECTION: Invalid argument 0:00:00.222463456 4321 0xaaaae4668400 WARN v4l2bufferpool gstv4l2bufferpool.c:848:gst_v4l2_buffer_pool_start:<v4l2src0:pool0:src> Uncertain or not enough buffers, enabling copy threshold 0:00:00.224169730 4321 0xaaaae4668400 ERROR v4l2bufferpool gstv4l2bufferpool.c:712:gst_v4l2_buffer_pool_streamon:<v4l2src0:pool0:src> error with STREAMON 19 (No such device) 0:00:00.224277065 4321 0xaaaae4668400 ERROR bufferpool gstbufferpool.c:572:gst_buffer_pool_set_active:<v4l2src0:pool0:src> start failed 0:00:00.224536068 4321 0xaaaae4668400 WARN v4l2src gstv4l2src.c:976:gst_v4l2src_decide_allocation:<v4l2src0> error: Failed to allocate required memory. 0:00:00.224573694 4321 0xaaaae4668400 WARN v4l2src gstv4l2src.c:976:gst_v4l2src_decide_allocation:<v4l2src0> error: Buffer pool activation failed ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory. Additional debug info: ../sys/v4l2/gstv4l2src.c(976): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Buffer pool activation failed 0:00:00.225619333 4321 0xaaaae4668400 WARN basesrc gstbasesrc.c:3352:gst_base_src_prepare_allocation:<v4l2src0> Subclass failed to decide allocation 0:00:00.225778585 4321 0xaaaae4668400 WARN basesrc gstbasesrc.c:3132:gst_base_src_loop:<v4l2src0> error: Internal data stream error. 0:00:00.225824378 4321 0xaaaae4668400 WARN basesrc gstbasesrc.c:3132:gst_base_src_loop:<v4l2src0> error: streaming stopped, reason not-negotiated (-4) ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error. Execution ended after 0:00:00.012100543 Additional debug info: ../libs/gst/base/gstbasesrc.c(3132): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: streaming stopped, reason not-negotiated (-4) Setting pipeline to NULL ... Freeing pipeline ... ```
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines