×

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

Bi-monthly release with minor bug fixes and improvements

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
5 years 1 month ago #35616
Attachments:

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

  • Posts: 983
  • Thank you received: 375
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.
The following user(s) said Thank You: robert
5 years 1 month 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.
The following user(s) said Thank You: Radek Kaczorek
5 years 1 month 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
5 years 3 weeks ago #36883

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

Any idea why these settings would help?
5 years 3 weeks 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
5 years 3 weeks ago #36933

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

Moderators: Radek Kaczorek
Time to create page: 0.481 seconds