Simon replied to the topic 'INDI LibCamera Driver' in the forum. 3 days ago

After updating to latest INDI 2.0.0 and KStars 3.6.3 and Stellarmate 1.7.5.

I get this after starting EKOS from KStars:

[2023-02-04T21:48:11.322 CET DEBG ][           org.kde.kstars.indi] - Starting INDI Driver "indi_libcamera_ccd"
[2023-02-04T21:48:11.387 CET DEBG ][           org.kde.kstars.indi] - INDI Server:  "2023-02-04T20:48:11: startup: /usr/bin/indiserver -v -p 7624 -m 1024 -r 0 -f /tmp/indififoc938e0fd"
[2023-02-04T21:48:11.387 CET DEBG ][           org.kde.kstars.indi] - INDI Server:  "2023-02-04T20:48:11: listening to port 7624 on fd 5"
[2023-02-04T21:48:11.387 CET DEBG ][           org.kde.kstars.indi] - INDI Server:  "2023-02-04T20:48:11: Local server: listening on local domain at: @/tmp/indiserver"
[2023-02-04T21:48:11.388 CET DEBG ][           org.kde.kstars.indi] - INDI Server:  "2023-02-04T20:48:11: FIFO: start indi_simulator_telescope -n \"Telescope Simulator\""
[2023-02-04T21:48:11.389 CET DEBG ][           org.kde.kstars.indi] - INDI Server:  "2023-02-04T20:48:11: With name: Telescope Simulator"
[2023-02-04T21:48:11.390 CET DEBG ][           org.kde.kstars.indi] - INDI Server:  "2023-02-04T20:48:11: FIFO: Starting driver indi_simulator_telescope"
[2023-02-04T21:48:11.393 CET DEBG ][           org.kde.kstars.indi] - INDI Server:  "2023-02-04T20:48:11: Driver indi_simulator_telescope: pid=1722 rfd=9 wfd=9 efd=10"
[2023-02-04T21:48:11.395 CET DEBG ][           org.kde.kstars.indi] - INDI Server:  "2023-02-04T20:48:11: Driver indi_simulator_telescope: HaAxis: TrackRate 1, trackingRateDegSec 15.041067 arcsec"
[2023-02-04T21:48:11.395 CET DEBG ][           org.kde.kstars.indi] - INDI Server:  "2023-02-04T20:48:11: Driver indi_simulator_telescope: snooping on GPS Simulator.GEOGRAPHIC_COORD"
[2023-02-04T21:48:11.396 CET DEBG ][           org.kde.kstars.indi] - INDI Server:  "2023-02-04T20:48:11: Driver indi_simulator_telescope: snooping on GPS Simulator.TIME_UTC"
[2023-02-04T21:48:11.398 CET DEBG ][           org.kde.kstars.indi] - INDI Server:  "2023-02-04T20:48:11: Driver indi_simulator_telescope: snooping on Dome Simulator.DOME_PARK"
[2023-02-04T21:48:11.399 CET DEBG ][           org.kde.kstars.indi] - INDI Server:  "2023-02-04T20:48:11: Driver indi_simulator_telescope: snooping on Dome Simulator.DOME_SHUTTER"
[2023-02-04T21:48:11.400 CET DEBG ][           org.kde.kstars.indi] - INDI Server:  "2023-02-04T20:48:11: FIFO: start indi_libcamera_ccd -n \"LibCamera\""
[2023-02-04T21:48:11.402 CET DEBG ][           org.kde.kstars.indi] - INDI Server:  "2023-02-04T20:48:11: With name: LibCamera"
[2023-02-04T21:48:11.402 CET DEBG ][           org.kde.kstars.indi] - INDI Server:  "2023-02-04T20:48:11: FIFO: Starting driver indi_libcamera_ccd"
[2023-02-04T21:48:11.403 CET DEBG ][           org.kde.kstars.indi] - INDI Server:  "2023-02-04T20:48:11: Driver indi_libcamera_ccd: pid=1723 rfd=11 wfd=11 efd=12"
[2023-02-04T21:48:11.403 CET DEBG ][           org.kde.kstars.indi] - INDI Server:  "2023-02-04T20:48:11: Driver indi_libcamera_ccd: indi_libcamera_ccd: error while loading shared libraries: libindidriver.so.1: cannot open shared object file: No such file or directory"
[2023-02-04T21:48:11.403 CET DEBG ][           org.kde.kstars.indi] - INDI Server:  "2023-02-04T20:48:11: Driver indi_libcamera_ccd: stderr EOF"
[2023-02-04T21:48:11.403 CET DEBG ][           org.kde.kstars.indi] - INDI Server:  "2023-02-04T20:48:11: Driver indi_libcamera_ccd: read: Connection reset by peer"
[2023-02-04T21:48:11.403 CET DEBG ][           org.kde.kstars.indi] - INDI Server:  "2023-02-04T20:48:11: Driver indi_libcamera_ccd: Terminated after #0 restarts."
[2023-02-04T21:48:11.404 CET DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2023-02-04T21:48:11.405 CET CRIT ][           org.kde.kstars.indi] - INDI driver  "indi_libcamera_ccd"  crashed!
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

uname -a
Linux stellarmate 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT 2023 aarch64 GNU/Linux

apt list --installed | grep libcamera

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

indi-libcamera/unknown,now 1.0-stable~202211300958 arm64 [installed]
libcamera-apps/unknown,now 1.0-stable~202211161401 arm64 [installed]
libcamera-tools/unknown,now 1.0-stable~202211161314 arm64 [installed]
libcamera0/unknown,now 1.0-stable~202211161314 arm64 [installed,automatic]
python3-libcamera/unknown,now 1.0-stable~202211161314 arm64 [installed,automatic]


Read More...

There is new version 1.0.3 available!

Changes are:
Fixed language change (window must be closed to changes take effect)
UI tweaks for easier side by side positioning
App remember it's state after closing and load that state on start
Check for update when application starts

github.com/sajmons/CollimationCircles/releases

Read More...

Simon replied to the topic 'Collimation Circles' in the forum. 2 weeks ago

Here is my 5 cents. I have made this application Collimation Circles and I hope you will find it useful:

github.com/sajmons/CollimationCircles

Read More...

Simon replied to the topic 'INDI LibCamera Driver' in the forum. 3 weeks ago

@Anjo, what is your line for libcamera version say when you start EKOS?

2023-01-16T14:12:39: Driver indi_libcamera_ccd: [0:16:03.207523515] [3440]  INFO Camera camera_manager.cpp:299 libcamera v0.0.1
GitHub version of libcamera is v0.0.3, mine is still v0.0.1. How do I switch to newer?

Read More...

Simon replied to the topic 'INDI LibCamera Driver' in the forum. 4 weeks ago

Great Python app for testing capabilities of your camera using Libcamera:
github.com/raspberrypi/picamera2/blob/main/apps/app_full.py

Read More...

Simon replied to the topic 'INDI LibCamera Driver' in the forum. 4 weeks ago

I'm testing new indi_libcamera_ccd driver.
Is it normal that I get two welcome messages in LOG when I start EKOS from KStars with arrow button?

2023-01-11T09:01:01: Client 9: new arrival from 127.0.0.1:43488 - welcome!
2023-01-11T09:01:02: Client 10: new arrival from 127.0.0.1:43494 - welcome!

I'm wandering if this is somehow related to this error message and driver crash when I press "Capture a preview" button on EKOS/CCD tab?
2023-01-11T09:01:10: Driver indi_libcamera_ccd: [0:47:13.714290735] [4642] FATAL IPAManager ipa_manager.cpp:109 Multiple IPAManager objects are not allowed

I can't get pass this error no mater what I try :(.

@Anjo, @OUTTA, is "Capture a preview" in EKOS working for you?

Read More...

Simon replied to the topic 'Raspberry Pi camera does not connect' in the forum. 1 month ago

Yes, entire storry with HQ Camer asupport on Stellarmate is very confusing if not missleding.

I to bought Stellarmate in belive that it support HQ Camera. Since then struggling with it and my HQ Camera with no luck. But there is hope at the end of the tunnel.

There are two versions os Stellarmate, 32 bit (buster, no longer supported) and 64bit (bullseye, supported).

32 bit version kinda supported HQ Camera witn indi-rpicam driver, but that driver was very buggy and long exposures didn't worked at all. See this: github.com/indilib/indi-3rdparty/issues/271

64 bit version support for HQ Camera (with libcamera library) will be ready when drivers for it are tested and finished.
Curently there are two drivers in the works:
- indilib.org/forum/ccds-dslrs/12177-indi-libcamera-driver.html
- github.com/scriptorron/indi_pylibcamera

So our best hope is to support authors of both drivers as much as we can with testing and moral support.

@Jasem if you are reading this, please see this github.com/scriptorron/indi_pylibcamera/issues and this github.com/raspberrypi/picamera2/issues/502

Read More...

I have encountered to strange issue while trying to use indi_pylibcamera driver on my fresh instalation of Stellarmate 64bit.

It seams that error is only Stellarmate 64bit related. Error does not happen on Raspberry Pi 4 with 64bit Raspbian.

More information here:
github.com/scriptorron/indi_pylibcamera/issues/1

It would be great if someone from Stellarmate team can look at it.
Thanks!

Read More...

Simon replied to the topic 'INDI LibCamera Driver' in the forum. 1 month ago

It seems fine, although default resolution is still max - 1937x1097 and that results in failure, despite device detecting correct frame ROI of 1920x1080:

That's strange on my imx477 it returns correct values 4056 x 3040.

Read More...

Simon replied to the topic 'INDI LibCamera Driver' in the forum. 1 month ago


I guess FATAL IPAManager ipa_manager.cpp:109 Multiple IPAManager objects are not allowed crash is only related to 64 bit systems?
Could it be a libcamera bug?

Read More...

Simon replied to the topic 'INDI LibCamera Driver' in the forum. 1 month ago

@Anjo, I have made little change in your branch, INDILibCamera::Connect() method to get sensor size and pixel size from camera.

github.com/anjok/indi-3rdparty/commit/81...d060da020aafb068a482

It works on my imx477, can you see if it works for you too?

Read More...

Simon replied to the topic 'INDI LibCamera Driver' in the forum. 1 month ago

When I attach KStars/Ekos to my indiserver driver works, but when I press capture button it crashes:

indiserver -v indi_libcamera_ccd 
2023-01-04T06:16:47: startup: indiserver -v indi_libcamera_ccd
2023-01-04T06:16:47: Driver indi_libcamera_ccd: pid=4933 rfd=6 wfd=6 efd=7
2023-01-04T06:16:47: listening to port 7624 on fd 5
2023-01-04T06:16:47: Local server: listening on local domain at: @/tmp/indiserver
2023-01-04T06:16:48: Driver indi_libcamera_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD
2023-01-04T06:16:48: Driver indi_libcamera_ccd: snooping on Telescope Simulator.EQUATORIAL_COORD
2023-01-04T06:16:48: Driver indi_libcamera_ccd: snooping on Telescope Simulator.TELESCOPE_INFO
2023-01-04T06:16:48: Driver indi_libcamera_ccd: snooping on Telescope Simulator.GEOGRAPHIC_COORD
2023-01-04T06:16:48: Driver indi_libcamera_ccd: snooping on Telescope Simulator.TELESCOPE_PIER_SIDE
2023-01-04T06:16:48: Driver indi_libcamera_ccd: snooping on Rotator Simulator.ABS_ROTATOR_ANGLE
2023-01-04T06:16:48: Driver indi_libcamera_ccd: snooping on Focuser Simulator.ABS_FOCUS_POSITION
2023-01-04T06:16:48: Driver indi_libcamera_ccd: snooping on Focuser Simulator.FOCUS_TEMPERATURE
2023-01-04T06:16:48: Driver indi_libcamera_ccd: snooping on CCD Simulator.FILTER_SLOT
2023-01-04T06:16:48: Driver indi_libcamera_ccd: [19:03:09.181523222] [4933]  INFO Camera camera_manager.cpp:299 libcamera v0.0.1
2023-01-04T06:16:48: Driver indi_libcamera_ccd: snooping on CCD Simulator.FILTER_NAME
2023-01-04T06:16:48: Driver indi_libcamera_ccd: snooping on SQM.SKY_QUALITY
2023-01-04T06:16:48: Driver indi_libcamera_ccd: [19:03:09.262540175] [4937]  INFO RPI raspberrypi.cpp:1386 Registered camera /base/soc/i2c0mux/i2c@1/imx477@1a to Unicam device /dev/media3 and ISP device /dev/media0
2023-01-04T06:17:04: Client 9: new arrival from 127.0.0.1:53984 - welcome!
2023-01-04T06:17:05: Client 10: new arrival from 127.0.0.1:53986 - welcome!
2023-01-04T06:17:38: Driver indi_libcamera_ccd: Running without preview window
2023-01-04T06:17:38: Driver indi_libcamera_ccd: Opening camera...
2023-01-04T06:17:38: Driver indi_libcamera_ccd: [19:03:58.505618538] [4935] FATAL IPAManager ipa_manager.cpp:109 Multiple IPAManager objects are not allowed
2023-01-04T06:17:38: Driver indi_libcamera_ccd: Backtrace:
2023-01-04T06:17:38: Driver indi_libcamera_ccd: 
2023-01-04T06:17:38: Driver indi_libcamera_ccd: read EOF
<delProperty device="LibCamera"/>
2023-01-04T06:17:38: Driver indi_libcamera_ccd: restart #0
2023-01-04T06:17:38: Driver indi_libcamera_ccd: pid=4954 rfd=7 wfd=7 efd=11
2023-01-04T06:17:38: Client 9: read EOF
2023-01-04T06:17:38: Client 9: shut down complete - bye!
2023-01-04T06:17:38: Client 10: read EOF
2023-01-04T06:17:38: Client 10: shut down complete - bye!
2023-01-04T06:17:38: Driver indi_libcamera_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD
2023-01-04T06:17:38: Driver indi_libcamera_ccd: snooping on Telescope Simulator.EQUATORIAL_COORD
2023-01-04T06:17:38: Driver indi_libcamera_ccd: snooping on Telescope Simulator.TELESCOPE_INFO
2023-01-04T06:17:38: Driver indi_libcamera_ccd: snooping on Telescope Simulator.GEOGRAPHIC_COORD
2023-01-04T06:17:38: Driver indi_libcamera_ccd: snooping on Telescope Simulator.TELESCOPE_PIER_SIDE
2023-01-04T06:17:38: Driver indi_libcamera_ccd: snooping on Rotator Simulator.ABS_ROTATOR_ANGLE
2023-01-04T06:17:38: Driver indi_libcamera_ccd: snooping on Focuser Simulator.ABS_FOCUS_POSITION
2023-01-04T06:17:38: Driver indi_libcamera_ccd: snooping on Focuser Simulator.FOCUS_TEMPERATURE
2023-01-04T06:17:38: Driver indi_libcamera_ccd: snooping on CCD Simulator.FILTER_SLOT
2023-01-04T06:17:38: Driver indi_libcamera_ccd: snooping on CCD Simulator.FILTER_NAME
2023-01-04T06:17:38: Driver indi_libcamera_ccd: snooping on SQM.SKY_QUALITY
2023-01-04T06:17:38: Driver indi_libcamera_ccd: [19:03:59.105795000] [4954]  INFO Camera camera_manager.cpp:299 libcamera v0.0.1
2023-01-04T06:17:38: Driver indi_libcamera_ccd: [19:03:59.172564166] [4956]  INFO RPI raspberrypi.cpp:1386 Registered camera /base/soc/i2c0mux/i2c@1/imx477@1a to Unicam device /dev/media3 and ISP device /dev/media0
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

uname -a
Linux stellarmate 5.15.76-v8+ #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022 aarch64 GNU/Linux

I'm using 64bit Stellarmate OS that is based on Bullseye.
@Anjo, @OUTTA, what OS version are you to using? Also my "Main control" tab is showing a lot less parameters than yours.

Read More...