Question 3:
I got an error similar to the following when I ran libcamera:
terminate called after throwing an instance of \'std::runtime_error\'
what(): failed to import fd 21
Aborted
Solution:
For Raspbian Buster users, please also:
- Open /boot/config.txt
- Add the following line under [all]:
dtoverlay=vc4-fkms-v3d - Save and reboot
For Raspbian Bullseye users running on Pi Zero ~ Pi 3:,
- Open a terminal
- Run sudo raspi-config
- Navigate to Advanced Options
- Enable Glamor graphic acceleration
- Reboot your Pi
For more details, please refer to the official forum guide on how to configure the camera module >>