Originally posted by binarybanana
View Post
Originally posted by binarybanana
View Post
Yes they do support gbm now. Yes the libgbm interface has functional implicit sync interfaces when you use it.
Originally posted by binarybanana
View Post
The reality is you are not getting the rendered frame back with Wayland until after vblank in most cases because that is when the GPU will have in fact created it before that it just a set of numbers saying where different buffers go. Think paint by numbers item that what you have at the Wayland compositor and this is what wayland compositor sent with a set of dmabuf to paints use as to the GPU and its the GPU who is the party who paints the picture yes some of those colors in the dmabufs need the gpu painter todo some final mixing to make their colors as well. Attempting to get the scanout early just gets you the paint by numbers representation with partly mixed paints.
Yes you have been making the mistake thinking a paint by numbers with part mixed paints is a final painting. Wayland is design this way to reduce the latency.
Originally posted by binarybanana
View Post
DBUS items you don't see in Wayland protocol. This is xdg-desktop-portal. DBUS is handling the inactive window Global Shortcuts cut delivery. Dbus xdg-desktop-portal being a high privilege thing can be requesting straight from libinput or straight from the input device itself so bypass the Wayland compositor. . Yes this is new as of Sep 2022 and will take a while to be implement though and wrappers created for legacy applications.
Yes stacking wayland compositors if wayland compositors are in charge of global short cuts handling conflicts is going to be trouble. xdg-desktop-portals is a stack of dbus services and all dbus services are like their own applications. Yes the generic xdg-desktop-portal implementation of GlobalShortcuts will be able to work no matter the Wayland compositor/X11 server you are using because it will just go to the raw kernel level input events as it has the privilege todo this.
Yes the X11 solution for global shortcuts is simply every application with a global shortcut capture all input and filter out the short cut application needs this is why you could have two or more applications attempt to come active under X11 at the same time when you pressed global short cut and if both programs were deterred to activate end in cat fight consuming all CPU resources. So correct handling of global shortcuts is something X11 desktops need as well. So it make sense for the solution to generic.
Comment