Creating a bug report/issue
I have searched the existing open and closed issues
Required Information
- DietPi version | 9.10.0
- Distro version | bookworm 0
- Kernel version | Linux paisley 6.6.74+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.74-1+rpt1 (2025-01-27) aarch64 GNU/Linux
- Architecture | arm64
- SBC model | RPi 3 Model B+ (aarch64)
- Power supply used | Geekworm X-UPS1 (4x 18650 UPS)
- SD card used | Samsung EVO Plus
Additional Information (if applicable)
Software title | (EG: Nextcloud)Was the software title installed freshly or updated/migrated?- Can this issue be replicated on a fresh installation of DietPi? It is occurring on a fresh installation of DietPi (but I have not tested on another).
Bug report ID |echo $G_HW_UUID
Steps to reproduce
- Connect Camera Module 3 to CSI port of Rasperry Pi 3B+
- Enable RPi Camera under
dietpi-config
> Display Options sudo apt install rpicam-apps-lite
It should be noted that I did this on a headless install of DietPi.
Expected behaviour
rpicam-hello --list-cameras
should show the connected camera device, ORvcgencmd get_camera
should show the connected camera device, OR
Actual behaviour
$ rpicam-hello --list-cameras
Could not open any dmaHeap device
No cameras available!
$ vcgencmd get_camera
Can’t open device file: /dev/vcio
Try creating a device file with: sudo mknod /dev/vcio c 100 0
$ ls -l /dev/vcio
crw------- 1 root root 10, 125 Feb 20 17:32 /dev/vcio
Extra details
Installing mjpg-streamer and/or motioneye (not sure which, I installed both at the same time) appears to resolve this problem? After installing them, I now see:
$ ls -l /dev/vcio
crw-rw---- 1 root video 10, 125 Feb 20 17:32 /dev/vcio
$ sudo usermod -aG video dietpi
$ rpicam-hello --list-cameras
Available cameras
-----------------
0 : imx708_wide_noir [4608x2592 10-bit RGGB] (/base/soc/i2c0mux/i2c@1/imx708@1a)
Modes: 'SRGGB10_CSI2P' : 1536x864 [120.13 fps - (768, 432)/3072x1728 crop]
2304x1296 [56.03 fps - (0, 0)/4608x2592 crop]
4608x2592 [14.35 fps - (0, 0)/4608x2592 crop]
$ vcgencmd get_camera
supported=1 detected=0, libcamera interfaces=1
However, I couldn’t get either package to work. Per this thread, mjpg-streamer installs without the cruicial input_raspicam.so
plugin, and so it fails to start. Motioneye launches and I can access the web interface, but adding a camera just shows a broken/empty video stream.