this post was submitted on 18 Sep 2023
188 points (95.2% liked)

Linux

56288 readers
839 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 6 years ago
MODERATORS
 

Wayland. It comes up a lot: “Bug X fixed in the Plasma Wayland session.” “The Plasma Wayland session has now gained support for feature Y.” And it’s in the news quite …

top 50 comments
sorted by: hot top controversial new old
[–] kool_newt@lemm.ee 32 points 2 years ago (3 children)

I have to use Slack for work and screen sharing doesn't work when I'm using Wayland.

[–] daq@lemmy.sdf.org 35 points 2 years ago (4 children)

Don't let Slack launch at startup. As long as it launches after pipewire - everything works. Your can also restart it to fix sharing issue, but that can be a birch if you already started a call.

[–] luciferofastora@lemmy.zip 4 points 2 years ago (2 children)

Is there a way to control the launch order? I suppose you could also find a script that waits for a given process to be responsive before launching another, but I'm not sure where I'd insert that either.

(I've been using Ubuntu mostly out-of-the-box so far and just now started having the time and energy to start learning about and fiddling with the internals)

[–] vividspecter@lemm.ee 12 points 2 years ago* (last edited 2 years ago)

If it launches via a systemd service, you can perhaps edit the file such that it depends on Pipewire before it launches.

Or disable the built in startup support and create your own service that does the same.

[–] daq@lemmy.sdf.org 7 points 2 years ago (1 children)

I'm not sure that would work. Pipewire probably starts via system (just takes a while to become functional) and slack is started by KDE. I guess you could just add a delay to slack's start, but I just start it by hand.

[–] luciferofastora@lemmy.zip 4 points 2 years ago

Starting by hand is fine and I do it with just about anything I need anyway (though I suspect there is still some startup bloat I'll need to sort out, if I don't set up an entirely new system somewhere down the line), but don't underestimate my compulsion to automate what I can (or at least know how to).

I'm a sucker for automation for automation's sake :D

[–] vancent@lemmy.world 2 points 2 years ago (1 children)

That has nothing to do with Slack's screen sharing issues. Screen sharing was broken due to Electron bugs and it's fixed in Slack 4.34.

[–] daq@lemmy.sdf.org 1 points 2 years ago (1 children)

I'd argue lazy choice of wrapping your website inside chrome instead of building a native app is Slack's issue.

I also wonder whether Slack fixed it or just waited for Google to fix it since Slack seems to only have UI designers and no actual devs on their team. They keep pumping out useless UI changes while actual bugs take years to fix.

[–] vancent@lemmy.world 1 points 2 years ago (1 children)

Many Electron maintainers are Slack employees. They're contributing upstream more than most other companies that use Electron, especially compared to their size.

[–] daq@lemmy.sdf.org 1 points 2 years ago

Could you name a couple? Genuinely interested to check out their contributions.

Also, I just updated to 4.34.119 and screen sharing is still completely broken. As is typical with Slack.

[–] kool_newt@lemm.ee 2 points 2 years ago

Oh, thx for the tip!

[–] uis@lemmy.world 1 points 2 years ago (1 children)

As long as it launches after pipewire

Why? Why plasma nailed own screensharing to audio server? There already are wayland extensions for this.

[–] thalience@lemmy.world 6 points 2 years ago (1 children)

Pioewire handles audio and video pipelines between applications.

[–] uis@lemmy.world 1 points 2 years ago (1 children)

So why Wayland instead of pipewire at all?

[–] Ullebe1@lemmy.ml 6 points 2 years ago (8 children)

Because Pipewire only handles and understands media streams, so it can stream the output of a window or the whole desktop, but only because the Wayland compositor has already composed the windows and other data it gets from the application to a visual and hands the final result to Pipewire.

load more comments (8 replies)
[–] eksb@programming.dev 17 points 2 years ago (2 children)

I started running OBS with a virtual camera to do screen sharing. It is so much nicer to manage sharing with OBS than with Slack/Google Meet/Discord.

[–] kool_newt@lemm.ee 4 points 2 years ago

Oh, never heard of this, I will check it out thx.

[–] riotrick@lemmy.world 3 points 2 years ago

Oh, that sounds like an interesting idea. Currently stuck with teams at work. Screen sharing does work under wayland. But definitely going to try this.

[–] Sh1nyM3t4l4ss@lemmy.world 8 points 2 years ago (2 children)

Try using XWayland video bridge. It should allow any XWayland apps to use screen sharing. Unfortunately most distros either don't ship it yet or ship broken versions but you can download nightly Flatpaks from Gitlab CI

[–] russjr08@outpost.zeuslink.net 2 points 2 years ago

I'm not sure why, but every time I use XWayland Video Bridge (installed as of about 2 days ago so it should still be pretty new), I just end up with a black screen being broadcasted - not sure what could be causing that.

[–] kool_newt@lemm.ee 1 points 2 years ago
[–] Hairyblue@kbin.social 15 points 2 years ago* (last edited 2 years ago) (3 children)

I want to switch to Wayland. I try it every month to see if it is working with my system and so far it is not.

Ubuntu 23.04/Nvidia 3080/Steam. It use to work with the old big picture mode but when steam went to the new one, Wayland broke for me.

[–] d_k_bo@feddit.de 7 points 2 years ago

That's weird. I thought Steam doesn't support Wayland at all and runs using XWayland.

[–] mranderson17@infosec.pub 2 points 2 years ago

Gamescope makes the experience a lot better with steam at least for me in swaywm. I experimented with running each game in gamescope using launch options but with gamescope's mediocre support of the steam overlay some multiplayer invite stuff doesn't work correctly. Running steam in bigpicture within gamescope pretty much solves all these issues and seems to improve performance too.

load more comments (1 replies)
[–] macallik@kbin.social 14 points 2 years ago

Good read, provided context that I didn't have before as a newbie

[–] redcalcium@lemmy.institute 8 points 2 years ago (2 children)

So most complaints you read about Wayland missing this or that (such as fractional scaling, or screen sharing, or global shortcuts) from over a year or two ago are likely to be wrong today.

Is fractional scaling in Wayland really working now? I tried it a while ago and everything was blurry mess.

[–] wheels@lemmy.world 5 points 2 years ago (1 children)

I just tried this and it was blurry until I logged out and back in!

[–] redcalcium@lemmy.institute 2 points 2 years ago (1 children)

Just tried it on my laptop and xwayland apps are still blurry mess, even after restart. However, all apps I use now has Wayland support that can be enabled with some flags or environmental variables, so they are actually usable now with fractional scaling. Finally I can use my laptop with 175% scaling, which is much more comfortable than 200% scaling.

[–] nora@slrpnk.net 3 points 2 years ago (1 children)

In display settings check the box to allow x11 apps to scale themselves instead of the compositor. Your cursor will still be blurry but the app content itself will be fine. A few apps like steam won't scale without some kind of launch flag though.

[–] redcalcium@lemmy.institute 1 points 2 years ago (1 children)

I don't see this option. I didn't even see the option to set fractional scaling without enabling experimental flag from command line.

[–] nora@slrpnk.net 2 points 2 years ago

I assumed you were on KDE since the dev who wrote the blog post was talking about KDE Wayland but are you on gnome? Gnome"s fractional scaling implementation isn't as good as KDE's.

[–] vividspecter@lemm.ee 3 points 2 years ago

It's working with Sway from a quick test:

swaymsg output DP-1 scale 1.7

But XWayland is blurry as expected (that's the big blocker, or all useful apps being ported to Wayland).

[–] Drito@sh.itjust.works 4 points 2 years ago* (last edited 2 years ago)

We need another display system. Something more dev friendly and more desktop agnostic.

I seems Wlroots is designed to be server agnostic (despite the name), if it is bound to a new display server many apps should be available.

[–] clemdemort@lemmy.world 4 points 2 years ago

I'd run Wayland on my main PC but Nvidia drivers don't support Wayland too well, when they do I'll switch over but for now I'll wait

load more comments
view more: next ›