rmader, to linuxphones
@rmader@floss.social avatar

just landed the last MR needed to make the + camera stack work on the and by default, using the new software ISP shipped in libcamera 0.3.
So if you have such a device: just update and go install apps like Snapshot, Warp, Decoder etc. You can even use it with Firefox and - very soon - Chromium.

Note that this does not replace or - those continue to be the default camera apps.

rmader,
@rmader@floss.social avatar

Don't expect too much for now: both image quality and performance are not quite where we want them to be.
That, however, also means that there are a lot of low hanging fruits where help is very welcome :)
We need to create tuning files for the individual cameras, the swISP could be improved to use the GPU for debayering, there are WIP autofocus patches that could be tried and improved - and in Snapshot we need to reduce the number of copies before frames reach the screen or encoders.

rmader, to linuxphones
@rmader@floss.social avatar

If you want to follow the process of getting the #libcamera (with softwareISP) + #pipewire stack into place on #postmarketOS - which will allow way more apps to use cameras on devices like the #librem5, #PinePhone (the #PinePhonePro was the first were it already kinda works) and hopefully many more devices in the future - then here's a meta issue you can subscribe to: https://gitlab.com/postmarketOS/pmaports/-/issues/2787

rmader, to linuxphones
@rmader@floss.social avatar

Just want to quickly share with folks that the new softwareISP does indeed work with the - and with a + pipeline. Here's a first image running Warp (from Flathub).

There's still some stuff to iron out to make this work reliably and ship to users - but things are falling into place.

rmader,
@rmader@floss.social avatar

FTR., props go to the team and the people who worked on the softwareISP (https://patchwork.libcamera.org/cover/19820/)

The only libcamera patch I needed on top of current master is this one:
https://github.com/rmader/libcamera/commit/330cbe938a68bbe9e5130b618c58358b887babc4

Luigi311, to linuxphones

For those of you curious this is what the camera looks like with my autofocus and that new driver. This was late at night with only my room light on so it is still pretty noisy but it looks decent enough.

Luigi311, to linux

upstreaming imx258 driver work continues! Its my first attempt at upstreaming anything to the kernel and even submitting patches via a mail list so its been a learning experience for me and a rough one at that but soon the will be able to use a mainline camera driver and get something useful out of it and will greatly improve support since even downstream was missing lots for it.
https://patchwork.kernel.org/project/linux-media/cover/20240327231710.53188-1-git@luigi311.com/

pipewire, to linux
@pipewire@fosstodon.org avatar

Really happy to see first beta release of @OBSProject featuring PipeWire camera support. Along with the recent Firefox support for PipeWire camera this is a big step forward.
https://www.phoronix.com/news/OBS-Studio-30.1-Beta

devrtz, to debian
rmader, to firefox
@rmader@floss.social avatar

with the patches will now use (and thus ) by default, allowing cameras to work out-of-the-box on distros shipping that patchset (well, assuming the camera works with libcamera of course).

https://gitlab.com/postmarketOS/mobile-config-firefox/-/merge_requests/38

tripplehelix, to RaspberryPi
@tripplehelix@fosstodon.org avatar

Finally got my resin working again on , 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 cuts when it no longer is being viewed but surely this shoudn't? It survives short term.

rmader, to random
@rmader@floss.social avatar

So we'll have a neat little camera indicator in .

It will only show up for apps that use for camera access so we depend on more apps switching to that.

During the "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 (as opposed to only / UVC cameras).

rmader,
@rmader@floss.social avatar

(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 become more common on the other.

Switching to gives you support for for free.

linmob, (edited ) to linuxphones
@linmob@fosstodon.org avatar
rmader, to linuxphones
@rmader@floss.social avatar

@dino 0.4.3 just got released with some exciting improvements for

  1. Several fixes for touch input, making audio/video calls actually usable on phones
  2. Fixes for video support so devices with / support like the work now
  3. The app is now recognized as mobile friendly on
  4. Stricter sandbox - no device/all any more

The new version is available on and lots of distro repos.

rmader, to random
@rmader@floss.social avatar

One of the issue preventing distros from shipping a / camera stack is the fact that it requires as session manager, which again does not always play nicely with , 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 :)

sonny, to GNOME
@sonny@floss.social avatar

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!

rmader, to linux
@rmader@floss.social avatar

Just came home and there are great news: the last patch needed for the to expose proper camera orientation (front/back) just got pulled into 6.4. Together with previously landed patches (partly upstream, partly megi) for the right rotations (90/270 deg), users using and will have a much better camera experience.

Meanwhile, there's a coup attempt in 🇷🇺 by Wagner. I'd say a good day for , 🇺🇦 and the world :)

rmader, to firefox
@rmader@floss.social avatar

Just gave with / / support a go on my . 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 camera selection dialog on the PPP, using landscape mode to fit on the screen. The dialog correctly offers both cameras with recognizable names: "Build-in Front Camera" and "Build-in Back Camera".
Firefox on the PPP with a webrtc test page open, demoing that the camera actually works in FF.

rmader, to random
@rmader@floss.social avatar

Wow, cool day for on . After and thus camera support, now hardware video decoding with V4L2-M2M is landing as well.

https://bugzilla.mozilla.org/show_bug.cgi?id=1833354#c23

rmader, to random
@rmader@floss.social avatar
CalcProgrammer1, to random
@CalcProgrammer1@mastodon.social avatar

I just tried qcam again on my on today after the latest round of package updates. Much to my surprise, I saw my face on screen!!! Front and rear cameras seem to be working in this application! Not sure why the window wasn't fullscreen and was slightly transparent on Phosh, but whatever. CAMERAS.

I tested a few weeks ago and it worked on my original PinePhone but not the Pro.

rmader, to random
@rmader@floss.social avatar

Hacking at : first video call using @dino between two s

Using the modern video stack

rmader,
@rmader@floss.social avatar

Just to clarify: this will work on any device with support. Hoping to try this soon on the !

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • megavids
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • JUstTest
  • All magazines