×

INDI Library v1.9.1 Released (26 Jun 2021)

Bi-monthly INDI Library v1.9.1 is released bringing a few new drivers and improvements to existing drivers.

kstars/ekos crashes when running indi v4l2 webcam

  • Posts: 15
  • Thank you received: 3
I have the following setup all on a powered USB hub attached to a RPi3mb+ running the latest updates (just did an apt-get update and running the 1.7.6:
heq5 Serial to USB
canon 6dmII
logitech 905 webcam attached to the 9x50 finderscope.

RPi3 is attached to my local wifi network and i control it using VNC.

I consistently have issues with webcam. it either stops responding, cannot reconnect after i try to disconnect from the indi server dialog.
(I even tried to run KStars remotely and indi only on the RPi but even on my Wintel kstars is crashing after some seconds of looping in guide.)

At first boot i get the internal guider to loop for a while but then after few sec up to few minutes i have errors on the V4l2 input (stream or capture). it often ends up with Kstars crashing completely. I then need to restart ilocal indi server is still running.

i am attaching latest log file

PLease I need help!.

File Attachment:

File Name: log_16-15-16.txt
File Size:437 KB
2 years 4 months ago #35616
Attachments:

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

  • Posts: 960
  • Thank you received: 365
I see your indi_v4l2_ccd driver throws a lot of input/output errors e.g.
Driver indi_v4l2_ccd: VIDIOC_S_CTRL error 5, Input/output error
Driver indi_v4l2_ccd: VIDIOC_S_FMT error 5, Input/output error

Finally it crashes after:
Driver indi_v4l2_ccd: *** Error in `': double free or corruption (fasttop): 0x019d1988 ***

This issue must be looked into by the maintainer - Jasem aka @knro. I will not be able to help much.
--
Radek Kaczorek
Astroberry Server | NEQ6 | Atik 460EX | Atik EFW2 | ASI 120MM
The following user(s) said Thank You: robert
2 years 4 months ago #35662

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

I encountered before some memory issues in the driver, but they were difficult to pin down. I will try later today to see if I can reproduce this issue and then valgrind it.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You: Radek Kaczorek
2 years 4 months ago #35945

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

  • Posts: 15
  • Thank you received: 3
after some thinkering i have a more stable situation:
- I guide with PHD2
-i changed added to the /usr/boot/conf.txt
dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x3
2 years 4 months ago #36883

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

Any idea why these settings would help?
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
2 years 4 months ago #36917

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

  • Posts: 15
  • Thank you received: 3
Honestly i did not look into it much but found a post that mentioned it solved issues of connectivity with USB/Webcams.
which seems to match my own behaviour where it works fine to start with and then cannot find the device on the port.
www.raspberrypi.org/forums/viewtopic.php?t=197089
2 years 4 months ago #36933

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

Moderators: Radek Kaczorek
Time to create page: 0.462 seconds