Screen sharing works fine in a Xorg session. Here is the output of journalctl while I tried to screen share in firefox https://pastebin.com/KvE0K4Q9
The only lines that look interesting to me are:
fedora firefox: gdk_wayland_window_configure: assertion 'height > 0' failed
fedora gnome-shell: ATK Bridge is disabled but a11y has already been enabled.
fedora xdg-desktop-por: Unhandled parent window type
fedora xdg-desktop-por: Failed to associate portal window with parent window
fedora wireplumber: <WpPortalPermissionStorePlugin:0x5570828c71c0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
As a reference, before installing Fedora, I tried OpenSUSE tumbeweed and the screen-sharing was perfectly fine there.
I’d be grateful if anyone could help me out with this issue. If any other details / logs are needed please let me know. Thanks.
Indeed it is quite vague, I just wanted to add it as a reference. But yes, I did make sure that it was a wayland session. And it was Gnome on Tumbleweed.
By the way, I have now tried Fedora Kde Spin Live ISO and the issue is there as well.
Yes as mentioned in other topics people do have this problem that it not works with Wayland. But I’m not really sure if it is because screen-sharing is not working or because they use also NVIDIA drivers who are not configured as expected.
Could you please give us more info’s as : inxi -Fzx in terminal and post the output as </> Preformatted text here.
I found an older article about screen-sharing and Wayland … there it mentions tools how to debug. If you want to give this a try:
This may seem obvious, but I have to ask.
Was suse running gnome 42 as is running in fedora 36 or was it some other version?
Was suse running the same version of the kernel and wayland as fedora?
Knowing that the screen sharing works in suse just leads to a lot of questions about what may have been different between fedora 36 and suse tumbleweed that made screen sharing work with wayland on one system but not on the other.
Keep in mind that wayland is a DE that is still under development while xorg is a seasoned veteran and almost all conditions have been considered and the fixes are already in place for X.
Could this be related to graphics drivers? I noticed that screen sharing works fine on my laptop with same software setup (Fedora 36, Wayland, Gnome 42), but not on my PC. On my PC I have an Nvidia graphics card, but I think it’s not recognized properly, as I can’t use hardware acceleration in programs like Firefox, VLC, Handbrake, etc. Any ideas how to further debug this?