I have a camera module connected to my Pi 3B+. I have downloaded the very latest raspberry Pi OS (called bullseye) which does not support the old. legacy camera stack. You don't even have to enable the camera in config any more, it should now be automatic.
The red light on the camera goes on but I can't execute the
raspistill command, since it's deprecated. The new command is supposed to be
libcamera-hello but that generates a huge list of errors, starting with
libEGL warning DRI2 failed to authenticate
Also, in python, PiCamera does not work and suggests running
sudo raspi-config to enable the legacy camera.
Should I just enable the legacy camera system again in config? It gives a warning that it's deprecated and will not be supported in the future...