I will reply you to clarify some things but I agree with Ingo and we should let the thread die.
On Mon, Jul 01, 2019 at 07:11:37PM +0000, Roderick wrote: > > On Mon, 1 Jul 2019, Juan Francisco Cantero Hurtado wrote: > > > Can you show me what missing Wayland part is bigger than DRM+Mesa+LLVM?. > > What do you want to say with the question? He was quoting "The missing parts are not so big but nobody is working on that". That's the context. You're right. DRM and Mesa are not part of X11. Long time ago the Linux kernel developers moved part of the graphical drivers out of Xorg. At that time, the Xorg drivers (userland) had direct access to the kernel *and the hardware*. From a security point of view, the hole was quite big. That part of the project was named DRM. KMS is the kernel framebuffer and uses DRM. Now, after of a lot of work and pain (by jsg@ and kettenis@), we have both the DRM drivers and the framebuffer. Mesa was only used for 3D but now some drivers (iirc AMD) require it for 2D. Also, Mesa requires LLVM. Xenocara is now running (except for some old drivers) on top of that. The hardest part of the problem is solved. If someone thinks that the code is small, please check how much code was imported for that. Now, the missing parts. As Leonid mentioned, we need something to handle the input events in the kernel. There is probably something small (compared to the other parts) missing in Mesa. And add some flavors/new ports to the ports tree (not a big problem). So, the big bloat is running now on your OpenBSD system because we needed that to make the recent graphics cards to work with Xorg. Nobody can avoid that. Also, thanks to that work, now systems with AMD or Intel graphics cards are more secure. Even if someday we have wayland in ports/base, both will convive for a long time. If you have a use case for X11/Xorg not covered by Wayland, start to testing your systems now with some Linux distro which includes a good Wayland support (probably Arch Linux is the cleanest distro for this) and report what you need to upstream. That will help more to OpenBSD (and you) that writing a never ending number of emails to a random thread. This last part is not about you Rodrigo, I'm talking to everyone who is complaining about the Xorg future. Cheers. > > As far as I understand, neither DRM nor Mesa are parts of (original) > X11. Further, you read in Wikipedia: > > ------------------------------------- > https://en.wikipedia.org/wiki/Direct_Rendering_Manager > > DRM was first developed as the kernel space component of the X Server's > Direct Rendering Infrastructure,[1] but since then it has been used by other > graphic stack alternatives such as Wayland. > -------------------------------------- > > And > > ---------------------------------- > https://en.wikipedia.org/wiki/Mesa_(computer_graphics) > > Besides 3D applications such as games, modern display servers (X.org's > Glamor or Wayland's Weston) use OpenGL/EGL; therefore all graphics typically > go through Mesa. > ----------------------------------- > > In the german Wikipedia you read: > > -------------------------------------------- > https://de.wikipedia.org/wiki/EGL_(Programmierschnittstelle) > > Mesa 3D – ist zurzeit die einzige freie Implementierung von EGL (und > etlichen weiteren graphic rendering APIs) > --------------------------------------------- > > Namely, the only free implementation of EGL is Mesa 3D. And EGL is > needed by Wayland. > > For all these cool desktop (or freedesktop) things, like turbo accelerated > 3 or 4D rendering, the bloat will be necessary, be it in X11, Wayland > or also plan9 rio if it is once ported to OpenBSD (that would be by > the way a good idea). > > Rodrigo -- Juan Francisco Cantero Hurtado http://juanfra.info