Originally posted by mSparks
View Post
I assumed you meant that Unix domain sockets allow to pass file descriptors as part of such data transmissions.
Which allows very efficient handover of of larger data blocks than transmitting the actual data over socket.
One of the main difference between a file/http/ftp server and a display server.
X11 and Wayland does exactly the same, the Unix domain socket does not magically later is behavior or capability depending on which of the two protocols are passing through it.
Originally posted by mSparks
View Post
Which effectively means Unix domain sockets on both sides being "tied" via the tunnel.
Originally posted by mSparks
View Post
Originally posted by mSparks
View Post
Originally posted by mSparks
View Post
On both Wayland and X11 clients can render their content via various techniques and the communicate the result to the respective display server.
The most efficient way to do that in both cases is to pass just a handle to the buffer through the socket.
Especially if the client rendered on the GPU via Vulkan, OpenGL or hardware video decoder, because then the actual data never leaves the GPU memory.
On this level there is virtually no difference between any of the display server approaches, including original Mir or Arcan.
These are the features of the shared system layers and the most efficient way to do these things.
In any case we've again moved quite off the topic at hand.
Any of those display servers is capable of providing the functionality to lock the screen.
It is just very uncommon for an X11 server to do that but it is still a choice the ones implementing it have.
COSMIC developers might also choose not to do it but could do so if they wanted to avoid some of the difficulties incurred by other approaches
Comment