Coder Social home page Coder Social logo

Comments (10)

aaronwmorris avatar aaronwmorris commented on June 11, 2024

It looks like the INDI developers changed the gain property in the 2.0.4 release if INDI for SVBony cameras.

Some background on this, the gain setting for INDI cameras is one of two possible settings (assuming they support gain). The latest release of INDI appears to have switched it to the other setting for SVBony cameras. This is the first time this has happened.

Let me work on this tonight.

from indi-allsky.

mattyryu avatar mattyryu commented on June 11, 2024

Awesome, thanks! Let me know if I can provide any other data that you may need.

from indi-allsky.

aaronwmorris avatar aaronwmorris commented on June 11, 2024

Merged #995 with fixes. I would normally test this with my sv305, but it is currently boxed up due to my current move. Let me know how it works.

from indi-allsky.

mattyryu avatar mattyryu commented on June 11, 2024

Thanks for the quick turnaround! It seems much better as the camera loads and I can view all the details about it in the GUI. I do see that it seems stuck in this loop of exposure state: busy and I have yet to capture an image:

2023-10-18T09:59:48.632989-04:00 allsky [INFO] Capture-1-918/MainThread capture.saferun() #209: Camera last ready: 67.6s
2023-10-18T09:59:48.633490-04:00 allsky [INFO] Capture-1-918/MainThread capture.saferun() #210: Exposure state: BUSY
2023-10-18T09:59:48.633634-04:00 allsky [INFO] Capture-1-918/MainThread capture.detectNight() #1272: Sun altitude: 25:53:59.7
2023-10-18T09:59:48.633789-04:00 allsky [INFO] Capture-1-918/MainThread capture.detectMoonMode() #1290: Moon altitude: -18:28:57.6, phase 15.0%
2023-10-18T09:59:48.833919-04:00 allsky [WARNING] Capture-1-918/MainThread indi.getCcdTemperature() #852: Sensor temperature not supported
2023-10-18T09:59:48.934408-04:00 allsky [INFO] Capture-1-918/MainThread indi.getTelescopeRaDec() #842: Telescope Coord: RA 10.18, Dec 33.00

I rebooted and started an strace on the indi_svbony_ccd process and saw what appeared to be configuration happening until this:

futex(0x55afddcd40, FUTEX_WAKE_PRIVATE, 1) = 0
sendmsg(1, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="<?xml version='1.0'?>\n<setNumber"..., iov_len=260}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 260
pselect6(1, [0], NULL, NULL, NULL, NULL) = 1 (in [0])
read(0, "<setNumberVector device=\"Telesco"..., 2048) = 264
pselect6(1, [0], NULL, NULL, NULL, NULL <unfinished ...>) = ?
+++ killed by SIGSEGV +++

I started the strace again on indi_svbony_ccd and it seems to do this every second forever after:

pselect6(1, [0], NULL, NULL, NULL, NULL) = 1 (in [0])
read(0, "<setNumberVector device=\"Telesco"..., 2048) = 264
pselect6(1, [0], NULL, NULL, NULL, NULL) = 1 (in [0])
read(0, "<setNumberVector device=\"Telesco"..., 2048) = 262
pselect6(1, [0], NULL, NULL, NULL, NULL) = 1 (in [0])
read(0, "<setNumberVector device=\"Telesco"..., 2048) = 264
pselect6(1, [0], NULL, NULL, NULL, NULL) = 1 (in [0])
read(0, "<setNumberVector device=\"Telesco"..., 2048) = 264

This is my first time using this so it could entirely be user error and I need to tune the config. I did try rebooting and unplugging the camera for a while to make sure it wasn't locked up. Same result.

from indi-allsky.

aaronwmorris avatar aaronwmorris commented on June 11, 2024

I am really not sure the INDI 2.0.4 SVBony driver is actually stable in its current form. Apparently, the driver was completely rewritten last month.

indilib/indi-3rdparty#839

You might want to try INDI 2.0.2 or 2.0.1.

from indi-allsky.

mattyryu avatar mattyryu commented on June 11, 2024

Oh yeah look at that. I'll work on dropping back the INDI driver. Thanks again for the help!

from indi-allsky.

SNinfinite avatar SNinfinite commented on June 11, 2024

I have INDI 2.0.4 installed. Could you give me some instructions how to downgrade to an earlier version. I'm very new to linux and willing to learn! Thanks

from indi-allsky.

mattyryu avatar mattyryu commented on June 11, 2024

@aaronwmorris I can confirm that running with INDI v2.0.2, the SV305 is working as expected with indi-allsky v7.4 (to go back to the old way of collecting the gain settings before your most recent fix for the v2.0.4 INDI). I can retest your changes when INDI v2.0.5 is release and also report any driver issues in the INDI project.

@SNinfinite I opted to grab a new SD card and install Bullseye/64-bit to be compatible with the v7.4 release of indi-allsky. The setup.sh script will detect if the INDI drivers are installed already, so I went to the indi-core and indi-3rdparty repos and grabbed v2.0.2 and followed the build instructions. After that I grabbed v7.4 of indi-allsky and ran thru the setup. It is possible that you could grab v2.0.2 and follow the instructions to build those on your current system, but I'm not sure it'll work and didn't want to deal with resolving any issues if they came up.

from indi-allsky.

aaronwmorris avatar aaronwmorris commented on June 11, 2024

Let me know about your testing. The changes I made in the newer indi-allsky releases were intended to be backwards compatible, as well.

from indi-allsky.

mattyryu avatar mattyryu commented on June 11, 2024

I didn't realize the changes were backwards compatible. I just installed the latest bookworm/64-bit with the latest indi-allsky and the INDI v2.0.2 and everything came up okay.

@SNinfinite so it turns out @aaronwmorris made it really easy for us and you can run:
./misc/build_indi.sh v2.0.2 from the indi-allsky directory to install the v2.0.2 INDI components (even over v2.0.4) without any other work. Amazing!

from indi-allsky.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.