You are not logged in.

#1 2023-11-09 16:31:21

0BADC0DE
Member
From: Regnum Utriusque Siciliae
Registered: 2018-02-21
Posts: 342

[SOLVED?] KDE/Plasma on Wayland: weird screen sharing

Hi all.
Since sometime now screen sharing features in my KDE/Plasma on Wayland is behaving in a weird way.
When I need to do a screen sharing session (it is usually via browser) I get this sequence:

1. A dialog from the browser (Vivaldi in my case), to choose whether I want to share an entire screen, a window or a single browser tab. Let's say a screen.
2. A KDE window from "Portal - Screen Sharing" to choose which item I want to share. Let's say I choose the external screen. This window closes after my choice.
3. I am back at the dialog at te step #1 where I choose "SHARE" button.
4. The other party sees something is to be shared, but it only gets an empty screen.
5. Another KDE window like the one at step #2 pops up. I select again the external screen.
6. The other party finally sees the shared screen.

In the past it was needed only t reach step no.3 to get it done. But I don't know is this behavior is now my fault (likely) or something else.

Any idea?

My system is:

Kernel Version : 6.6.1.zen1-1
Plasma Version : 5.27.9-1
KDE Version : 23.08.2-2
Frameworks Version : 5.111.0-1
Qt5 Version : 5.15.11+kde+r12-1
Qt6 Version : 6.6.0-3
Wayland Version : 1.22.0-1
XOrg/Wayland Version : 23.2.2-1
Mesa Version : 1:23.2.1-2
LibVA Version : 2.20.0-1
VDPAU Version : 1.5-2

To get the screen sharing I have installed these packages (and related dependencies):

extra/xdg-desktop-portal 1.18.0-2
extra/xdg-desktop-portal-kde 5.27.9-1
extra/kpipewire 5.27.9-1
extra/pipewire 1:0.3.84-1
extra/wireplumber 0.4.15-1

Last edited by 0BADC0DE (2023-11-10 10:51:38)


Maybe Computers Will Never Become As Intelligent
As Humans. Surely They Won't Ever Become So Stupid.

Offline

#2 2023-11-09 16:38:57

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,285

Re: [SOLVED?] KDE/Plasma on Wayland: weird screen sharing

I've noticed that as well today, on a limb I'd wager pipewire regression since it's the most recently updated thing with a relation here, but I'm not 100% sure, maybe also chromium regression/haven't tested other browsers

Works fine on firefox, seems like a chromium bug.

Last edited by V1del (2023-11-09 16:44:12)

Offline

#3 2023-11-10 10:51:08

0BADC0DE
Member
From: Regnum Utriusque Siciliae
Registered: 2018-02-21
Posts: 342

Re: [SOLVED?] KDE/Plasma on Wayland: weird screen sharing

I could finally make a test with Firefox "119.0.1 (64-bit)" and Ungoogled-chromium "119.0.6045.105 (Official Build, ungoogled-chromium) Arch Linux (64-bit)", besides Vivaldi "6.4.3160.42 (Stable channel) stable (64-bit)" .
The behavior I am experiencing seems to be linked to the browser and not to the underlying system: it is "normal" with Firefox (1 popup), it is "weird" for both (Ungoogled-)Chromium and Vivaldi (2 pop ups).

Firefox test hasn't been straightforward, though.
First, Slack web-client (my preferred app) seems to be resistant to Firefox screen sharing features. I couldn't make it work (my fault?).
So I reverted to Zoom web-client.
I had to enable `media.webrtc.camera.allow-pipewire` and `media.webrtc.capture.allow-pipewire` in the `about:config` menu to make it work.
No browser restart was needed.

Upon screen sharing request I allowed for it and a single pop up asked me what to share. Then it worked without any double request.


Maybe Computers Will Never Become As Intelligent
As Humans. Surely They Won't Ever Become So Stupid.

Offline

Board footer

Powered by FluxBB