Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Libcamera #697

Merged
merged 20 commits into from Jan 15, 2023
Merged

Libcamera #697

merged 20 commits into from Jan 15, 2023

Conversation

anjok
Copy link
Contributor

@anjok anjok commented Dec 21, 2022

No description provided.

@knro
Copy link
Collaborator

knro commented Dec 22, 2022

Thanks! why is libcamera-apps included in the source? I think it should be used as an external dependency since it is a separate and fast moving project as well.

@anjok
Copy link
Contributor Author

anjok commented Dec 22, 2022

It IS apparently a fast moving project, and I for my part would prefer a static end result instead of dealing with compile-from-source lib versions. When they stabilise or actually do anything new we actually need, we can use the libs again.

Also, they didn't expose the CameraManager, which is needed to get at the cam list. It's supposed to be a singleton and this was leading to crashes. Sure I could have posted a PR there and let them handle it, but for now my focus has been on getting things to work in the first place.

And finally this thing crashed left and right for all sorts of reasons and it was my hope to get at least some context info by having the source included.

A probably better way would be to strip out the parts we need and do things directly, not using libcamera-apps, but that again would be a "copy", albeit a possibly buggy one.

So copying the source was the most economic choice IMO.

@anjok
Copy link
Contributor Author

anjok commented Dec 22, 2022

If you want you can start the workflows, but don't merge just yet. There's issues with the framerates I hopefully get to work today or tomorrow.

@knro knro self-assigned this Jan 4, 2023
@knro
Copy link
Collaborator

knro commented Jan 4, 2023

@anjok How is it going? I see a lot of progress in the INDI forum thread.

@knro
Copy link
Collaborator

knro commented Jan 12, 2023

@anjok is this driver usable at this stage?

@anjok
Copy link
Contributor Author

anjok commented Jan 14, 2023

@knro it didn't crash in a while, but I didn't get around to do as much testing as I'd wish. And it's still weird in that raw pics don't take up changed settings unless you change them in jpg mode first. Also, since it includes the libcamera apps code, you need to pin it to specific versions of boost and whatever else it needs. But I guess it'd be the same with the shared apps libs.

It takes take pics, most of the settings work and you can "use" it though.

@knro
Copy link
Collaborator

knro commented Jan 14, 2023

Ok, perhaps we can merge it now so we can get more feedback from users?

@anjok
Copy link
Contributor Author

anjok commented Jan 14, 2023

In your place, I'd probably build and test it locally, but sure, go ahead.

@knro knro merged commit 7756cae into indilib:master Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants