Originally posted by kpedersen
View Post
DRI2 driver are kernel space drivers. Yes there are X11 user mode drivers for the X11 server with DRI2 that are attempt to patch over security the mess that is DRI2 is and don't succeed.
The idea with DRI2 of shoving all graphical buffers under 1 single file is a super stupid idea that Nvidia closed source drivers still do. Yes the big reason why Nvidia was pushing for eglstreams is they wanted to keep on doing this insecure stupidity.
It Wayland development work that brought about DRI3 that from a security point of view is somewhat right.
Wayland is not redundant because there is problem. X11 protocol is not designed to take advantage of what DRI3 offers.
swapimages/swapchain count. when you look into this you see a problem.
At best you start up X11 server with no compositor you have a count of 2. Wayland compositor on bare metal best again you will have a count of 2.
X11 server you start a X11 compositor at best you have is count of 4 for swapimages/swap chain. Remember as this number increases so does the latency.
What happens to the swap chain count when xwayland runs on top of Wayland compositor nothing does not increase. What happens to the swap chain count when you run Wayland compositor on top of a Wayland compositor again nothing. This is taking full advantage of the DMABUF in DRI3.
Yes there have been driver issue that have resulted in wayland compositors end up with counts of 4 and those issues have result with under X11 having counts of 6 and 8 when running X11 compositor. Yes people complain about X11 compositor desktops for being slow because they are.
Comment