Help with Arducam and 1080p

Camera model

Arducam

What is the problem?

I have this camera working in Octoprint, but if I set the resolution higher than 640x480 it turns into 16 bit colors and looks awful. Putting it back to 640x480 and it looks fine again, just low res.

What did you already try to solve it?

camera_usb_options="-r 1920x1080 -f 10 -vf true -q 100"

I also tried setting camera="libcamera" but that didn't show the camera at all.

Have you tried running in safe mode?

No

Did running in safe mode solve the problem?

No

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

octoprint-systeminfo-20240108174927.zip (1.9 MB)

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible
Running on Pi Zero 2 W, Octoprint version 1.9.3

Update 1280x720 also works fine, but 1920x1080 kills most of the colors and it looks terrible.