9 ms·
Could someone quickly recap what DDX and glamor are, and how they relate to XWayland, Xorg, Wayland, and nVidia binary drivers.
by zokier 13y ago
Could someone quickly recap what DDX and glamor are, and how they relate to XWayland, Xorg, Wayland, and nVidia binary drivers.
- Spittie 13y agoDisclamer: I'm not a kernel/driver developer, so take everything with some salt Right now, every driver provide a different DDX (think about it as an API), which the X.org server uses to offload 2d drawing to the GPU. Glamor is a way of doing 2D rendering on the GPU through OpenGL. It's currently used by RadeonSI (AMD 7xxx cards and newer), and can optionally be used by other free drivers (Intel, r300/r600, Nouveau). If XWayland drop supports for DDX, then drivers that want to offer accellerated 2D on it have to support Glamor. Free drivers can already use Glamor, so it's not a problem, but closed source drivers have yet to implement it (and I'm not sure if it's merely a manpower problem, or there are also licensing problems)
- zanny 13y agoJust to simplify Spittie a bit for clarity, under X you have dedicated 2d drawing APIs. Wayland uses EGL, and just drops 2d entirely, so the entire desktop is running top of GLES. In order to run legacy X applications, Glamor is being baked into the X server so that X apps using Xrender can still work, but the binary drivers aren't using it yet, for a myriad of reasons.