Libcamera & disable legacy camera stack?

Hi there,
I have installed libcamera. But it does not work.

ERROR: the system appears to be configured for the legacy camera stack

So, where can I configure and disable the legacy camera stack?

I am running a Raspberry 3+ with 64bit Dietpi

Thanks

See https://github.com/MichaIng/DietPi/issues/5127

When enabling the camera module option, setting camera_auto_detect=1 or start_x=1 based on whether full KMS is used or not.
When switching between fake KMS/full KMS/legacy and the camera module is enabled, switch between camera_auto_detect=1 and start_x=1 accordingly.

You can enable this option in dietpi-config.
But it also seems the new camera stack is not stable in every circumstance. https://forums.raspberrypi.com/viewtopic.php?p=1958297

Thanks for the hint, I will try it in time and let you know

Hi,
seems that it works now.

I did the following setup:

  1. Enable ‘8: RPi Camera’ at DietPi-Config/Display Options/
  2. added ‘camera_auto_detect=1’ to the /boot/config.txt
  3. Installed libcamera ‘apt install libcamera-apps-lite’

Thank you.