Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Robert Mader

@rmader@floss.social
mastodon 4.7.3
  • Open on floss.social

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

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

Based in Berlin.

Member of the German green party.

28 Followers
102 Following
18 Posts
Joined December 18, 2022
Gnome Gitlab:
https://gitlab.gnome.org/rmader
FDO Gitlab:
https://gitlab.freedesktop.org/rmader
Github:
https://github.com/rmader
Mozzila Bugzilla:
https://bugzilla.mozilla.org/user_profile?user_id=588045
Open post
Robert Mader @rmader@floss.social
· 28mo ago
Replying to
This one is important for some #LinuxMobile devices like the #Librem5 and #PinePhone and once the update lands in #postmarketOS they should finally work ootb there \o/ (See my previous thread at https://floss.social/@rmader/112480805811558449 )
floss.social

Robert Mader: "#postmarketOS just landed the last MR needed to m…" - FLOSS.social

29
2
15
0
Open post
Robert Mader @rmader@floss.social
· 43mo ago

Trying out a new Gnome camera app: Snapshot. Written using #gtk4, #libadwaita and #rustlang it's the continuation of the stalled gnome-camera app I posted about earlier.

Highlights: xdg-camera portal support, a fully GL accelerated pipeline for the viewfinder and, most importantly, highly motivated devs!

Image quality still has room for improvements, the #nafo fella looked much better in reality.

Check it out: https://gitlab.gnome.org/msandova/snapshot

floss.social

FLOSS.social

36
4
8
0
Open post
Robert Mader @rmader@floss.social
· 38mo ago
Replying to
  1. If your app has its own indicator - like #Firefox had until recently - you can drop it and rely on DEs to inform the user for you, be it for cameras, microphones or screen sharing.

You may have seen that the FF indicator never worked well on #Wayland because apps don't get to choose window positioning themselves.

I've spoken to some devs from #kde and #sway and we all agreed that DE indicators are a much better solution.

24
1
6
0
Open post
Robert Mader @rmader@floss.social
· 38mo ago
Replying to
  1. If you use #GStreamer for cameras #PipeWire support in turn comes for free via the PW GST plugin. Additionally supporting proper #Flatpak sandboxing via the camera portal is possible with little work using #libportal or #ashpd and the GstPipeWireDeviceProvider. Feel free to ping me if you need help with this - there'll also be a new example in #workbench for this soon.
17
5
7
0
Open post
Robert Mader @rmader@floss.social
· 38mo ago
Replying to
(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.
16
2
3
0
Open post
Robert Mader @rmader@floss.social
· 38mo ago
Replying to
  1. If you additionally implement support for the camera portal and ship your app as a sandboxed #Flatpak, you'll get a better privacy rating on #Flathub, Gnome-Software & co. Show people that your app is a good citizen and respects users privacy. Make it easier for users to trust your app when they first use it.
14
3
2
0
Open post
Robert Mader @rmader@floss.social
· 38mo ago
Replying to
  1. A simple API. If your app has its own #v4l2 handling code, switching to #PipeWire gives you a much nicer API to work with. This is especially true if your app already support screen sharing on #Wayland - in that case you already have both #PipeWire and portal support and can reuse a lot of that. That's for example done in #libwebrtc for #Firefox and #Chromium.
12
4
4
0
Open post
Robert Mader @rmader@floss.social
· 38mo ago
Replying to
  1. If you use #gnome you get to see the neat little indicator :P

And other DEs will hopefully/likely start showing similar indicators soon, just as they already do for screen sharing.

9
2
1
0
Open post
Robert Mader @rmader@floss.social
· 31mo ago
Replying to
@carlschwan@floss.social NV12 (YCbCr) support in Kwin :) Edit: for people who wonder: zero-copy video playback support (Wayland only).
2
0
0
0
Open post
Robert Mader @rmader@floss.social
· 38mo ago
Replying to
@supertobi@floss.social Most #gnome apps use #GStreamer and thus pick Pipewire when available - which again is the case on many/most recent distros. Some newer ones also use the camera portal already, for example Snapshot, Authenticator and Decoder. Notable non-gstreamer apps include #Firefox (experimental) and almost (some last patches are still pending) #Chromium (and thus by extension #electron apps). There are also several branches already for #obs which will hopefully turn into a MR soon.
2
0
2
0
Open post
Robert Mader @rmader@floss.social
· 28mo ago
Replying to
@vancha@fosstodon.org not just closer, they actually work! Just not very well yet
1
1
0
0
Open post
Robert Mader @rmader@floss.social
· 28mo ago
Replying to
@Luigi311@mastodon.social yep, it was added in the context of figuring out exactly that issue for pmOS. But we went with a different (but similar) solution there.
1
0
0
0
Open post
Robert Mader @rmader@floss.social
· 37mo ago
Replying to
@cdamian@rls.social @mattdm@hachyderm.io If you want to give it a try: I think https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/src/shell-camera-monitor.c should be pretty reusable.
gitlab.gnome.org
1
0
0
0
Open post
Robert Mader @rmader@floss.social
· 37mo ago
Replying to
@alwayscurious@infosec.exchange Yes, see e.g. https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/fa4d4af4c6b1de4de7f381bd76dbdcf06afc4d87/js/dbusServices/screencast/screencastService.js#L389-398
gitlab.gnome.org
0
0
0
0
Open post
Robert Mader @rmader@floss.social
· 37mo ago
Replying to

@cdamian@rls.social @mattdm@hachyderm.io I think you could take the output of pw-dump - it's json - and check if there is a camera node and whether it's active.

0
6
0
0
Open post
Robert Mader @rmader@floss.social
· 37mo ago
Replying to

@cdamian@rls.social @mattdm@hachyderm.io Ah, I see. For such monitoring jobs you'll probably want to use the C API as constantly polling pw-dump is more expensive.

I guess sooner or later we'll want to have a pipewire-monitor library that can be used by scripting languages - maybe you can start it? :P

0
2
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 04:48:29 UTC