this post was submitted on 31 Mar 2021
27 points (96.6% liked)

Linux

49740 readers
833 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 3 years ago (1 children)

This is very impressive work indeed. I have done some development around screen recording on Wayland myself and it's been a rather painful experience. Similarly to what's described in the blog post I have also hit quite some bugs or missing features.

What's also interesting is that OBS directly interfaces with pipewire. The process with xdg-desktop-portal is a request for screen recording permission that opens a popup and once the user grants permission you get a file descriptor, which is a handle to a pipewire remote. That means so far there is no need to actually use the pipewire API at all.

Actually you can even use another library and let it handle the pipewire related things. This is what I did, pipewire ships with a gstreamer plugin and like that there is no need to interface with the rather unstable pipewire API directly and instead the stable API of gstreamer can be used.

As OBS doesn't do this the devs will have to put in quite some more work to keep up to date with pipewire. But I understand why they directly interface with pipewire. Like this they can share dma bufs to display the screen faster and far more efficiently.

[–] [email protected] 2 points 3 years ago

Interesting!