imx477.dpc_enable=0 – or: The Starkiller – Killer

After installing indi-allsky, you can make almost every setting via the user interface. However, there is one tweak that I made directly in the Raspberry Pi OS via the console. I run this under “Starkiller-Killer” – without any reference to Star Wars: The libcamera framework, which enables the Raspberry Pi HQ camera to be controlled, sometimes “kills” smaller stars because it thinks they are pixel errors in the camera sensor. And this is how it works:

With the command…

cat /sys/module/imx477/parameters/dpc_enable

you can call up whether DPC (Density peaks clustering) is activated. The command spits out a “1” if DPC is activated. imx477 is the image sensor of your Raspberry Pi High Quality Camera.

To deactivate this function, you have to edit the file /boot/firmware/cmdline.txt. In older manuals and on older systems you will find the path /boot/cmdline.txt – but this is no longer correct on a Raspberry Pi 5 with the current Raspberry OS. You can edit the file with the text editor “nano”, for example:

sudo nano /boot/firmware/cmdline.txt

You add the command

imx477.dpc_enable=0

into this file, save the file and reboot.

Enjoyed this post?

You can support allsky-rodgau.de with a small coffee on BuyMeACoffee.

Buy me a coffee!