Finally got my #raspberrypi resin #printer #camera working again on #bullseye, the solution is always simpler than you think... nope just died again.
Using: https://github.com/raspberrypi/picamera2/blob/main/examples/mjpeg_server_2.py
Why would the camera cut out? I know #libcamera cuts when it no longer is being viewed but surely this shoudn't? It survives short term.
#raspberrypi #printer #camera #bullseye #libcamera
(this thread is written in real-time and on satellite inet, so please bear with me :P).
While "complex" cameras have been common for phones and professional cameras for a long time now, the linux ecosystem more or less got away with only supporting UVC cameras via V4L2.
By now more and more laptops using non-UVC cameras are entering the market on one hand and new use-cases like #LinuxMobile become more common on the other.
Switching to #PipeWire gives you support for #libcamera for free.
#LinuxMobile #PipeWire #libcamera
So we'll have a neat little camera indicator in #gnome45.
It will only show up for apps that use #PipeWire for camera access so we depend on more apps switching to it.
During the #GUADEC2023 "State of the Shell" talk I was asked what incentives there are for app developers to do so and unfortunately I messed up to make the probably most convincing ones, so short π§΅
1. support for modern cameras via #libcamera (as opposed to only #v4l2 / UVC cameras).
#gnome45 #PipeWire #GUADEC2023 #libcamera #V4L2 #GUADEC
#PipeWire 0.3.75 is pretty important for #libcamera and thus #LinuxMobile. It allows #wireplumber to ensure to advertise cameras only once, even if both the libcamera and the v4l2 backends are active. This opens the door for distros to install/enable the libcamera backend by default everywhere, using it only for devices that are not supported by the v4l2 backend alone - avoiding possible regressions.
Apart from that the release closes a nasty camera portal issue.
#PipeWire #libcamera #LinuxMobile #wireplumber
@capyloon Here are the patches: https://bugzilla.mozilla.org/show_bug.cgi?id=1843786
We can hopefully upstream the #webrtc patches so all variants of #Firefox and #Chromium have good camera support on #LinuxMobile
#webrtc #Firefox #Chromium #LinuxMobile #PipeWire #libcamera
Weekly GNU-like #MobileLinux Update (28/2023): How do avoid notches in #Phosh and Snaps on #UbuntuTouch
https://linmob.net/weekly-update-28-2023/
#LinuxMobile #PinePhone #PinePhonePro #postmarketOS #libcamera #SailfishOS
#mobilelinux #phosh #ubuntutouch #linuxmobile #pinephone #pinephonepro #postmarketos #libcamera #sailfishos
Mind that video support is not quite great at the moment. This is because #libcamera currently lacks good frame rate reporting that Dino can use. But that will be hopefully fixed soon in libcamera / pipewire.
@dino 0.4.3 just got released with some exciting improvements for #LinuxMobile
1. Several fixes for touch input, making audio/video calls actually usable on phones
2. Fixes for video support so devices with #libcamera / #pipewire support like the #PinePhonePro work now
3. The app is now recognized as mobile friendly on #Phosh
4. Stricter #Flatpak sandbox - no device/all any more
The new version is available on #Flathub and lots of distro repos.
#LinuxMobile #libcamera #PipeWire #PinePhonePro #phosh #Flatpak #flathub #GNOME #XMPP #Jabber
@piggz What camera package may this be? I've been using qcam to do testing, which includes the #libcamera package, but qcam is still oriented incorrectly. Running #postmarketos with #kdemobile.
#libcamera #postmarketos #kdemobile
One of the issue preventing #LinuxMobile distros from shipping a #PipeWire / #libcamera camera stack is the fact that it requires #wireplumber as session manager, which again does not always play nicely with #pulseaudio, if that is still used as sound server.
Unfortunately switching to PW for sound is not always possible yet because some mobile-specific packages depend on PA. So if you want to help with camera enablement, please consider helping with issues such as https://source.puri.sm/Librem5/wys/-/issues/13 :)
#LinuxMobile #PipeWire #libcamera #wireplumber #pulseaudio
This is @halfmexican; GNOME Outreachy student excited that their effort to make a modern and sandboxed Camera demo for Workbench has paid off π οΈ
Well done! π
Thanks @philn and @slomo for your help!
#GNOME #Outreachy #development #students #GStreamer #PipeWire #Flatpak #freedesktop #libcamera #GTK
#GNOME #Outreachy #development #students #gstreamer #PipeWire #Flatpak #freedesktop #libcamera #GTK
@dino This of course only works when using #PipeWire #GStreamer device provider and related #libcamera packages installed. And with a kernel exposing the correct values, see previous posts.
#PipeWire #gstreamer #libcamera
Just came home and there are great news: the last patch needed for the #PinePhonePro to expose proper camera orientation (front/back) just got pulled into #megi #Linux 6.4. Together with previously landed patches (partly upstream, partly megi) for the right rotations (90/270 deg), users using #PipeWire and #libcamera will have a much better camera experience.
Meanwhile, there's a coup attempt in π·πΊ by Wagner. I'd say a good day for #LinuxMobile, πΊπ¦ and the world :)
#PinePhonePro #Megi #Linux #PipeWire #libcamera #LinuxMobile
Just gave #Firefox with #PipeWire / #libcamera / #xdgportal support a go on my #PinePhonePro. Works pretty well apart from missing rotation support and UI issues on small screens.
It currently requires "media.webrtc.camera.allow-pipewire" to be set to "true" in "about:config". Other then that the same requirements like for other apps like Snapshot, Authenticator and Decoder apply: a working Pipewire/libcamera/xdg-portal setup (IMO this should be left to distros/images).
#Firefox #PipeWire #libcamera #xdgportal #PinePhonePro
Wow, cool day for #Firefox on #LinuxMobile. After #PipeWire and thus #libcamera camera support, now hardware video decoding with V4L2-M2M is landing as well.
#Firefox #LinuxMobile #PipeWire #libcamera
#PipeWire #xdgportal #libcamera support is finally landing in #Firefox \o/
#PipeWire #xdgportal #libcamera #Firefox
Haven't seen anyone posting this yet, so I figured I'll share it: during our recent Gnome Mobile hackfest we got the experimental #libcamera pipeline handler for the #purism #Librem5 to work and make a video call with @dino. There were still some serious issues we didn't have time to debug any more - but hey, it's something :)
@mobian Awesome! What I'm most excited about is, however, that mobian testing can start shipping recent updates again :p (thinking mostly about #libcamera, #PipeWire and kernel for better camera support)
@fabrice #Firefox with #PipeWire / #libcamera ? There's good progress, see https://bugzilla.mozilla.org/show_bug.cgi?id=1724900 :)