Getting the Arducam IMX519 to focus

Camera model

Arducam IMX519

What is the problem?

I am running the new camera stack on a brand new image of octopi, with a new Arducam IMX519 with Autofocus. I can see through the camera (its shows up on my control page etc), but its totally out of focus. When I go to the http://octopi.local/webcam/control .page, the Af controls seem to do nothing, and moving objects around in front of the screen seem to do nothing. Also when I navigate to the 8080/snapshot or stream urls, nothing shows up.

What did you already try to solve it?

Through a bunch of experimentation, it seems like [something I install here from arducam] (16MP IMX519 - Arducam Wiki) allows me to set lens position and autofocus, but kills my streaming (and the image coming through the control tab on octoprint etc.. When I then delete and reinstall camera-streamer with its associated version # of libcamera, I'll get the stream back, but libcamera tests wont let me set focus positions anymore. Almost like they're fighting each other. Something from arducam vs camera-streamer and libcamera.

Am I missing something obvious? Does it actually allow me to set focus somewhere else and I'm messing with something I shouldnt be?

Have you tried running in safe mode?

Yes

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-20241102215328.zip (76.5 KB)

Additional information about your setup

Pi 4b. Latest image of octopi downloaded yesterday.

More info, it seems like almost every single one of these sliders works (brightness, saturation, etc.) but just seems like the lens position one or the autofocus buttons above it do nothing:

Still hoping someone can help me with this. If I install the drivers from arducam (which again, kills the streaming apparently), setting the lens position to 5 makes the photos look great.
But then if I reinstall camera-streamer to get the streaming to work again, it defaults back to super fuzzy.

If streaming is working and I go to the webcam/control page and set lens position to 5 and take photos or stream or anything..... nothing sticks. Any ideas?