Posts

This profile is from a federated server and may be incomplete. Browse more on the original instance.

rmader, to linuxphones
@rmader@floss.social avatar

#postmarketOS just landed the last MR needed to make the #libcamera + #PipeWire camera stack work on the #Librem5 and #PinePhone 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 #megapixels or #millipixels - 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,
@rmader@floss.social avatar

Note that with all of this in place, camera support on a lot of other devices is in close reach. For example the and should only need kernel patches enabling the camera sensors. The softwareISP should then - at least in theory - "just work". Well, fingers crossed :)

P.S.: the one device where this already worked is the - but until recently it broke audio. That was also fixed in the process.

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

rmader, to GNOME
@rmader@floss.social avatar

Thanks to @slomo the gtk4paintablesink just got support for DMABuf (and thus Wayland/KMS) passthrough \o/

https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1547

This will allow to make video playback in various apps much faster. And, if everything works out, allow the same for Camera viewfinders in apps like camera / snapshot 🤞

rmader, to linuxphones
@rmader@floss.social avatar

Is there anyone from the community living in Berlin with a working battery who would be willing to help me booting and updating my device once? Unfortunately my battery is dead and I haven't found out how to quickly get a new one - however IIUC it would boot without battery once updated to a newer firmware (https://forums.puri.sm/t/librem-5-does-not-boot-without-battery/16954/11).

agx,

@rmader @rmader Is that an evergreen? Maybe I could get you a spare battery.

rmader, to GNOME
@rmader@floss.social avatar

I'm slowly discovering all the nice stuff in that other devs have been working on.

My personal favorite so far are the generic Cal/Card/WebDav accounts, for several reasons.

First of all, I use CalDav and CardDav extensively, both personally and at work. Especially my contacts are something that I on one side want to be available on all my devices - and on the other side really want to have control over. I.e. I only want that data on providers I trust.

🧵

rmader,
@rmader@floss.social avatar

On my phone - which is not yet a #linuxmobile one - I use the fabulous #davx5, while on my desktops the only real option for me was #Thunderbird
And while that is fine, trying using a Gnome Online Account suddenly showed me what I've been missing out so far, which is not only great native apps like #gnomecalendar , but also #gnomeshell integration, global search providers etc.
Until now - around two weeks - the experience has been awesome and it's definitely changing the way I use Gnome.

rmader,
@rmader@floss.social avatar

Another native app I find myself using more and more is
Just because it started to be the most efficient way for me to look things - usually a bicycle route. I.e. its increasingly convincing me by utility, not by the additional reason of better privacy etc.

I should probably add that it actually is a clear goal of mine to use native apps more and more (again) for various reasons - one big one being that it's important for - and, well, I'd say its going great :)

rmader, to random
@rmader@floss.social avatar

I used the weekend for some spring cleaning in my brain, looking into a couple of camera issues in the Gnome-Camera/Snapshot stack.

It turned out to be quite productive. If you faced one of the following issues in the past, things will likely soon get better:

  1. Unreliable camera portal behavior, notably the portal reporting that there are no cameras present.
  2. High delay with some cameras, especially external USB ones.

...

rmader, to GNOME
@rmader@floss.social avatar

What I really like about is that it turned out to be a really good release for old and low-end devices. One of my test devices is Thinkpad T400. That hardware is over 15 years old and is has actually got faster over the last few years - especially this release.

One of my favorite improvements here, headed by Christian Hergert, was the boost to VTE. Terminals using are now much faster and responsive. I mean, damn, even switching tabs doesn't trigger a full redraw!

A video of Gnome-Console running on a Thinkpad T400. The Mutter damage overlay is enabled, showing that updates to the content only updates the areas that actually change - even when switching tabs.

rmader,
@rmader@floss.social avatar

There were also a bunch of improvements to screen casting, resulting in being the first release where I can make fullscreen recordings on this device at reasonable speed. I can even play video during recording, as long as hardware decoding is used (only mpeg2 :P).

A screencast taken on a Thinkpad T400, showing the Setting about page, scrolling in the Podcast app and playing a Video.

rmader, to linux
@rmader@floss.social avatar

Friends of energy efficiency - the Light Video 0.1.0 #Flathub update is out, build with #gtk4 4.14 and #GStreamer 1.24.1.

This should be the first app targeting the #linux / FDO desktop enabling Wayland video offloading (think zero-copy playback) by default. In many cases (actually more than I expected) this can improve battery lifetime - and on low-end devices even playback performance - significantly.

https://flathub.org/apps/org.sigxcpu.Livi

rmader,
@rmader@floss.social avatar

This is kinda a technology preview in order to see if we can ship features like this enabled by default in a lot more apps in the ecosystem.

Thus I'd be very super happy if you'll try it on lots of hardware - be Intel/AMD laptops or ARM64 devices (with V4L2 stateless decoders, such as most #LinuxMobile devices).

Chances that you really hit a zero-copy path are highest with a recent #Wayland compositor - i.e. if you are using #GNOME46, #kde6 or a recent version of #sway, #weston, #cosmic etc.

rmader,
@rmader@floss.social avatar

If you run Gnome, you can enable the opaque region overlay, which draws green or purple overlays over the content whenever Mutter is compositing - and shows the content normally when doing direct-scanount / zero-copy.

You can enable it via alt+f2 -> "lg" -> "Flags" -> OPAQUE_REGION

When things work correctly, you should get a purple overlay when in windowed mode or player controls are visible - and a normal image when fullscreen without controls.

Livi in fullscreen mode, playing a video. No player elements are visible and there's neither a green or purple overlay over the image.
Livi in fullscreen mode, playing a video. Some player elements over the video are visible and the whole image is slighly green from the opaque overlay.
Livi in fullscreen mode, playing a video. Some player elements over the video are visible and there is neither a green or puprle overlay.

rmader, to GNOME
@rmader@floss.social avatar

For those who like me find themselves often listening radio on youtube during work - lofi stuff in my case - I can really recommend giving a try. If you search for a genre, chances are high that you get like 5-10 stations to choose from. And using a dedicated radio app has a bunch of benefits in different domains.

nekohayo,
@nekohayo@mastodon.social avatar

@rmader Also check out the "Monophony" sister application that does the same thing but specifically for searching and listening to YouTube audio streams… great niche app for content that is not necessarily found in webradios

nekohayo,
@nekohayo@mastodon.social avatar

@rmader Interesting fact: it uses #GStreamer, but apparently some months ago the developer was questioning whether it made sense to keep using it, because they had reliability issues (don't know what they might be, as I've never encountered problems with the app): https://gitlab.com/zehkira/monophony/-/issues/122

rmader, to random
@rmader@floss.social avatar

1.24 got released today and comes with explicit modifier support for DMABuf. Fittingly the MR to add support for that to the Gst plugin also just landed.

This fixes some long standing issues where things could terribly break - one example being encoding on Intel.

So if you have an app that you'd like to support screen sharing on Wayland (and uses ): the upcoming cycle will be a great time to start with that!

https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1881

rmader, to random
@rmader@floss.social avatar

Just found out that on one can add a + to an issue or MR link, making the preview show the whole title. I.e. instead of "" you get "Some thing is broken ()" - if you write "+"

So if you don't know, now you know 🤷

thiagocsf,
@thiagocsf@techhub.social avatar

@rmader if you add +s you get some extra details: assignee, milestone, and health status.

https://docs.gitlab.com/ee/user/markdown.html#show-the-issue-work-item-or-merge-request-summary-in-the-reference

kreynen,
@kreynen@fosstodon.org avatar

@thiagocsf @rmader TIL that there are still things to learn about GitLab.

rmader, to linuxphones
@rmader@floss.social avatar

For those of you interested in our recent video offloading / zero-copy playback work: I quickly put together some #livi #flatpak s to make it easy to test stuff already. Compositor offloading should work on all semi-recent Intel/AMD and a variety of ARM64 devices.

If you trust the sandbox you can get them here:
https://cloud.silentundo.org/s/r8733siTjP4yRJp

I expect quite a few people hitting driver bugs, so please help tracking those down :)

#LinuxMobile #gtk #GStreamer #Wayland #GNOME

A picture of a PinePhone Pro easily and smoothly playing a 4k@60fps VP9 video.

rmader,
@rmader@floss.social avatar

Things should generally work on #gnome45, #kde6, #sway and #weston - not sure about other compositors.

I haven't tried #kde myself yet as NV12 support was only added recently. But tomorrow there's a local #kde release party where I hope to convince some people to try on their devices.

rmader,
@rmader@floss.social avatar

For those using HW that still uses the stateful V4L2 API for decoding - such as the #RaspberryPi4 - I uploaded another build to the link in the first post that includes a #GStreamer patch that is not close to landing, but works well enough to make playback work.

With that I can play 1080p30fps videos (the decoder limit) on my big screen smoothly, which otherwise not possible (apart from reducing the resolution).

https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6114

#RaspberryPi #Wayland #gtk

The video shows a Gnome desktop running on a Raspberry Pi 4, using a screen with a resolution of 2560x1440 pixels. A 1080p@30fps video is played with the mentioned livi player build. While the video is choppy when the video overlay is visible, it becomes fully smooth once the overlay is hidden and zero-copy playback using the display controller hardware plane is used and the 3D engine can be skipped.

rmader, to GNOME
@rmader@floss.social avatar

My Mutter MR to support scaling and cropping via KMS landed in time for

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3177

I'm really happy about this one because it should improve things for multiple use-cases:

  1. It allows full hardware offloading of fullscreen video playback for cases when the video dimensions don't perfectly match the screen, i.e. up- or downscaling. There are not many clients supporting this yet - but hopefully we'll see more soon, especially ones.

Short 🧵

rmader, to GNOME
@rmader@floss.social avatar

My presentation about video offloading is online. If you are interested, you can watch it here: https://fosdem.org/2024/schedule/event/fosdem-2024-3557-the-state-of-video-offloading-on-the-linux-desktop/

I'm happy about feedback, both on the technical side as well as how I can improve doing presentations :)

rmader,
@rmader@floss.social avatar

@nekohayo It's a marten though ;)
And now translate that to German.

nekohayo,
@nekohayo@mastodon.social avatar

@rmader Ach, die Echten Marder (Martes GStreamerica)? 🧐️

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