Replies: 5 comments
-
One crazy idea I just had for Wayland: run a docker container or VM that also runs a Wayland compositor, set it up so there are multiple "monitors" hooked up as virtual hardware, then hook up waypipe so that it can launch and render applications from the host machine, and then finally use the display output from the VM/docker as your "virtual displays." |
Beta Was this translation helpful? Give feedback.
-
I wonder if we could even kick off a second Wayland compositor (without docker or VM). Any extension of wlroots would have the ability to run headless displays that could be used for our purposes. |
Beta Was this translation helpful? Give feedback.
-
This would be awesome |
Beta Was this translation helpful? Give feedback.
-
Today I was playing around with the GNOME mutter library for spawning a headless compositor. It can take virtual display params right on startup, and even add more virtual displays on-the-fly. I found that launching it without displays was best, actually, because I plugged in this script for screen casting which seems to create its own display. I modified that script to send the gstreamer pipeline through
|
Beta Was this translation helpful? Give feedback.
-
I'm gonna close this discussion. After a lot of research and experimentation I've landed on doing this in GNOME as an extension, and eventually also using GNOME in nested mode for use with other compositors (similar to my previous comments about headless). |
Beta Was this translation helpful? Give feedback.
-
Moving the discussion from xrealAirLinuxDriver #23 here.
It looks like Wayland makes it difficult to create virtual displays that are commonly used in screen sharing apps and apps like XREAL Nebula that want to render multiple monitors to a single display (i.e. the glasses). We'll probably have to take a multi-pronged approach, targeting each Window System with their own custom desktop creation logic:
xrandr
gsettings set org.gnome.desktop.remote-desktop.rdp screen-share-mode extend
[source])Beta Was this translation helpful? Give feedback.
All reactions