From reading the non-GONME-specific subsections of the "Wayland Screensharing" section it sounds like the instructions are more or less universal. Instead, they do not work on the default GNOME compositor Mutter. I was confused by this and tried to configure my system according to the instructions. But apparently they only work for wlroots-based compositors since wf-recorder prints "compositor doesn't support wlr-screencopy-unstable-v1" under GNOME. That should be more clear. I am writing this on the Talk page, because I am a more or less inexperienced ArchWiki contributor. As far as I understand this means that there seems to be no way to share a screen with clients still relying on X11 (such as zoom) under GNOME on Wayland.
I added a warning on concerned sections
- Edit: reverted, see #Refactor Wayland screen capture
Refactor Wayland screen capture
I'm going to refactor the Wayland part of this page to better reflect the limitations due to the protocol (wlroots in this case). I thought to something like this :
3 Screencapture under Wayland
- general stuff such as the grim/slurp method
- 3.1 Wlroot-based compositor
- the wf-recorder method
4 Screenshare under Wayland
- 4.1 Gnome
- gnome part stays unchanged
- 4.2 Wlroot-based compositor
- 4.2.1 Via a virtual webcam video feed
- sharing individual applications goes in a tip block about how to share a region of the screen
- 4.2.2 Via WebRTC protocol
- 18.104.22.168 Multiple monitors
- This might better fit in a big tip block but I'm not sure, let me know what you think
Let me know what you think of this organization
- Thanks for taking the time to work on this. It is certainly a good idea to restructure this. A bit confusing for me is that there are then four different terms in the headings that are somehow similar: Screenshot, Screencast, Screenshare and Screencapture. Maybe it would make sense to stick to how Wikipedia defines it : Screen capture is the general term and screenshot and screencast are the more specific terms.
- Also, screencasting via WebRTC actually works on my machine under GNOME via PipeWire#WebRTC_screen_sharing. So putting it under the "Wlroot-based compositor" section is probably wrong. At least it should be mentioned that this is possible on GNOME as well.
- I have no real opinion on where to put "Multiple monitors". Moving it into a tip block or keeping it in a subsection should both be fine.
- Concerning WebRTC, I could expand it's section on this page or PipeWire's page and just add a link to it on the other. I would mention the different backends (gnome, wlroots, kde). Furthermore, it will gather all the information on the same place. I also think Remote desktop/Desktop sharing is worth mentioning and I could also just link to another page : Wayland#Remote display.
- The virtual video feed section can be generalized to any screen recorder such as green-recorder for Gnome. You just need to output the video on the virtual device. I didn't test it but I think that there wouldn't be any problem.
- Thus I can just keep the actual structure and expand the sections to be usable with any DE / WM. What do you think of it ?
- I like it better now. One thing that still confuses me a bit is that most of the extensive instructions are for wlroots-based compositors. For example, it is currently still unclear for me how to cast my video via zoom or Teams under GNOME. However, I currently have no good idea how to properly fix this. Maybe somebody else has an idea? Jaudriga (talk) 10:00, 11 January 2021 (UTC)
- Lahwaacz flagged a section to move so I'm going to move that. Concerning the few instructions for non wlroots-based, I use sway (wlroots-based) so I don't really know how GNOME and others work and I don't want to write things that I'm not sure are working. So I'm not going to write detailed instructions such as those written for wlroots. -- Ocisra (talk) 12:11, 11 January 2021 (UTC)
- I recently found out that GNOME has support for built-in screencast recording under Wayland GNOME/Tips_and_tricks#Screencast_recording. It probably makes sense to add that to a Screen_capture#Screencast_software#Desktop environment specific Section? Jaudriga (talk) 08:32, 8 February 2021 (UTC)
Via a virtual webcam video feed
The method described in Screen capture#Via a virtual webcam video feed is described with a little bit more detail about v4l2loopback in the new article here: v4l2loopback#Casting Wayland using wf-recorder. So I think it is safe to delete most of the text except for the link on top. -- Microraptr (talk) 22:33, 29 January 2023 (UTC)