Title: Camera doesn’t work on Debian (Rubik Pi 3)

Hi,
I installed the official Debian OS provided by Thundercomm for the Rubik Pi 3 because I wanted a clean Linux environment without the hassle of porting tools and libraries.

But now I’m stuck — the camera doesn’t show any preview.
I tried using GStreamer with qtiqmmfsrc, but it crashes with context == NULL errors.

is it possible to connect camera on Debian?
or i have to use linux 1.1v

This is a known issue. Our technical team is currently in the process of development, and the CAM functionality for the Debian version will continue to be optimized.
Customers can temporarily use the following commands in the adb shell environment to take photos or record videos:

To take a photo:
export GST_PLUGIN_PATH=/usr/lib/gstreamer-1.0/:$GST_PLUGIN_PATH
export LD_LIBRARY_PATH=/usr/lib
gst-launch-1.0 -e qtiqmmfsrc camera=0 name=qmmf ! image/jpeg,width=1920,height=1080,framerate=30/1 ! multifilesink location=/opt/frame%d.jpg sync=true async=false max-files=2

echo “export LD_LIBRARY_PATH=/usr/lib” > /home/lvgl.txt
echo “echo 1024 > /proc/sys/vm/nr_hugepages” >> /home/lvgl.txt

echo multiCameraLogicalXMLFile=kodiak_dc.xml > /var/cache/camera/camxoverridesettings.txt
echo enableNCSService=FALSE >> /var/cache/camera/camxoverridesettings.txt
echo halBufferMgrMode=0 >> /var/cache/camera/camxoverridesettings.txt

To record a video:
export GST_PLUGIN_PATH=/usr/lib/gstreamer-1.0/:$GST_PLUGIN_PATH
export LD_LIBRARY_PATH=/usr/lib
gst-launch-1.0 -e qtiqmmfsrc camera=0 name=camsrc video_0::type=preview ! video/x-raw(memory:GBM),format=NV12,width=1920,height=1080,framerate=30/1,compression=ubwc,interlace-mode=progressive,colorimetry=bt601 ! queue ! v4l2h264enc capture-io-mode=5 output-io-mode=5 ! queue ! h264parse ! mp4mux ! queue ! filesink location=“/opt/mux0.mp4”

thanks for help,
i alreay install Linux1.1 because i have to test right now

Okay, should you encounter any issues, please feel free to share at any time. :smiling_face_with_hearts:

I have the same problem with IMX219 cameras. camera preview is crashing with

WARNING: erroneous pipeline: no element “qtiqmmfsrc”

Is there any other way than gstreamer to capture the camera stream? I’m fine with using the libcamera library or v4l if those are viable options

I’ve already completed my Rubik’s Pi project.
I’ll leave the GitHub address for you, so feel free to reference my code.
https://github.com/Jminu/detection

Dear customer,
Thank you for sharing the code.

I found that v4l isn’t supported, so I didn’t use Debian. I rolled back to a basic Linux setup and proceeded with the project using GStreamer.