Qengineering / Rock-5-Ubuntu-22-image

Rock Pi 5 image with Ubuntu 22, OpenCV, deep learning frameworks and NPU drivers
https://qengineering.eu/deep-learning-examples-on-raspberry-32-64-os.html
BSD 3-Clause "New" or "Revised" License
9 stars 1 forks source link

4k radxa csi camera drivers preinstalled ? #1

Open zoldaten opened 10 months ago

zoldaten commented 10 months ago

hi! thanks for image sharing . but i`m interesting if native csi camera for radxa is working OK on this ubuntu - https://wiki.radxa.com/Rock5/accessories/radxa-camera-4k

i know there`s some problem with camera driver on ubuntu it shows green colors - https://www.youtube.com/watch?v=wwiR1BqJFoM and there is no official ubuntu release from radxa (only cli image without desktop and drivers).

Qengineering commented 10 months ago

@zoldaten,

We don't have a original radxa camera at the office, so we can't tell. BTW, this image uses the original radxa Rock5 GUI release.

I would just try to test your camera with a simple gstreamer tool. Seems your tools also uses some kind of pipeline.

zoldaten commented 10 months ago

i`ve installed drivers, but unfortunately they dont work and camera shows green colors in gstreamer (

Qengineering commented 10 months ago

Does it also with a webcam? I've tested the Ubuntu image with a Logitech webcam and GStreamer. It works like charm.

gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw, width=640, height=480, framerate=30/1 ! videoconvert ! videoscale ! clockoverlay time-format="%D %H:%M:%S" ! autovideosink
zoldaten commented 10 months ago

hm. logitech usb c270 works well. but mipi csi doesnt...

Qengineering commented 10 months ago

Indeed, that's what's bothering me. I've seen you video and the images are not always 'green'. Sometimes they are perfect. Sometimes green. Despite the colors, the images have a correct size, are well synchronized. Nothing strange. Also, you use the same pipeline structure as I do. It begin to suspect the other software instead if the camera.