View Issue Details

IDProjectCategoryView StatusLast Update
0001975SkyChart1-Softwarepublic18-11-12 10:12
ReporterJacques MontierAssigned ToPatrick Chevalley 
PrioritynormalSeveritymajorReproducibilityalways
Status assignedResolutionopen 
PlatformLinux 64 bitsOSLinux Mint 19OS Version19
Product Version 
Target Version4.2Fixed in Version 
Summary0001975: Problem with skychart 4.1, indi driver and 10 micron mount
DescriptionHello,

I used to connect skychart to a 10 micron mount via the ethernet IP address of the mount (10.0.0.80).
No problem with skychart 4.0 and old LX200 obsolete driver.
With Skychart 4.1 i have to use indi driver indi_LX200_10micron (images attached).
I can connect the mount but with difficulty and Skychart uses 100% CPU ; so it is very very low and unusable.
Any idea to resolve this issue ?

Thanks a lot,

Cheers,

Jacques
TagsNo tags attached.

Activities

Jacques Montier

18-08-24 11:22

reporter  

Sélection_023.png (43,054 bytes)
Sélection_023.png (43,054 bytes)
Sélection_021.png (36,185 bytes)
Sélection_021.png (36,185 bytes)
Sélection_022.png (30,771 bytes)
Sélection_022.png (30,771 bytes)

Patrick Chevalley

18-09-18 10:08

administrator   ~0004846

Bonjour Jacques,

I not have this issue with other INDI mount.
I suspect the INDI driver to send too much data to Skychart, for example a position update 100x by seconds.

In version 4.1 you can trace all the INDI protocol to a file. Check "Protocol trace" above the "Connect" button in the CdC INDI connection panel.
This make a file cdc_inditrace.log in your home directory.
Let it run until you see this 100% cpu and click the "Disconnect" button.
zip and upload the file here.

Jacques Montier

18-09-25 10:54

reporter   ~0004885

Bonjour Patrick,

Thanks for your answer.
So i tried again the last version of CdC with the indi 10micron driver and the Protocol trace checked.
I launched the indi driver via indistarter, then i connect the mount with the Connect button.
Connection seemed to work (it changed from red to green), but nothing happened ; mount did not move.
So i opened the indi gui panel and saw that the mount was not connected.
After connecting the mount, evereything begins to freeze as CPU increased to 100%, so i had to kill Skychart.
Here is the attached file cdc_initrace.log.
I hope that will help you.

Cheers,

Jacques

cdc_log.zip (8,514 bytes)

Patrick Chevalley

18-09-29 17:15

administrator   ~0004911

Merci Jacques,

It look like CdC get flooded by properties define send ever and ever by the driver. This is not normal but I need to protect CdC again that.

I try to reproduce using the driver indi_lx200_10micron in simulation mode but in this case it only send the define once.

I prefer to solve this first issue before you make more testing.

Patrick Chevalley

18-10-01 10:09

administrator   ~0004915

Jacques,

Can you try with today beta version available from :
https://sourceforge.net/projects/skychart/files/0-beta/

Activate the trace and try to connect the mount.
Now it produce 3 files cdc_indi*.log , please zip this 3 files and upload here.

Jacques Montier

18-10-31 17:22

reporter   ~0005020

Hello Patrick,

I tried connecting the 10micron via indi driver with skychart 4.1.1 beta-3801-5485638.
After loading indi_10midron driver with indistarter-1.30, CPU is still 100% used even when CdC is stopped.
Here are the attached logs
PS : loading the indi driver, connecting the 10micron mount and moving it works fine with kstars

Cheers,

log.zip (6,843 bytes)

Patrick Chevalley

18-11-06 10:53

administrator   ~0005045

Hello Jacques,

I try to interpret your logs but this is a bit difficult to interpret because nothing is really wrong except we no receive any message from the driver after a last message that give the mount firmware version.
The only strange point is the firmware date: "Firmware Date">32517-00-1829453241T
But this message is totally ignored by CdC so this not hurt.

After that there is 47 seconds of wait before you ask the telescope to slew. So at this time CdC was still responsive?
Anyway the Send message is printed, this meant the CdC Indi receive loop was still working but we really not receive anything from the server.

You also say the CPU was still 100% after you close CDC?
Can you use the top command in a terminal to see what process is responsible for that?

Jacques Montier

18-11-10 12:22

reporter   ~0005049

Hello Patrick,

New tests with Skychart and indi_lx200_10micron.
You can download the log.zip file here : https://drive.google.com/open?id=1PJDUZcR1qW6g3GQXQVq6hZp9ZSFNjymz
I added some description of the issue in the rapport.pdf.

Cheers

Jacques

Patrick Chevalley

18-11-12 10:12

administrator   ~0005057

This is very strange, the indi driver go in loop at 100% cpu after connection and after it define the PRODUCT_INFO property. At this moment it not send anything more to CdC.

A point to check is the drivers default options. Maybe some option required for the driver are not loaded correctly.
Can you try the following:
- start the server using Indistarter
- when it go green, click the "INDI client" button in Indistarter
- open the telescope tab, then Options tab.
- on the line Configuration, click Load button
- start Skychart and connect the telescope

Issue History

Date Modified Username Field Change
18-08-24 11:22 Jacques Montier New Issue
18-08-24 11:22 Jacques Montier File Added: Sélection_023.png
18-08-24 11:22 Jacques Montier File Added: Sélection_022.png
18-08-24 11:22 Jacques Montier File Added: Sélection_021.png
18-09-18 10:08 Patrick Chevalley Assigned To => Patrick Chevalley
18-09-18 10:08 Patrick Chevalley Status new => feedback
18-09-18 10:08 Patrick Chevalley Target Version => 4.2
18-09-18 10:08 Patrick Chevalley Note Added: 0004846
18-09-25 10:39 Jacques Montier Status feedback => assigned
18-09-25 10:54 Jacques Montier File Added: cdc_log.zip
18-09-25 10:54 Jacques Montier Note Added: 0004885
18-09-29 17:15 Patrick Chevalley Note Added: 0004911
18-10-01 10:09 Patrick Chevalley Status assigned => feedback
18-10-01 10:09 Patrick Chevalley Note Added: 0004915
18-10-31 17:22 Jacques Montier File Added: log.zip
18-10-31 17:22 Jacques Montier Note Added: 0005020
18-10-31 17:22 Jacques Montier Status feedback => assigned
18-11-06 10:53 Patrick Chevalley Status assigned => feedback
18-11-06 10:53 Patrick Chevalley Note Added: 0005045
18-11-10 12:22 Jacques Montier Note Added: 0005049
18-11-10 12:22 Jacques Montier Status feedback => assigned
18-11-12 10:12 Patrick Chevalley Note Added: 0005057