@rmader@floss.social
@rmader@floss.social avatar

rmader

@rmader@floss.social

Mostly #wayland stuff around #gnomeshell, #gstreamer, #Firefox, #Pipewire, #libcamera, #linuxmobile - https://floss.social/@collabora

Generally thing that make the Linux desktop use graphics hardware features. And sometimes random boosts.

Based in Berlin.

Member of the German green party.

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, to linuxphones
@rmader@floss.social avatar

If you want to follow the process of getting the (with softwareISP) + stack into place on - which will allow way more apps to use cameras on devices like the , (the 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, 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).

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, 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, 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, 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.

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 🤷

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, 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, to random
@rmader@floss.social avatar

My talk about more efficient video playback on the desktop will start in about an hour - you can follow it at https://fosdem.org/2024/schedule/event/fosdem-2024-3557-the-state-of-video-offloading-on-the-linux-desktop/

rmader, to random
@rmader@floss.social avatar

My MR for the demo video player finally landed \o/

That means you if you build main on top of main, you can now run gtk4-demo --run=video_player and get zero-copy video playback - at least when using HW with VA-API support, i.e. Intel/AMD for now, and a compositor with YUV format support (most importantly NV12).

https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6618

rmader, to random
@rmader@floss.social avatar

After some more debugging, here are two videos proving that / video playback with fullscreen GL/VK overlay works on a and / on / , each maxing out their video decoders with 1080p@60 and 4k@60 respectively.

The message here is: no matter what hardware - if you want to make a video/camera app that needs to be highly efficient, you can do it with a proper, yet still lightweight toolkit now. No need for a custom kms/drm backend.

The GTK4 demo video player on a Raspberry 4, playing BBB. The camera moves over to another screen with Weston debug output, showing that the compositor uses hardware planes, which is needed for optimal playback performance.
The GTK4 demo video player on a Pinebook Pro (using a RK3399 SoC), playing BBB. The camera moves over to another screen with Weston debug output, showing that the compositor uses hardware planes, which is needed for optimal playback performance.

rmader, to GNOME
@rmader@floss.social avatar

Got the last bug fixed to make play video with overlay in full zero-copy / hardware plane only mode \o/

This allows highly efficient playback with e.g. subtitles and other overlays, only using the GPU when GTK needs to repaint parts of the main window / the overlay.

I'll talk more about this at my presentation at , see https://fosdem.org/2024/schedule/event/fosdem-2024-3557-the-state-of-video-offloading-on-the-linux-desktop/

The video shows a weston desktop. The gtk4 video player demo is launched, a video started and put into fullscreen. The camera moves to a second screen where weston debug output is printed, showing that weston indeed uses a cursor, overlay and primary plane (and no rendering / compositing) to display the video and overlay (and thecursor).

rmader, to GNOME
@rmader@floss.social avatar

I'll also be at and do a short talk about video offloading related stuff I've been posting about, featuring , , and

https://fosdem.org/2024/schedule/event/fosdem-2024-3557-the-state-of-video-offloading-on-the-linux-desktop/

See you there!

rmader, to GNOME
@rmader@floss.social avatar

Regarding the future of video playback in I'd like to add some more context around current developments in , and in a short 🧵

TL;DR: by making use of more modern hardware features we're finally in the position to catch up to other platforms with regards to energy efficiency. So let's do it!

rmader, to GNOME
@rmader@floss.social avatar

For app folks: IMHO we need to think about what to do with Totem / Gnome Videos. It has not yet been ported to , which is increasingly becoming an issue.

Apart from not fitting nicely UI wise, it prevents us from using the newly introduced hardware offloading (zero-copy playback) and, crucially, from (properly) supporting HDR content going forward.

I.e. we either need a port - or should consider making an alternative a core app to focus on.

Short 🧵

rmader, to linux
@rmader@floss.social avatar
rmader, to firefox
@rmader@floss.social avatar

enables by default \o/

Let's hope it sticks 🤞

https://phabricator.services.mozilla.com/D189367

rmader, to random
@rmader@floss.social avatar

The demo video player in full pass-through mode. We're getting there!

rmader, to linuxphones
@rmader@floss.social avatar

For and Linux folks I'd like to point out this post by @hergertme :

https://fosstodon.org/@hergertme/111331619547963573

These patches should help performance on drivers/devices using the GLES3 backend - besides notably and , maybe also some ones (those where the hardware doesn't support GL 3.2).

If your distro targets such devices and doesn't ship GTK 4.12.x, it might be worth backporting those.

Not an expert here, but I think it's mainly the use of VAOs.

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