You are not logged in.

#1 2021-05-25 22:36:38

wzrdtales
Member
Registered: 2017-03-14
Posts: 72

xdg-desktop-portal screensharing is incredibly slow

Hey there,

since zoom screensharing seems to got broken since gnome 40.1 I had a look at pipewire and xdg-desktop-portal again. I still has the same problem why I avoided using it in the first place.

Performance. It is not a screenshare, this would be an insult. It is a picture by picture. Honestly, I can do faster produce screenshots and upload them than xdg-desktop-portal does in updating them... .

So I suspect something must be wrong, it can't be that bad right? Framerate is probably something around 1 frame every 2-3 seconds or so. However I couldn't find any settings to tune for either pipewire or xdg-desktop-portal, so I am asking here if anyone knows?

Offline

#2 2021-05-25 22:39:20

wzrdtales
Member
Registered: 2017-03-14
Posts: 72

Re: xdg-desktop-portal screensharing is incredibly slow

Just tested with the built in video recorder of gnome (cntrl+shift+alt+r) and it has nice fluid framerate. so... not sure what is wrong

Offline

#3 2021-05-25 22:45:34

icar
Member
Registered: 2020-07-31
Posts: 562

Re: xdg-desktop-portal screensharing is incredibly slow

Open dconf, go to org/gnome/mutter/experimental-features and enable the ['dma-buf-screen-sharing'] (comma separated if you have any other)

Offline

#4 2021-05-26 09:07:12

wzrdtales
Member
Registered: 2017-03-14
Posts: 72

Re: xdg-desktop-portal screensharing is incredibly slow

ok got quite a bit better with that setting, still not comparable to zooms performance before 40.1 on wayland and still stuttering, but I guess that is due to me being on a mobile processor with a 4k display and a missing friendly codec for the video since it seems to send the screenshare in a very high quality. framerate now is however way better, big screen updates still take some time, but working on code is somewhat ok to watch (not really fluid and still worse performance than gnomes built in video recording)

Offline

#5 2021-05-26 09:15:42

icar
Member
Registered: 2020-07-31
Posts: 562

Re: xdg-desktop-portal screensharing is incredibly slow

That might be because it is not using hardware acceleration. I don't know about Zoom, sorry.

Offline

#6 2021-05-26 10:01:36

wzrdtales
Member
Registered: 2017-03-14
Posts: 72

Re: xdg-desktop-portal screensharing is incredibly slow

zoom is still broken even with that setting. so also don't know, they lately patched something and now there is not even a selection anymore.

however concerning hardware acceleration, i was testing the browser integration (firefox) of xdg-desktop-portal, is that a setting in firefox or somewhere else that i can try to tune?

Offline

#7 2021-05-26 10:47:30

CarbonChauvinist
Member
Registered: 2012-06-16
Posts: 413
Website

Re: xdg-desktop-portal screensharing is incredibly slow


"the wind-blown way, wanna win? don't play"

Offline

#8 2021-05-26 12:47:18

wzrdtales
Member
Registered: 2017-03-14
Posts: 72

Re: xdg-desktop-portal screensharing is incredibly slow

yah have those all already for long, but hey don't help, but with chromium it seems to perform little better.

Offline

Board footer

Powered by FluxBB