Hello, I mean from the connect dialog, in the INDI settings. (see the screenshot...)


You can try not using streaming on phd2 settings, it works differently and may not be affected by the problem...


Hi !

I can confirm the asi driver will generate these reset messages in kernel logs, probably for every exposure, and that is totally armless. So it's probably not the cause or a symptom of your problem !
You should try without any hub...


A bit of topic, but you could probably detect focuser slips using a usb microscope. It gives enough resolution for 10 micron moves, probably lower, for 20$.
I would bet your setup already includes a raspberry pi to automate that :-)


This comes from zwo sdk that imposes capture size being a multiple of 8, which is not the case for the binned full frame.
For phd2, this problem has been solved in latest builds: It now accomodates to the resolution change when using dark lib


For mobindi, I set up a dedicated connection for blobs - to avoid interleaving them with other small & important messages, and never had that issue. Never tried with two sensor ccd though


The following project shows a solution for macos and bsd compatibility :



Hi all !

Here is a proposal to improve indilib imaging perfs, especially for low end hardware or high bandwith situation.

Indi currently transfer blob data (images/streams) by sending base64 encoded data over TCP socket channel.

While being very straightforward and easy to implement, this approach implies lots of data copy.

The idea here is to allow processes using INDI on the same system to share data buffers (blobs) instead of copying data from process to process.

The expected benefits are ZERO copy buffer sharing, meaning higher sustainable
bandwidth and lower latency (up to 7.6x less memory bandwidth would be required for driver/server/client setup)

Technically, a new socket would be made available by indiserver : a UNIX domain datagram oriented.

The payloads of the protocol would stay the same (every dgram is a xml packet), only blobs related event must pass data as attached buffer.
Switching to datagram simplifies lots of thing on server (mainly no buffering required for write/read)

The syscalls: memfd_create and sendmsg with ancillary data are used to exchange data buffers along with messages.
(This is limited to LINUX platform. MACOSX seems to lack support for memfd_create. local socket would be pointless here)

The indiserver would still be compatible with current tcp/xml protocol (listening on tcp), and can convert from shared buffer to inline base64 blob when remote connection is involved.

We could eventually force compression or even downsampling in indiserver, for only remote connections (for wifi connection with limited bandwidth).

On the lib side, we could keep the current blob method for compatibility, but introduce new methods that
handle data hidden behind a new class "SharedBuffer", and that just translate it back and forth to compatibility methods by default.

Overloading the new methods in a client would get access to the "SharedBuffer" object and zero copy option.
Event unmodified client would benefit from the change, since inter-process exchanged would be done with zero copy.

On the driver side, drivers would receive a connected unix socket from indi server.
They should be updated to allocate/free shareable buffers (ie use the new API), to avoid more data copy.
However, this can be a progressive process.

I could eventually work on this on some spare time if it ends up being interesting and doable.
I already implemented something similar for Mobindi (for sharing preview buffers) and found it very straightforward.

But first, I would like your feedback on interest and feasibility !


For reference:
My own work with memfd: github.com/pludov/mobindi/tree/memfd (see last commits)
A very usefull example: github.com/a-darwish/memfd-examples


You now need to have indi headers installed (package libindi-dev if you did not compile indi from sources)


Time for another new version of Mobindi !

The two most important changes are:

  • Notification of various progress and errors, using native phone notification. You get a SMS like popup when something fail, ...
  • Improved integration of Open PHD Guiding. You can now view live PHD image on the phone screen and optionally select guide star from here.

As usual, details are on github.com/pludov/mobindi !