Setup IMX519 with any Raspberry Pi OS

From the picture, you are using IMX519, but pivariety is configured in /boot/config.txt?
You should comment out: dtoverlay=arducam, turn on dtoverlay=imx519