Originally posted by bison
View Post
Announcement
Collapse
No announcement yet.
Does The Display Server Matter? The Latest Mir vs. Wayland Argument
Collapse
X
-
-
Originally posted by GreatEmerald View PostThis was already answered, but it's actually the main issue with Mir. Everyone would have been happy if they made Mir a Wayland client (or whatever is the right term for it) instead of a display server.
Wayland compositor = a type of display server => KWin is at the moment a compositing window manager, there will be a KWin that is a Wayland compositor
Mir = display server, that should support the display server protocols: mir, X, wayland, maybe Android's SurfaceFlinger, etc
Comment
-
Originally posted by toka View PostDisplay server = the running software (not a library) that manages input and output for all its clients
Wayland compositor = a type of display server => KWin is at the moment a compositing window manager, there will be a KWin that is a Wayland compositor
Mir = display server, that should support the display server protocols: mir, X, wayland, maybe Android's SurfaceFlinger, etc
all else seems right
Comment
-
Does anybody want to share some insights about SurfaceFlinger? Is this the Android "display server"/"display server protocol"? Does Android even have such a thing, since there is no room on the screen anyway, so every app has to run fullscreen, so the "display server" could be something very simple. What about Mac OS X? What display server protocol does it use?
Comment
-
Originally posted by emblemparade View PostYes, it means extra work for various developers. But the decision has been already been made, and Canonical is already going full-steam ahead. Instead of complaining, it's a good time to get working on Mir support, so that your shells and apps and other gizmos will be enjoyable on the upcoming onslaught of mobile and touch Ubuntu devices.
But, perhaps it's KDE that will learn that it's best to hop on Ubuntu's platform if they want to remain relevant.
In the meantime, the Mir project is not doing anything to stop the Wayland project from moving forward.
On that note, it would be nice if Canonical folk would stop making these degrading comments.
Originally posted by Vim_User View Postas long as KDE supports the so called "industry standard" (read: what Red Hat does) they are on the safe side.
Originally posted by toka View PostMir would/will support a multitude of protocols.
Correct or not?
Originally posted by jrch2k8 View PostMir is a server and compositor process that speak Mir protocolLast edited by V10lator; 24 March 2014, 07:26 PM.
Comment
-
Originally posted by toka View Posthttps://en.wikipedia.org/wiki/File:T...and_glamor.svg
Does anybody want to share some insights about SurfaceFlinger? Is this the Android "display server"/"display server protocol"? Does Android even have such a thing, since there is no room on the screen anyway, so every app has to run fullscreen, so the "display server" could be something very simple. What about Mac OS X? What display server protocol does it use?
Mac OS X quartz is like the father of Wayland/Mir, the first true frame perfect rootless graphic server and well is very established this days, drivers aren't that great tho but technically is more like Mir"ish" that instead of EGL uses AGL(as Apple GL for context handling), protocol is Quartz XD
Comment
-
to complete the idea here, in resume(and in this order) Quartz, Surface Flinger and Mir work kinda similar and were conceived as the easy cheap way out of X11, aka trimm lots of fat from X, remove GLX elephant and switch to a more lean context handler like EGL/AGL and then finally add some simple but functional compositor integrated into the server to handle the eye candy, shadows, etc.
the basic concept of wayland is way more radical, basically behaves like a language like OpenCL or OpenGL or Mantle but to speak GUI(instead of 3D) needs directly into the GPU without middle mans, aka you use wayland language to create your own unique compositor and or server and/or client that you can transform in any way you feel like it using any supported GPU draw language(like opengl/es or GPU specific ASM or even c/c++ if hardware accel is not available), so the capabilities of wayland are incredibly flexible only limited to hardware limitations and since is basically operates as close to the hardware as is possible without reach ASM, the performance is impressive as long as the render code is efficient but wayland itself is basically hit free to the hardware.(very diluted to make it more easy to digest)
wayland in this case is way harder and expensier to develop that other counterparts but the capabilities will pay in the long run(in short term won't be as fantastic because first devs need to match what you are used to today) but for example in wayland(which is not possible with any other today techs) can improve games by releasing the desktop compositor(kwin/mutter/etc) and let the game itself composite and parallelize its own render pipe in the GPU's/operations is consider best and swap to screen when its considered right for the game engine, etc.(specialized nested compositing) and then just send control back to desktop optimized compositor(kwin/mutter/etc) when exited or switched back.
and well another nasty miriad of possible scenarios/optimizations with wayland that wont have time to explain them all
Comment
-
Originally posted by toka View Postgranny speaking here: is the "display server" = mir the problem? or is the "display server protocol"=libmir-client + libmir-server?
A dispute with less fanboys: http://lwn.net/Articles/541336/
It's not a technical problem, in that one is superior to the other - it's simply that the existence of Mir forces a split between "Canonical" and "everyone but Canonical"... developers don't want to support both, so we end up with this unfortunate battle for supremacy...Last edited by Delgarde; 24 March 2014, 09:16 PM.
Comment
-
Originally posted by toka View PostDoes anybody want to share some insights about SurfaceFlinger? Is this the Android "display server"/"display server protocol"? Does Android even have such a thing, since there is no room on the screen anyway, so every app has to run fullscreen, so the "display server" could be something very simple. What about Mac OS X? What display server protocol does it use?
Getting into more detail, SurfaceFlinger is the compositor (e.g. Weston, Mutter), whilst the protocol is comprised of a few components including GraphicBuffer/gralloc, Surface, etc.
Comment
-
Originally posted by TAXI View PostExcept that developers that want to target both but don't want to support two display servers will target X11 (cause of XWayland and Xmir). Stopping projects from moving to Wayland is not "stop the Wayland project from moving forward"?
KDE, GNOME, and Enlightenment (and I believe LXDE-Qt) are all explicitly moving to support Wayland, SDL2 already supports both, Red Hat and SUSE are onboard with wayland which means that their tools will support Wayland, and they will ensure that LibreOffice, Firefox and all the enterprise applications support Wayland, Chromium already runs under wayland, Proprietary games are going to use whatever SteamOS goes with. Whatever is left if said developers you propose existing actually exist are going to be a small number of very niche applications that aren't really holding back the progress of wayland, because all of the applications that most people actually care about are or have a force backing them that ensures that they will be ported to wayland.
Comment
Comment