We did a small #embedded #Linux hackfest in #Prague Karlín! We moved forward with upstreaming #Pixel3 , we tested #Pixel3XL ability to boot and started working towards OLED enablement, we discussed #Camera (both #libcamera and #libobscura ) on #LinuxMobile phones #postmarketOS with @pavel
Tested the latest #GNOME #Snapshot on #postmarketOS on my #PINE64 #PinePhonePro! It's been a while since I revisited the PinePhonePro but with cameras and camera utilities coming a long way on newer devices I wanted to revisit #libcamera on the PinePhones. I installed @NekoCWD's cameractrl and it successfully controls focus, but the PPP camera seems to have autoexposure that reduces the utility of cameractrl's exposure slider. Anyways, here's a picture of some other postmarketOS devices.
I just made some changes to @libcamera to export focus/brightness controls and created a PoC app to work with it via @pipewire (wireplumber gobject api) in @vala_lang because why not? @postmarketOS
First try to create #libcamera swISP tuning files for the OnePlus6 with #ideasonboard folks at #embeddedworld. Unfortunately we hit an issue that we couldn't fix on-side - got a few todos to make sure things work out next time!
4. Thanks to #libcamera enablement work, udmabuf is available to users by default in many distros now and #systemd 257 sets an uaccess tag. It's not yet available in #flatpak without device=all, though.
5. The main missing DRM formats are three-plane >= 10 bit ones that are compatible with what sw-decoders produce.
6. AFAICS the approach should work equally well for clients like #mpv, #firefox and #chromium.
P.S.: the idea was inspired by the #libcamera sw-ISP and the MR can be found at
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8540
Mon 3rd Feb, just a day after the #FOSDEM we'll have small HackDay in Brussels — hopefully making more cameras run well on #Linux, #embedded, #postmarketOS & #Mobian
If you're interested to help with hacking around #LinuxKernel CCS, #libcamera or #Qualcomm CAMSS (not limited to) ping us on #qcom-camss OFTC IRC channel or here.
I can take a photo or video from WhatsApp Web on #librem5 using #pipewire on top of #libcamera with software IPA. The funny part is that I can't, yet, doi the same thing with native WhatsApp on #WayDroid.
For #linuxmobile #postmarketos #mobian folks interested in cameras: there's a first version of patches for #libcamera softwareISP color correction matrix (CCM) support now: https://patchwork.libcamera.org/cover/22041/
Together with autofocus (AF) this probably the main missing feature to get a somewhat reasonable image quality on devices like the #pixel3a or #fairphone5 with open drivers / close to #mainlinelinux.
Nice improvements to the #libcamera #camshark development application, showing live graphs of camera algorithms internal data. Debugging 3A issues is getting much easier.
I finally got the official #funding confirmation from @PrototypeFund .
Time to gather the needed contacts before I begin with #libobscura next month!
#libobscura is going to be a proof of concept #linux #camera library which doesn't make the same mistakes as #libcamera . I'll base it on @martijnbraam 's work with #libmegapixels .
@thibaultamartin Absolutely :)
Well, things are *slowly* getting there in #linuxmobile land. Just today a pretty cool patch series landed in #libcamera, improving image quality on the - among others - #pinephonepro, see first image (image taken with #gnomesnapshot, compared to #lineageos on #pixel6a).
I sometimes just wonder how I, who's probably in the 1-3 percentile of the least photophile people, ended up working on cameras in my freetime :P
P.S.: I boosted to get this post on my timeline
The reason why we need a good #floss #fdo camera stack - and why we do all this work around #libcamera and #pipewire on #linuxmobile is not because we want to make beautiful pictures and videos. I almost never take pictures - do you?
The reason is that we need to be able to scan BSOD QR codes
I'm quite happy how upcoming performance improvements for #gnome Snapshot and #libcamera are shaping up. This is how things are now running for me on a #librem5:
Is there anyone in the #linuxmobile community with some experience in (or motivation to learn) #openmp (or something similar) who'd be willing to help a bit with a patch of mine for the #libcamera softwareISP? It's an important piece of sw that allows us to use "complex" cameras even when we don't have ISP drivers.
The patch I started already shows promising results on e.g. the #librem5, however I could use some help getting it into a mergable state :)
https://gitlab.freedesktop.org/rmader/libcamera/-/tree/swisp-openmp
Regarding the #postmarketos 24.06 release (congrats and thanks to all contributors!) I wanted to add a detail that I think wasn't really mentioned in the posts I saw so far: this release come with #libcamera + #pipewire support by default - even if #pulseaudio is used for audio.
That means that screensharing on #wayland should work OOTB and - more crucially - that a camera stack is in place that allows a much greater number of apps to use cameras - including sandboxed ones.
#firefox #webrtc using #pipewire and #libcamera (with softwareISP) on a #thinkpadx13s - it finally works \o/
The required patches will also make things work for a bunch of #linuxmobile devices.