Conversation

grand opening!

Libobscura is a friendly library to use cameras on Linux.

At least that's the goal.

The objectives are:

- hard to use it wrong
- get a RGB buffer in ten lines of code
- easy to add support for new devices
- no mailing list :P

I want and other and workflows to become easy, and manufacturers to spend less time adding support (hi me 2 years ago).

More info on my : https://dorotac.eu/posts/libobscura/

@libcamera

4
4
1

@dcz @libcamera This is EXACTLY what I was looking for. Thanks universe!

1
0
0

@rtn @libcamera Don't praise the day ;)

I bumped 3 versions today just preparing for release.

The code is in FLUX

plz give feedback :3

0
0
0
@dcz @libcamera While I certainly welcome new projects and efforts in the camera space, I would appreciate if references to @libcamera gets removed from this and other posts as the two projects are not related.
1
0
0

@jmondi I confirm, the projects are not related. I mentioned libcamera or no other reason that it was a big source of inspiration and to let the contributors know.

0
0
0

@dcz that's really exciting! Seeing pipewire integration there in the list of goals makes it feel like something more than an experiment. Looking forward to see how it develops and builds a community in the next months!!

0
0
0

@dcz Ah ok, so it's an application generated panic. "Only EGL supported". I'll check the code to see if I can figure out what's going on.

1
0
0

@rtn Are you using X11? I have only tested on Wayland, maybe build options end up dfferent.

1
0
0

@rtn Hm, I'm getting a different error on X11.
What Debian version?
What is your Cargo.lock?

The problem is in the choice of how the windowing library talks to the OpenGL library, and there are 2 options: EGL is not compiled in, or not present on your system.
I never expected to see either.

1
0
0

@dcz Not sure what you mean by "What is your Cargo.lock". It's checked into the git source no?

$ glxinfo | grep 'OpenGL version'
OpenGL version string: 4.6.0 NVIDIA 535.183.01

1
0
0

@rtn Cargo.lock may change after building, so the checked in version isn't necessarily so relevant.

I'll check how nvidia works.

1
0
0

@dcz Ah ok. Well git status doesn't show it as modified. Just fyi.

1
0
0

@rtn Thanks. What does it say when you run:

eglinfo -B

1
0
0

@dcz That's a tonne of output. Can I email you this?

2
0
0

@rtn Thanks. I'm not sure what's up. I pushed a new version which doesn't have a fix, but it shows more details about what went wrong. Perhaps you could try that.

0
0
0