×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

INDI LibCamera Driver

  • Posts: 74
  • Thank you received: 11

Replied by Anjo on topic INDI LibCamera Driver

OK, I managed to get somewhere. Make the manager a static and don't destroy it.

github.com/indilib/indi-3rdparty/compare...i-3rdparty:libcamera

Then connect and expose and you get this. I'm not sure of the whole approach of having two apps will work, as it's assuming you need two camera objects? I guess it would make more sense to somehow get at the preview buffer for the still app.
2022-12-01T07:10:44: Driver indi_libcamera_ccd: [17:15:09.937989200] [30612]  INFO RPI raspberrypi.cpp:1414 Registered camera /base/soc/i2c0mux/i2c@1/imx290@1a to Unicam device /dev/media4 and ISP device /dev/media0
2022-12-01T07:11:11: Client 9: new arrival from 192.168.0.113:57503 - welcome!
2022-12-01T07:11:16: Client 10: new arrival from 192.168.0.113:57540 - welcome!
2022-12-01T07:11:27: Driver indi_libcamera_ccd: Running without preview window
2022-12-01T07:11:27: Driver indi_libcamera_ccd: Opening camera...
2022-12-01T07:11:27: Driver indi_libcamera_ccd: [17:15:52.782629828] [30611] FATAL IPAManager ipa_manager.cpp:109 Multiple IPAManager objects are not allowed
2022-12-01T07:11:27: Driver indi_libcamera_ccd: Backtrace:
2022-12-01T07:11:27: Driver indi_libcamera_ccd: 
2022-12-01T07:11:27: Driver indi_libcamera_ccd: 
2022-12-01T07:11:27: Driver indi_libcamera_ccd: 
2022-12-01T07:11:27: Driver indi_libcamera_ccd: 
2022-12-01T07:11:27: Driver indi_libcamera_ccd: INDILibCamera::workerExposure(std::atomic<bool> const&, float)+0xe4 (/home/pi/astro/indi-3rdparty/indi-libcamera/indi_libcamera.cpp:190)
2022-12-01T07:11:27: Driver indi_libcamera_ccd: void std::__invoke_impl<void, void (INDILibCamera::*&)(std::atomic<bool> const&, float), INDILibCamera*&, std::atomic<bool> const&, float&>(std::__invoke_memfun_deref, void (INDILibCamera::*&)(std::atomic<bool> const&, float), INDILibCamera*&, std::atomic<bool> const&, float&)+0xd0 (/usr/include/c++/10/bits/invoke.h:73)
2022-12-01T07:11:27: Driver indi_libcamera_ccd: std::__invoke_result<void (INDILibCamera::*&)(std::atomic<bool> const&, float), INDILibCamera*&, std::atomic<bool> const&, float&>::type std::__invoke<void (INDILibCamera::*&)(std::atomic<bool> const&, float), INDILibCamera*&, std::atomic<bool> const&, float&>(void (INDILibCamera::*&)(std::atomic<bool> const&, float), INDILibCamera*&, std::atomic<bool> const&, float&)+0x80 (/usr/include/c++/10/bits/invoke.h:96)
2022-12-01T07:11:27: Driver indi_libcamera_ccd: void std::_Bind<void (INDILibCamera::*(INDILibCamera*, std::_Placeholder<1>, float))(std::atomic<bool> const&, float)>::__call<void, std::atomic<bool> const&, 0u, 1u, 2u>(std::tuple<std::atomic<bool> const&>&&, std::_Index_tuple<0u, 1u, 2u>)+0xc0 (/usr/include/c++/10/functional:418)
2022-12-01T07:11:27: Driver indi_libcamera_ccd: void std::_Bind<void (INDILibCamera::*(INDILibCamera*, std::_Placeholder<1>, float))(std::atomic<bool> const&, float)>::operator()<std::atomic<bool> const&, void>(std::atomic<bool> const&)+0x60 (/usr/include/c++/10/functional:501)
2022-12-01T07:11:27: Driver indi_libcamera_ccd: void std::__invoke_impl<void, std::_Bind<void (INDILibCamera::*(INDILibCamera*, std::_Placeholder<1>, float))(std::atomic<bool> const&, float)>&, std::atomic<bool> const&>(std::__invoke_other, std::_Bind<void (INDILibCamera::*(INDILibCamera*, std::_Placeholder<1>, float))(std::atomic<bool> const&, float)>&, std::atomic<bool> const&)+0x58 (/usr/include/c++/10/bits/invoke.h:60)
2022-12-01T07:11:27: Driver indi_libcamera_ccd: std::enable_if<is_invocable_r_v<void, std::_Bind<void (INDILibCamera::*(INDILibCamera*, std::_Placeholder<1>, float))(std::atomic<bool> const&, float)>&, std::atomic<bool> const&>, void>::type std::__invoke_r<void, std::_Bind<void (INDILibCamera::*(INDILibCamera*, std::_Placeholder<1>, float))(std::atomic<bool> const&, float)>&, std::atomic<bool> const&>(std::_Bind<void (INDILibCamera::*(INDILibCamera*, std::_Placeholder<1>, float))(std::atomic<bool> const&, float)>&, std::atomic<bool> const&)+0x58 (/usr/include/c++/10/bits/invoke.h:116)
2022-12-01T07:11:27: Driver indi_libcamera_ccd: std::_Function_handler<void (std::atomic<bool> const&), std::_Bind<void (INDILibCamera::*(INDILibCamera*, std::_Placeholder<1>, float))(std::atomic<bool> const&, float)> >::_M_invoke(std::_Any_data const&, std::atomic<bool> const&)+0x54 (/usr/include/c++/10/bits/std_function.h:292)
2022-12-01T07:11:27: Driver indi_libcamera_ccd: 
2022-12-01T07:11:27: Driver indi_libcamera_ccd: 
2022-12-01T07:11:27: Driver indi_libcamera_ccd: 
2022-12-01T07:11:27: Driver indi_libcamera_ccd: read EOF
1 year 4 months ago #88685

Please Log in or Create an account to join the conversation.

  • Posts: 4
  • Thank you received: 2

Replied by Tyler Pickett on topic INDI LibCamera Driver

> OK, I managed to get somewhere. Make the manager a static and don't destroy it.
> Then connect and expose and you get this. I'm not sure of the whole approach of having two apps will work, as it's assuming you need two camera objects? I guess it would make more sense to somehow get at the preview buffer for the still app.

Each of those App classes instantiates its own camera and camera manager objects, this is why it keeps crashing. libcamera won't allow either of those classes to have multiple instantiations which is why removing the libcamera-apps dependency is a good idea, possibly necessary.

In other news I put together a little program to extract the parameters available from any attached cameras, here's the output for my HQ camera:
<code>$ LIBCAMERA_LOG_LEVELS=ERROR ./cam_list
Found 1 cameras.1: 'imx477' (/base/soc/i2c0mux/i2c@1/imx477@1a)
ScalerCropMaximum: (0, 0)/0x0
ColorFilterArrangement: 0
PixelArrayActiveAreas: [ (8, 16)/4056x3040 ]
PixelArraySize: 4056x3040
Rotation: 180
Location: 2
UnitCellSize: 1550x1550
Model: imx477
</code>

The code: gist.github.com/tpickett66/7c206bb4f3bdf08f0d3c2df39e1ac817
The following user(s) said Thank You: Simon
Last edit: 1 year 4 months ago by Tyler Pickett. Reason: fixed whitespace
1 year 4 months ago #88687

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic INDI LibCamera Driver

Removing libcamera-apps dependency is a good idea for the long term. I started with it since it was the easiest to do given what it offers, but it complicates the driver in the end.
The following user(s) said Thank You: Tyler Pickett
1 year 4 months ago #88689

Please Log in or Create an account to join the conversation.

  • Posts: 111
  • Thank you received: 33

Replied by Simon on topic INDI LibCamera Driver

Terry, thats great! What about pixel size and binning information? For imx477 value should be 1.55 if I'm correct?
We should get as much information as we can and set it to EKOS.
1 year 4 months ago #88695

Please Log in or Create an account to join the conversation.

  • Posts: 123
  • Thank you received: 13

Replied by Outta on topic INDI LibCamera Driver

That data is there as well, in nanometers:

UnitCellSize: 1550x1550

Convertsto 1.55 um! this is really great, good job Tyler. I was looking for that as well, but i only found other sensor information in other objects.
1 year 4 months ago #88696

Please Log in or Create an account to join the conversation.

  • Posts: 111
  • Thank you received: 33

Replied by Simon on topic INDI LibCamera Driver

ANYO that great! Im just wandering if we should put code from Connect() method to Setup() method. It feels like better place for it.
I would also try to put cameraManager->stop(); inside Disconnect() method.

Jasem, what do you think about that?
Last edit: 1 year 4 months ago by Simon.
1 year 4 months ago #88698

Please Log in or Create an account to join the conversation.

  • Posts: 74
  • Thank you received: 11

Replied by Anjo on topic INDI LibCamera Driver

Actually, I'd just copy the LibCameraApp class over instead and change it to have a public GetManager() and merge the Still and Video. It looks like a lot of work to replicate the whole thing into the indi driver and given not a lot of people interested in this seem to be fluent with c++, it would get results much faster.

In fact, if it was me, I'd have preferred to just have it call out to a new process of libcamera-still/video and plug the result into the indi workflow. It would also be way more helpful for other cam types. You could use the same modus operandi for python based cams, raspicams, webcams and the like.

I found this project:

github.com/MMTObservatory/pyINDI

which seems to work with indi, but doesn't have a working CCD driver. You'd need to know what properties actually make a CCD and how it should behave. The core indi CCD does already know this.
1 year 4 months ago #88699

Please Log in or Create an account to join the conversation.

  • Posts: 74
  • Thank you received: 11

Replied by Anjo on topic INDI LibCamera Driver

Something like this:

github.com/indilib/indi-3rdparty/compare...i-3rdparty:libcamera

Cloning, patching and accessing the cameraManager via only the LibcameraApp allows you to actually take a pic. It still doesn't work as I get:

2022-12-01T16:13:22: [ERROR] Error saving image: unsupported Bayer format

but other than that, things should more or less work.

Here's the instructions: github.com/indilib/indi-3rdparty/compare...6620ca90189bd9b7df3d
Last edit: 1 year 4 months ago by Anjo.
1 year 4 months ago #88701

Please Log in or Create an account to join the conversation.

  • Posts: 74
  • Thank you received: 11

Replied by Anjo on topic INDI LibCamera Driver

Is there a std:argv(&argc, char *) or something to parse an argument line like the shell would and give you back the argc and argv?

If so, it would be really easy to set up config strings from kstars (if a bit cumbersome as you'd need to know the options). But it would speed up getting the while thing to work as it'd be the same you'd use in the shell.
Last edit: 1 year 4 months ago by Anjo.
1 year 4 months ago #88702

Please Log in or Create an account to join the conversation.

  • Posts: 74
  • Thank you received: 11

Replied by Anjo on topic INDI LibCamera Driver

Actually... the LibCameraRaw is a LibCameraEncoder, so one could not use the LibCameraStill in favor of that and get the Video options too? Then there would only be one instance of the app running.
1 year 4 months ago #88703

Please Log in or Create an account to join the conversation.

  • Posts: 111
  • Thank you received: 33

Replied by Simon on topic INDI LibCamera Driver

ANJO I see your knowledge of C++ and Linux workflow exedes mine by far.

Yes, I remember that I read somewhere in libcamera docs that libcamera-raw can record video and single images.
libcamera-raw -t 1000 --ev -10 --awbgains 1.0,1.0 --gain 1.0 --analoggain 1.0 --sharpness 2.0 --denoise off --rawfull 1 --flush 1 --shutter 9000 --mode 4056:3040:12:P -o test%05d.raw --segment 1

If you have the knowlwdge of how to operate with those single raw frames, that would be total win.

Here is a little code snippet for getting resolution and pixel size from camera->properties(). You can use it inside Connect() method instead hardcoded values:
const ControlList props = cameraManager->cameras()[0]->properties();
 
auto pas = props.get(properties::PixelArraySize);
PrimaryCCD.setResolution(pas->width, pas->height);
LOGF_INFO("PixelArraySize %i x %i", pas->width, pas->height);
 
auto ucs = props.get(properties::UnitCellSize);
auto ucsWidth = ucs->width / 1000.0;
auto ucsHeight = ucs->height / 1000.0;
PrimaryCCD.setPixelSize(ucsWidth, ucsHeight);
LOGF_INFO("UnitCellSize %f x %f", ucsWidth, ucsHeight);
The following user(s) said Thank You: Anjo
Last edit: 1 year 4 months ago by Simon.
1 year 4 months ago #88704

Please Log in or Create an account to join the conversation.

  • Posts: 111
  • Thank you received: 33

Replied by Simon on topic INDI LibCamera Driver

ANJO and Jasem, please help me with this one.
How can one attach debugger to KSTARS to acctually be able to stop execution at break point?
Do you even attach to KSTARS or do you send commands to EKOS from commandline or something like that?

I'm really struggling by that because I'm not able to debug EKOS actions.
And yes I followed Jasem's tutorial and I did set Additional Startup Commands in GDB.
set follow-fork-mode child
handle SIG33 noprint nostop
handle SIGCONT noprint nostop

Here is the log from the point that I'm pressing start EKOS arrow till I press exposure icon in Camera tab inside EKOS.
[2022-12-01T18:56:37.056 UTC DEBG ][           org.kde.kstars.ekos] - Resetting Ekos Manager...
[2022-12-01T18:56:37.166 UTC INFO ][           org.kde.kstars.ekos] - "Starting INDI services..."
[2022-12-01T18:56:37.172 UTC DEBG ][           org.kde.kstars.indi] - INDI: Starting local drivers...
[2022-12-01T18:56:37.173 UTC DEBG ][           org.kde.kstars.indi] - Starting INDI Server:  ("-v", "-p", "7624", "-m", "1024", "-r", "0", "-f", "/tmp/indififo546a838e") -f "/tmp/indififo546a838e"
[2022-12-01T18:56:37.204 UTC DEBG ][           org.kde.kstars.indi] - INDI: INDI Server started locally on port  7624
[2022-12-01T18:56:37.208 UTC DEBG ][           org.kde.kstars.indi] - INDI Server Started?  true
[2022-12-01T18:56:37.209 UTC DEBG ][           org.kde.kstars.indi] - Starting INDI Driver "indi_libcamera_ccd"
[2022-12-01T18:56:37.217 UTC DEBG ][           org.kde.kstars.indi] - Adding managed driver "LibCamera"
[2022-12-01T18:56:37.218 UTC DEBG ][           org.kde.kstars.indi] - INDIListener: Adding a new client manager to INDI listener..
[2022-12-01T18:56:37.219 UTC DEBG ][           org.kde.kstars.indi] - INDI: Connecting to local INDI server on port  7624  ...
[2022-12-01T18:56:37.223 UTC DEBG ][           org.kde.kstars.indi] - INDI server connected.
[2022-12-01T18:56:37.224 UTC INFO ][           org.kde.kstars.ekos] - "INDI services started on port 7,624."
[2022-12-01T18:56:37.268 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:37: startup: /usr/bin/indiserver -v -p 7624 -m 1024 -r 0 -f /tmp/indififo546a838e"
[2022-12-01T18:56:37.269 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:37: listening to port 7624 on fd 5"
[2022-12-01T18:56:37.269 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:37: Local server: listening on local domain at: @/tmp/indiserver"
[2022-12-01T18:56:37.270 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:37: FIFO: start indi_libcamera_ccd -n \"LibCamera\""
[2022-12-01T18:56:37.272 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:37: With name: LibCamera"
[2022-12-01T18:56:37.272 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:37: FIFO: Starting driver indi_libcamera_ccd"
[2022-12-01T18:56:37.272 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:37: Driver indi_libcamera_ccd: pid=17198 rfd=9 wfd=9 efd=10"
[2022-12-01T18:56:37.273 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:37: Client 8: new arrival from 127.0.0.1:54180 - welcome!"
[2022-12-01T18:56:37.273 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2022-12-01T18:56:37.390 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:37: Driver indi_libcamera_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD"
[2022-12-01T18:56:37.391 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:37: Driver indi_libcamera_ccd: snooping on Telescope Simulator.EQUATORIAL_COORD"
[2022-12-01T18:56:37.391 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:37: Driver indi_libcamera_ccd: snooping on Telescope Simulator.TELESCOPE_INFO"
[2022-12-01T18:56:37.393 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:37: Driver indi_libcamera_ccd: snooping on Telescope Simulator.GEOGRAPHIC_COORD"
[2022-12-01T18:56:37.394 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:37: Driver indi_libcamera_ccd: snooping on Telescope Simulator.TELESCOPE_PIER_SIDE"
[2022-12-01T18:56:37.394 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:37: Driver indi_libcamera_ccd: snooping on Rotator Simulator.ABS_ROTATOR_ANGLE"
[2022-12-01T18:56:37.394 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:37: Driver indi_libcamera_ccd: snooping on Focuser Simulator.ABS_FOCUS_POSITION"
[2022-12-01T18:56:37.395 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:37: Driver indi_libcamera_ccd: snooping on Focuser Simulator.FOCUS_TEMPERATURE"
[2022-12-01T18:56:37.395 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:37: Driver indi_libcamera_ccd: snooping on CCD Simulator.FILTER_SLOT"
[2022-12-01T18:56:37.395 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:37: Driver indi_libcamera_ccd: snooping on CCD Simulator.FILTER_NAME"
[2022-12-01T18:56:37.395 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:37: Driver indi_libcamera_ccd: snooping on SQM.SKY_QUALITY"
[2022-12-01T18:56:37.395 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:37: Driver indi_libcamera_ccd: [36:21:57.287289614] [17198] \u001B[1;32m INFO \u001B[1;37mCamera \u001B[1;34mcamera_manager.cpp:299 \u001B[0mlibcamera v0.0.1"
[2022-12-01T18:56:37.395 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2022-12-01T18:56:37.491 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:37: Driver indi_libcamera_ccd: [36:21:57.402932403] [17201] \u001B[1;32m INFO \u001B[1;37mRPI \u001B[1;34mraspberrypi.cpp:1386 \u001B[0mRegistered camera /base/soc/i2c0mux/i2c@1/imx477@1a to Unicam device /dev/media1 and ISP device /dev/media0"
[2022-12-01T18:56:37.492 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2022-12-01T18:56:37.493 UTC DEBG ][           org.kde.kstars.indi] - Received new device LibCamera
[2022-12-01T18:56:37.505 UTC DEBG ][           org.kde.kstars.indi] - INDIListener: New device "LibCamera"
[2022-12-01T18:56:37.507 UTC INFO ][           org.kde.kstars.ekos] - Ekos received a new device:  "LibCamera"
[2022-12-01T18:56:37.509 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CONNECTION >
[2022-12-01T18:56:37.604 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < DRIVER_INFO >
[2022-12-01T18:56:37.635 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < POLLING_PERIOD >
[2022-12-01T18:56:37.643 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < DEBUG >
[2022-12-01T18:56:37.654 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CONFIG_PROCESS >
[2022-12-01T18:56:37.672 UTC INFO ][           org.kde.kstars.indi] - LibCamera :  "[INFO] Debug is enabled. "
[2022-12-01T18:56:37.672 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < DEBUG_LEVEL >
[2022-12-01T18:56:37.689 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < LOGGING_LEVEL >
[2022-12-01T18:56:37.695 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < LOG_OUTPUT >
[2022-12-01T18:56:37.700 UTC DEBG ][           org.kde.kstars.indi] - LibCamera : "[DEBUG] Toggle Debug Level -- Driver Debug "
[2022-12-01T18:56:37.701 UTC DEBG ][           org.kde.kstars.indi] - LibCamera : "[DEBUG] Toggle Logging Level -- Messages "
[2022-12-01T18:56:37.702 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < ACTIVE_DEVICES >
[2022-12-01T18:56:37.726 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CAMERAS >
[2022-12-01T18:56:37.851 UTC DEBG ][           org.kde.kstars.indi] - LibCamera : "[DEBUG] Toggle Debug Level -- Driver Debug "
[2022-12-01T18:56:38.001 UTC INFO ][           org.kde.kstars.ekos] - Connecting to "LibCamera"
[2022-12-01T18:56:38.012 UTC WARN ][                       default] - QSqlDatabasePrivate::addDatabase: duplicate connection name 'opticaltrains_db', old connection removed.
[2022-12-01T18:56:38.058 UTC INFO ][           org.kde.kstars.indi] - LibCamera :  "[INFO] PixelArraySize 4056 x 3040 "
[2022-12-01T18:56:38.062 UTC INFO ][           org.kde.kstars.indi] - LibCamera :  "[INFO] UnitCellSize 1.550000 x 1.550000 "
[2022-12-01T18:56:38.063 UTC INFO ][           org.kde.kstars.ekos] - "LibCamera" Version: "1.0" Interface: 2 is connected.
[2022-12-01T18:56:38.200 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CCD_EXPOSURE >
[2022-12-01T18:56:38.205 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CCD_ABORT_EXPOSURE >
[2022-12-01T18:56:38.210 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CCD_FRAME >
[2022-12-01T18:56:38.231 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CCD_FRAME_RESET >
[2022-12-01T18:56:38.236 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CCD_BINNING >
[2022-12-01T18:56:38.250 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < FITS_HEADER >
[2022-12-01T18:56:38.259 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CCD_CAPTURE_FORMAT >
[2022-12-01T18:56:38.263 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CCD_TRANSFER_FORMAT >
[2022-12-01T18:56:38.270 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CCD_INFO >
[2022-12-01T18:56:38.293 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CCD_COMPRESSION >
[2022-12-01T18:56:38.302 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CCD1 >
[2022-12-01T18:56:38.310 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CCD_FRAME_TYPE >
[2022-12-01T18:56:38.320 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CCD_CFA >
[2022-12-01T18:56:38.335 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < SCOPE_INFO >
[2022-12-01T18:56:38.347 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < WCS_CONTROL >
[2022-12-01T18:56:38.353 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < UPLOAD_MODE >
[2022-12-01T18:56:38.361 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < UPLOAD_SETTINGS >
[2022-12-01T18:56:38.373 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CCD_FAST_TOGGLE >
[2022-12-01T18:56:38.379 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CCD_FAST_COUNT >
[2022-12-01T18:56:38.384 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CCD_VIDEO_STREAM >
[2022-12-01T18:56:38.392 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < STREAM_DELAY >
[2022-12-01T18:56:38.399 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < STREAMING_EXPOSURE >
[2022-12-01T18:56:38.413 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < FPS >
[2022-12-01T18:56:38.426 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < RECORD_STREAM >
[2022-12-01T18:56:38.436 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < RECORD_FILE >
[2022-12-01T18:56:38.452 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < RECORD_OPTIONS >
[2022-12-01T18:56:38.468 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CCD_STREAM_FRAME >
[2022-12-01T18:56:38.491 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CCD_STREAM_ENCODER >
[2022-12-01T18:56:38.497 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CCD_STREAM_RECORDER >
[2022-12-01T18:56:38.502 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < LIMITS >
[2022-12-01T18:56:38.547 UTC INFO ][           org.kde.kstars.indi] - LibCamera :  "[INFO] Loading device configuration... "
[2022-12-01T18:56:38.549 UTC DEBG ][           org.kde.kstars.indi] - LibCamera : "[DEBUG] Toggle Debug Level -- Driver Debug "
[2022-12-01T18:56:38.549 UTC DEBG ][           org.kde.kstars.indi] - LibCamera : "[DEBUG] Toggle Logging Level -- Messages "
[2022-12-01T18:56:38.550 UTC DEBG ][           org.kde.kstars.indi] - LibCamera : "[DEBUG] Snopping on Mount Telescope Simulator "
[2022-12-01T18:56:38.551 UTC DEBG ][           org.kde.kstars.indi] - LibCamera : "[DEBUG] Snopping on Rotator Rotator Simulator "
[2022-12-01T18:56:38.551 UTC DEBG ][           org.kde.kstars.indi] - LibCamera : "[DEBUG] Snopping on Focuser Focuser Simulator "
[2022-12-01T18:56:38.551 UTC DEBG ][           org.kde.kstars.indi] - LibCamera : "[DEBUG] Snopping on Filter Wheel CCD Simulator "
[2022-12-01T18:56:38.557 UTC INFO ][           org.kde.kstars.indi] - LibCamera :  "[INFO] Upload settings set to client only. "
[2022-12-01T18:56:38.560 UTC DEBG ][           org.kde.kstars.indi] - LibCamera : "[DEBUG] Pixel format 100 is supported by SER recorder. "
[2022-12-01T18:56:38.561 UTC DEBG ][           org.kde.kstars.indi] - LibCamera : "[DEBUG] Pixel format 100 is supported by RAW encoder. "
[2022-12-01T18:56:38.563 UTC DEBG ][           org.kde.kstars.indi] - LibCamera : "[DEBUG] Frame ROI x:0 y:0 w:0 h:0 "
[2022-12-01T18:56:38.564 UTC DEBG ][           org.kde.kstars.indi] - LibCamera : "[DEBUG] Setting frame buffer size to 0 bytes. "
[2022-12-01T18:56:38.567 UTC DEBG ][           org.kde.kstars.indi] - LibCamera : "[DEBUG] Configuration successfully saved for CAMERAS. "
[2022-12-01T18:56:38.574 UTC INFO ][           org.kde.kstars.indi] - LibCamera :  "[INFO] Device configuration applied. "
[2022-12-01T18:56:38.574 UTC DEBG ][           org.kde.kstars.indi] - LibCamera : "[DEBUG] Configuration successfully loaded. "
[2022-12-01T18:56:38.637 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:38: Client 11: new arrival from 127.0.0.1:54186 - welcome!"
[2022-12-01T18:56:38.638 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2022-12-01T18:56:38.815 UTC DEBG ][   org.kde.kstars.ekos.capture] - Registering new Module ( "Mount" )
[2022-12-01T18:56:38.902 UTC INFO ][     org.kde.kstars.ekos.focus] - "Idle."
[2022-12-01T18:56:39.227 UTC INFO ][     org.kde.kstars.ekos.align] - "World Coordinate System (WCS) is enabled."
[2022-12-01T18:56:39.245 UTC INFO ][           org.kde.kstars.ekos] - "LibCamera is online."
[2022-12-01T18:56:39.375 UTC DEBG ][           org.kde.kstars.indi] - LibCamera : "[DEBUG] Requested CCD Frame is (0,0) (4056 x 3040) "
[2022-12-01T18:56:39.376 UTC DEBG ][           org.kde.kstars.indi] - LibCamera : "[DEBUG] Frame ROI x:0 y:0 w:4056 h:3040 "
[2022-12-01T18:56:39.383 UTC DEBG ][           org.kde.kstars.indi] - LibCamera : "[DEBUG] Setting frame buffer size to 12330240 bytes. "
[2022-12-01T18:56:39.402 UTC INFO ][           org.kde.kstars.indi] - LibCamera :  "[INFO] World Coordinate System is enabled. "
[2022-12-01T18:56:39.403 UTC DEBG ][           org.kde.kstars.indi] - < LibCamera >: < CCD_ROTATION >
[2022-12-01T18:56:39.677 UTC INFO ][           org.kde.kstars.ekos] - "LibCamera is online."
[2022-12-01T18:56:43.508 UTC DEBG ][   org.kde.kstars.ekos.capture] - Preparing capture job "/home/stellarmate/Pictures/" for execution.
[2022-12-01T18:56:43.514 UTC INFO ][   org.kde.kstars.ekos.capture] - "Capturing 1.000-second  image..."
[2022-12-01T18:56:43.569 UTC DEBG ][           org.kde.kstars.indi] - Removing device "LibCamera"
[2022-12-01T18:56:43.620 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd: Options:"
[2022-12-01T18:56:43.621 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     verbose: 0"
[2022-12-01T18:56:43.622 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     info_text:"
[2022-12-01T18:56:43.622 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     timeout: 0"
[2022-12-01T18:56:43.623 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     width: 4056"
[2022-12-01T18:56:43.623 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     height: 3040"
[2022-12-01T18:56:43.623 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     output: "
[2022-12-01T18:56:43.623 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     post_process_file: "
[2022-12-01T18:56:43.623 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     rawfull: 0"
[2022-12-01T18:56:43.623 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     preview: none"
[2022-12-01T18:56:43.624 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     qt-preview: 0"
[2022-12-01T18:56:43.624 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     transform: identity"
[2022-12-01T18:56:43.624 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     roi: all"
[2022-12-01T18:56:43.625 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     metering: "
[2022-12-01T18:56:43.625 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     exposure: "
[2022-12-01T18:56:43.625 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     ev: 0"
[2022-12-01T18:56:43.625 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     awb: "
[2022-12-01T18:56:43.625 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     flush: false"
[2022-12-01T18:56:43.626 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     wrap: 0"
[2022-12-01T18:56:43.626 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     brightness: 0"
[2022-12-01T18:56:43.626 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     contrast: 0"
[2022-12-01T18:56:43.626 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     saturation: 0"
[2022-12-01T18:56:43.626 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     sharpness: 0"
[2022-12-01T18:56:43.626 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     framerate: 30"
[2022-12-01T18:56:43.626 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     denoise: "
[2022-12-01T18:56:43.626 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     viewfinder-width: 0"
[2022-12-01T18:56:43.627 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     viewfinder-height: 0"
[2022-12-01T18:56:43.627 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     tuning-file: "
[2022-12-01T18:56:43.627 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     lores-width: 0"
[2022-12-01T18:56:43.627 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     lores-height: 0"
[2022-12-01T18:56:43.627 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     mode: unspecified"
[2022-12-01T18:56:43.627 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     viewfinder-mode: unspecified"
[2022-12-01T18:56:43.628 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd:     metadata: Valid options are"
[2022-12-01T18:56:43.628 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd: read EOF"
[2022-12-01T18:56:43.628 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "<delProperty device=\"LibCamera\"/>"
[2022-12-01T18:56:43.628 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  "2022-12-01T18:56:43: Driver indi_libcamera_ccd: Terminated after #0 restarts."
[2022-12-01T18:56:43.628 UTC DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2022-12-01T18:56:43.629 UTC CRIT ][           org.kde.kstars.indi] - INDI driver  "indi_libcamera_ccd"  crashed!
[2022-12-01T18:56:43.675 UTC DEBG ][           org.kde.kstars.indi] - INDIListener: Removing device "LibCamera"
[2022-12-01T18:56:43.677 UTC INFO ][           org.kde.kstars.ekos] - "LibCamera is offline."
[2022-12-01T18:56:43.680 UTC DEBG ][           org.kde.kstars.indi] - INDI: Stopping local drivers...
[2022-12-01T18:56:43.682 UTC DEBG ][           org.kde.kstars.indi] - Removing managed driver "LibCamera"
[2022-12-01T18:56:43.683 UTC DEBG ][           org.kde.kstars.indi] - INDIListener: Removing client manager for server localhost @ 7624
[2022-12-01T18:56:43.688 UTC DEBG ][           org.kde.kstars.indi] - Stopping INDI Driver  "indi_libcamera_ccd"
[2022-12-01T18:56:43.690 UTC DEBG ][           org.kde.kstars.indi] - Stopping INDI Server  "localhost" @ 7624
[2022-12-01T18:56:43.693 UTC DEBG ][           org.kde.kstars.indi] - INDI server disconnected from BLOB manager for Device: "LibCamera" Property: "CCD1" Exit code: -1
[2022-12-01T18:56:43.693 UTC DEBG ][           org.kde.kstars.ekos] - Resetting Ekos Manager...
[2022-12-01T18:56:43.862 UTC INFO ][           org.kde.kstars.ekos] - "INDI services stopped."
Last edit: 1 year 4 months ago by Simon.
1 year 4 months ago #88705

Please Log in or Create an account to join the conversation.

Time to create page: 1.290 seconds