Hey #linuxmobile people.
Maybe you heard about my little #libobscura project.
Which phone should #libobscura support after #Librem5 ?
I'm looking for one which has the kernel drivers but cameras still don't work great.
@pavel I haven't gotten to the Librem 5 yet.
There is only support for UVC cameras now.
If you want to build it on the Librem 5, I would use a recent operating system (not PureOS) or install Rust using Rustup.
Yes, it is "execute random shell from the internet", but I think that's the only way to get recenr Rust on PureOS.
@pavel Yeah, it's actually implemented and you don't need a phone. There's the "bayer" binary that will pick up a file and decode it.
Check out --help.
@pavel Sorry, I mixed it up. The binary using the bayer shader is still called "raw":
https://codeberg.org/libobscura/libobscura/src/branch/master/crates/conv/src/bin/raw.rs
@pavel Ouch. This looks like it's related to creating the GBM buffer?
@pavel It *should* be possible to skip the GBM parts and create regular OpenGL buffers, but my OpenGL skills are not enough to do it quickly.
@pavel Of course! L5 is my next target.
Are you interested in having a compiling version that produces only Bayer data, or minimally working debayering?
Also, what OS are you using on the L5?