Outta 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:
Capture JPG works, exposure and gain works as per histogram
Capture DNG works, exposure and gain works as per histogram
Streaming crashes whole Kstars :)

but the issue I notice the most, we only get single channel(only red from RGB)

2023-01-04T12:18:22: [INFO] World Coordinate System is enabled. 
2023-01-04T12:18:22: [INFO] WCS_CONTROL.WCS_ENABLE -> 1 
2023-01-04T12:18:22: [INFO] Device configuration applied. 
2023-01-04T12:18:22: [INFO] LIMITS.LIMITS_PREVIEW_FPS -> 10.000000 
2023-01-04T12:18:22: [INFO] LIMITS.LIMITS_BUFFER_MAX -> 512.000000 
2023-01-04T12:18:22: [INFO] CCD_STREAM_RECORDER.SER -> 1 
2023-01-04T12:18:22: [INFO] RECORD_OPTIONS.RECORD_FRAME_TOTAL -> 30.000000 
2023-01-04T12:18:22: [INFO] RECORD_OPTIONS.RECORD_DURATION -> 1.000000 
2023-01-04T12:18:22: [INFO] CCD_STREAM_ENCODER.MJPEG -> 0 
2023-01-04T12:18:22: [INFO] CCD_STREAM_ENCODER.RAW -> 1 
2023-01-04T12:18:22: [INFO] Setting frame buffer size to 2073600 bytes. 
2023-01-04T12:18:22: [INFO] Frame ROI x:0 y:0 w:1920 h:1080 
2023-01-04T12:18:22: [INFO] CCD_BINNING.VER_BIN -> 1.000000 
2023-01-04T12:18:22: [INFO] CCD_BINNING.HOR_BIN -> 1.000000 
2023-01-04T12:18:22: [WARNING] Cannot subframe JPEG streams. 
2023-01-04T12:18:22: [INFO] Setting frame buffer size to 2073600 bytes. 
2023-01-04T12:18:22: [INFO] Frame ROI x:0 y:0 w:1920 h:1080 
2023-01-04T12:18:22: [INFO] CCD_FRAME.HEIGHT -> 1080.000000 
2023-01-04T12:18:22: [INFO] CCD_FRAME.WIDTH -> 1920.000000 
2023-01-04T12:18:22: [INFO] CCD_FRAME.Y -> 0.000000 
2023-01-04T12:18:22: [INFO] CCD_FRAME.X -> 0.000000 
2023-01-04T12:18:22: [INFO] CCD_TRANSFER_FORMAT.FORMAT_NATIVE -> 0 
2023-01-04T12:18:22: [INFO] CCD_TRANSFER_FORMAT.FORMAT_FITS -> 1 
2023-01-04T12:18:22: [INFO] CCD_CAPTURE_FORMAT.JPG -> 1 
2023-01-04T12:18:22: [INFO] CCD_CAPTURE_FORMAT.DNG -> 0 
2023-01-04T12:18:22: [INFO] CCD_COMPRESSION.INDI_DISABLED -> 1 
2023-01-04T12:18:22: [INFO] CCD_COMPRESSION.INDI_ENABLED -> 0 
2023-01-04T12:18:22: [INFO] CCD_FAST_TOGGLE.INDI_DISABLED -> 1 
2023-01-04T12:18:22: [INFO] CCD_FAST_TOGGLE.INDI_ENABLED -> 0 
2023-01-04T12:18:22: [INFO] Upload settings set to client only. 
2023-01-04T12:18:22: [INFO] UPLOAD_MODE.UPLOAD_BOTH -> 0 
2023-01-04T12:18:22: [INFO] UPLOAD_MODE.UPLOAD_LOCAL -> 0 
2023-01-04T12:18:22: [INFO] UPLOAD_MODE.UPLOAD_CLIENT -> 1 
2023-01-04T12:18:22: [INFO] LOG_OUTPUT.FILE_DEBUG -> 0 
2023-01-04T12:18:22: [INFO] LOG_OUTPUT.CLIENT_DEBUG -> 1 
2023-01-04T12:18:22: [INFO] LOGGING_LEVEL.LOG_DEBUG -> 0 
2023-01-04T12:18:22: [INFO] LOGGING_LEVEL.LOG_SESSION -> 1 
2023-01-04T12:18:22: [INFO] LOGGING_LEVEL.LOG_WARNING -> 1 
2023-01-04T12:18:22: [INFO] LOGGING_LEVEL.LOG_ERROR -> 1 
2023-01-04T12:18:22: [INFO] DEBUG_LEVEL.DBG_DEBUG -> 1 
2023-01-04T12:18:22: [INFO] DEBUG_LEVEL.DBG_SESSION -> 1 
2023-01-04T12:18:22: [INFO] DEBUG_LEVEL.DBG_WARNING -> 1 
2023-01-04T12:18:22: [INFO] DEBUG_LEVEL.DBG_ERROR -> 1 
2023-01-04T12:18:22: [INFO] POLLING_PERIOD.PERIOD_MS -> 1000.000000 
2023-01-04T12:18:22: [INFO] DEBUG.DISABLE -> 0 
2023-01-04T12:18:22: [INFO] DEBUG.ENABLE -> 1 
2023-01-04T12:18:22: [INFO] Loading device configuration... 
2023-01-04T12:18:22: [INFO] CONFIG_PROCESS.CONFIG_PURGE -> 0 
2023-01-04T12:18:22: [INFO] CONFIG_PROCESS.CONFIG_DEFAULT -> 0 
2023-01-04T12:18:22: [INFO] CONFIG_PROCESS.CONFIG_SAVE -> 0 
2023-01-04T12:18:22: [INFO] CONFIG_PROCESS.CONFIG_LOAD -> 1 
2023-01-04T12:18:22: [INFO] DEBUG_LEVEL.DBG_DEBUG -> 1 
2023-01-04T12:18:22: [INFO] DEBUG_LEVEL.DBG_SESSION -> 1 
2023-01-04T12:18:22: [INFO] DEBUG_LEVEL.DBG_WARNING -> 1 
2023-01-04T12:18:22: [INFO] DEBUG_LEVEL.DBG_ERROR -> 1 
2023-01-04T12:18:22: [INFO] DEBUG.ENABLE -> 1 
2023-01-04T12:18:22: [INFO] UnitCellSize 2.900000 x 2.900000 
2023-01-04T12:18:22: [INFO] PixelArraySize 1937 x 1097 (actual 1936 x 1097) 
2023-01-04T12:18:22: [INFO] Setting frame buffer size to 2123792 bytes. 
2023-01-04T12:18:22: [INFO] Frame ROI x:0 y:0 w:1936 h:1097 
2023-01-04T12:18:22: [INFO] CONNECTION.CONNECT -> 1 
2023-01-04T12:18:21: [INFO] LOG_OUTPUT.FILE_DEBUG -> 0 
2023-01-04T12:18:21: [INFO] LOG_OUTPUT.CLIENT_DEBUG -> 1 
2023-01-04T12:18:21: [INFO] POLLING_PERIOD.PERIOD_MS -> 1000.000000 
2023-01-04T12:18:21: [INFO] LOGGING_LEVEL.LOG_DEBUG -> 0 
2023-01-04T12:18:21: [INFO] LOGGING_LEVEL.LOG_SESSION -> 1 
2023-01-04T12:18:21: [INFO] LOGGING_LEVEL.LOG_WARNING -> 1 
2023-01-04T12:18:21: [INFO] LOGGING_LEVEL.LOG_ERROR -> 1 
2023-01-04T12:18:21: [INFO] DEBUG_LEVEL.DBG_DEBUG -> 1 
2023-01-04T12:18:21: [INFO] DEBUG_LEVEL.DBG_SESSION -> 1 
2023-01-04T12:18:21: [INFO] DEBUG_LEVEL.DBG_WARNING -> 1 
2023-01-04T12:18:21: [INFO] DEBUG_LEVEL.DBG_ERROR -> 1 
2023-01-04T12:18:21: [INFO] Debug is enabled. 
2023-01-04T12:18:21: [INFO] DEBUG.DISABLE -> 0 
2023-01-04T12:18:21: [INFO] DEBUG.ENABLE -> 1 


Read More...

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

I am using
Linux raspberrypi 5.15.61-v7l+ #1579 SMP Fri Aug 26 11:13:03 BST 2022 armv7l GNU/Linux

I will try to pull that now and test it on IMX462

Read More...

Outta replied to the topic 'INDI LibCamera Driver' in the forum. 2 months ago

Indeed you are right,and I have been writing "analog" to terminal for nothing whole last year or so :D

Read More...

Outta replied to the topic 'INDI LibCamera Driver' in the forum. 2 months ago

Interesting I have IMX462 but it does not seem to work as expected.
Do you run V4L2 command before or that is in driver? Is that PR in latest version?

Also one thing i noticed about gain, do you use "gain" or "analoggain" parameter. Gain is digital, and analoggain is one we are interested in.

Read More...

Outta replied to the topic 'INDI LibCamera Driver' in the forum. 2 months ago

This fellow is smart listen to what he says.

Let me just digress on images from this implementation, in this current state, changing gain does not change histogram, and that is main thing you should watch. Changing exposure does change it, but up to certain point, depending what is supported from camera driver.

I know that imx290/462 can support up to 15s but to activate that mode you need to set some address, in driver to 0xFFFFF, and that is not implemented in RPI driver, only in arducam driver.

Read More...

Outta replied to the topic 'Driver OnStep (LX200 like) for INDI' in the forum. 2 months ago

I do not have anything turned on except Axis1, 2 and 4 as foxuser (3 is rotator)


So it seems it is something with my Standard Operating Procedure. When I restart everything, focuser works but in my process, update datetime update location, goto plate solve, sync with mount(probable culprit) and then focus. I need to do. action per action and focus i between each action to find where exactly issue occurs.

Read More...

Outta replied to the topic 'INDI LibCamera Driver' in the forum. 2 months ago

I do not think anyone can mind ChatGPT or other AI, I even use Copilot officially in my work. This is the future, better get used to it before rather than later :)

Read More...

Outta replied to the topic 'Driver OnStep (LX200 like) for INDI' in the forum. 2 months ago

I have an issue with focuser, and I am not sure what is wrong. Every other mount command works properly, but focuser fails to move.
I get:

2022-12-21T10:15:27: [ERROR] CHECK CONNECTION: Error sending command :FS025446#

But when I manually enter that command to SerailMonitor in Arduino, it moves fine.

ibb.co/ngDQhv0

Any ideas?

Read More...

Outta replied to the topic 'INDI LibCamera Driver' in the forum. 2 months ago

Inhave been testing Anjos brilliant work with IMX462.

I got exposure and I got streaming!

Although itnis limited to 640x480, and only hoeg stills. DNG says "unknown bayer format" trying to debug that.

I see there are modes added manually, I think we can pull them from libcamera, same way as libcamera-vid - - list-cameras work.
All in all it is great to see exposure and stream work!

Read More...

Outta replied to the topic 'Svbony SV705C' in the forum. 2 months ago

Ok I made it work. I have built manually libsvbony and indi_svbony. That did not work either but i fixed that with simple trick.

I had to disable Autoconnect, and then connect manually. Conection takes roughly 30 seconds, but it connects and everything works except binning. 2x is grayscale, 3x is half and half 4x is grayscale. But I do not care about that. What is important it works. that is good.


Thanks for pointing me in right direction!

Read More...

Outta replied to the topic 'INDI LibCamera Driver' in the forum. 2 months ago

@Jasem can you create libcamera dev branch and give access for few of us so we can freely push and then we can do PR when we have something.

Read More...