Registered Member
|
I'm running a fresh install of KDE Neon, and have logged in using Wayland. When I try doing a screen share it doesn't work. I've tested using Firefox, running with MOZ_ENABLE_WAYLAND=1 set, and I'm testing with this page:
https://mozilla.github.io/webrtc-landing/gum_test.html I've also tested in Google Chrome with chrome://flags -> #ozone-platform-hint set to "auto" When I try triggering a screen share I get a blank black box, with a mouse cursor on it. I've tried this with OpenSUSE Tumbleweed, and screen share under wayland works there, tested with Firefox. Is this a known issue in KDE Neon? Any way for me to report it? [Edit] This is caused by xdg-desktop-portal being out-of-date, and so not properly triggering the KDE screen selection dialog. It can be fixed by upgrading xdg-desktop-portal from ppa:hggg-0/neon-backports. Many thanks to @claydoh and @sstaeglich for helping diagnose this issue. I've written up full instructions here: https://jaytuckey.name/2022/03/14/how-t ... d-session/
Last edited by jaytuckey on Mon Mar 14, 2022 1:47 am, edited 2 times in total.
|
Registered Member
|
You probably need to switch over completely to pipewire for this.
I needed to do some screen recording, and had to do this so that I could use OBS for screen recording in Wayland - the only real, useful option. I *think* I followed this tutorial for it, or something similar : https://linuxconfig.org/how-to-install- ... untu-linux In any case, this does get me Wayland screen recording in OBS 27.2.2, using the flatpak (ppa version does not work for this), and testing your link, it works in both FF and Chrome for me.
claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
|
Registered Member
|
Thanks @claydoh I'll give that a try and see how it goes.
|
Registered Member
|
I have tried the steps you suggested, @claydoh, but no luck - screen sharing still doesn't work for me. When I try to share, it doesn't even prompt for screen share permissions, so I wonder if the xdg-desktop-portal-kde isn't set up correctly. I can see it running in the background, but don't get prompted to accept the permissions. In OBS I can't even see screen share as an option. I've also confirmed that I'm running OBS from Flatpak, which I am. Interestingly, when I start it on the command line, I see this in the text during start-up:
This is how I've confirmed that my pipewire is upgraded to the latest, as per the article:
|
Registered Member
|
xdg-desktop-portal is just too old. You could try it with the the version of ppa:hggg-0/neon-backports
|
Registered Member
|
I wonder if there was something else I needed. I can't recall. Will dig and see if I find anything.
claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
|
Registered Member
|
I am using whatever is in Neon, with no issue:
This version is more current than what is in that PPA.
claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
|
Registered Member
|
Oh, interesting, my version is older:
I wonder why mine hasn't been upgraded. |
Registered Member
|
Nice but this package isn't provided in the stable branch. |
Registered Member
|
But I am using the User edition, not the dev or testing edition. I'll see if i can find out. Maybe this was the part I think I am forgetting? Edit: Apologies!! Yup, it seems to be. I should have seen it immediately from the lack of sourcing info for the version. Odd, as I don't normally manually install packages from other release tracks, as a matter of course. I definitely don't recall doing so.
claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
|
Registered Member
|
Ok, many thanks @claydoh and @sstaeglich - I've just added ppa:hggg-0/neon-backports and upgraded xdg-desktop-portal from it, and now I get prompted to select a screen, then have working screen share from Firefox and OBS Studio. 🥳 🎉
Strangely Chrome is still broken, it doesn't trigger the screen share prompt for me, but that's not a big issue, I'm sure it will be fixed in the future. I'm guessing this will also just be fixed for all installs once Ubuntu 22.04 releases, and Neon upgrades it's base to 22.04, since that would have a newer xdg-desktop-portal included. |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]