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 DietPi-Config | RPi: Add modern RPi camera module support · Issue #5127 · MichaIng/DietPi · GitHub

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. libcamera stack does not work in Bullseye with the RasPi Camera V2 and the HQ Camera - Raspberry Pi Forums

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.