this post was submitted on 18 Jan 2024
-16 points (30.0% liked)

Linux

48310 readers
645 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
 

hi all, to my understanding the above are like WINE in that they try to remedy an unideal situation and thus have to operate with older protocols. is that understanding correct or are they independent / capable of being independent

all 18 comments
sorted by: hot top controversial new old
[–] hallettj@beehaw.org 28 points 10 months ago (1 children)

Wayland replaces the older X protocol. It doesn't have to operate with older protocols. You might be thinking of XWayland which is a proxy that receives X API calls from apps written for X, and translates those to the Wayland API so that those apps can run under Wayland implementations. Window managers can optionally run XWayland, and many do. But as more apps are updated to work natively with Wayland, XWayland becomes less important, and might fade away someday.

PipeWire replaces PulseAudio (the most popular sound server before PipeWire). Systems running PipeWire often run pipewire-pulse which does basically the same thing that XWayland does - it translates from the PulseAudio API to the PipeWire API. It's a technically optional, but realistically necessary compatibility layer that may become less relevant over time if apps tend to update to work with PipeWire natively.

So no, both Wayland and PipeWire are capable of operating independently of other protocols.

[–] jackpot@lemmy.ml 9 points 10 months ago

youre right i was thinking of xwayland, tysm. also, yes i was thinking of pipewire-pulse. i was worried these compatibility layers WERE the programs in their entirety. as in, they had no protocols themselves but rather optimised older, deprecated ones.

[–] tkk13909@sopuli.xyz 25 points 10 months ago (1 children)

I'm not even remotely sure how you came to that conclusion.

[–] jackpot@lemmy.ml 1 points 10 months ago
[–] Rustmilian@lemmy.world 11 points 10 months ago* (last edited 10 months ago) (1 children)

Pipewire is a modern audio server that can drop-in replace the mess that is alsa, pulse audio, jack, etc.

Wayland is a communication protocol made to be a replacement for the X11 protocols, with it's compositer implementations being the replacement for Xorg.

[–] jackpot@lemmy.ml -3 points 10 months ago (1 children)
[–] Kanedias@lemmy.ml 6 points 10 months ago (1 children)

Advanced Linux sound architecture

[–] PseudoSpock@lemmy.dbzer0.com 3 points 10 months ago (1 children)

Wait what? I'm no fan of Wayland, but what you just said, I'm afraid, is all wrong.

  1. Wayland, although being around for over a decade, is the newer protocol. The older protocol would be X11.
  2. Pipewire is also the new kid on the block, for audio. PulseAudio would be the older one being replaced.
  3. WINE is a Windows compatibility layer or wedge. It stands for Wine Is Not an Emulator, if I recall.

Wayland seeks to provide a newer display standard, as I keep being told (forcefully and repeatedly) X11 is not sustainable... There's a lot about that we don't need to rehash here, but long story short, In with the new (Wayland), and sooner or later, out with the old (X11).

Pipewire is meant to be a replacement for PulseAudio, and near as I can tell, quite backwards compatible.

WINE is to run Windows application on Linux. Like many Linux applications right now, it is being updated to support Wayland (I believe that's well underway already) and it already works fine with Pipewire. WINE will work on X11 and Wayland.

Lastly, what do you mean by weaker systems? X11 is weak when it comes to being security conscious. Part of Wayland's mission is to address that by being far more secure by default. Pipewire, while maintaining backwards compatibility, is able to do more things, as well, than the original PulseAudio.

[–] jackpot@lemmy.ml 1 points 10 months ago (1 children)

scroll down and read hallet's comment amd my reply, it'll clear confusion. thank you for the explainwr!!

[–] PseudoSpock@lemmy.dbzer0.com 4 points 10 months ago (1 children)

I would, but that thing is happening again where I'm not seeing other comments... just the count of comments. WTF lemmy?!?

[–] jackpot@lemmy.ml 1 points 10 months ago

what app are yoy using

[–] leanleft@lemmy.ml 2 points 10 months ago (2 children)

linux is old too. we should reinvent it.

[–] Auli@lemmy.ca 5 points 10 months ago (1 children)

The thing is Linux continuously gets things added and sometimes dropped. And the coding they was done in X would never be allowed in the Linux kernel.

[–] jackpot@lemmy.ml 0 points 10 months ago

ship of thessues

[–] Thorned_Rose@kbin.social 1 points 10 months ago

Can't tell if this is serious or if sarcastic.