Slashdot Mirror


Wayland, a New X Server For Linux

An anonymous reader writes "Phoronix has a new article out on Wayland: A New X Server For Linux. One of Red Hat's engineers has started writing a new X11 server around today's needs and to eliminate the cruft that has been in this critical piece of free software for more than a decade. This new server is called Wayland and it is designed with newer hardware features like kernel mode-setting and a kernel memory manager for graphics. Wayland is also dramatically simpler to target for in development. A compositing manager is embedded into the Wayland server and ensures 'every frame is perfect' according to the project's leader."

15 of 487 comments (clear)

  1. Re:Does this... by KasperMeerts · · Score: 5, Insightful

    Now only to convince nVidia to release their drivers for this new X. As long as these things don't happen, this probably won't take off.
    Man, we really need OSS drivers.

    --
    As long as there are slaughterhouses, there will be battlefields.
  2. Re:Thank you! by Anonymous Coward · · Score: 5, Insightful

    Instead of taking the initiative and starting the project yourself, like this guy did.

  3. Re:Thank you! by amorsen · · Score: 5, Insightful

    Thank you sweet Jesus! Finally somebody is doing something that should have been done looooong time ago!

    People have been doing bits and pieces of it for a long time. Client-side font handling, client-side rendering in general, kernel mode setting... Without those things, this project would be a lot larger.

    This is quite typical of free software by the way: A lot of things are quietly replaced and enhanced without anyone noticing, and suddenly someone uses all the changed bits to create something radically new.

    --
    Finally! A year of moderation! Ready for 2019?
  4. Re:Notes for the Uninformed by setagllib · · Score: 5, Insightful

    It's rarely discussed because it's extremely slow. Even on low resolutions it takes an absurd amount of CPU power and latency. On high resolutions it's like a slide show with an awkward guest speaker. There's a reason we have hardware acceleration even for 2D.

    --
    Sam ty sig.
  5. Y windows; drivers by bcrowell · · Score: 4, Insightful

    There's another project called Y Windows, which also aims to replace X with something that has less historical cruft.

    The real question in my mind is whether this kind of thing does anything to address the big problems users are really encountering. Of course, not every open source project has to make large numbers of users happier. But the author of Y Windows says, for example, "I've got tired with the state of desktop GNU/Linux. Most of the problems that I see with it can be traced back to the underlying window system, X. So I decided to write its successor... "

    For me as an end-user, the big issues are simply hassles with xorg not correctly recognizing LCD screens, so that it sets them to an inappropriate resolution, or the image appears offset. I have close to zero interest in gaming, so personally I just use the onboard video of my mobo, with only 2-d driver features, but the impression I get from people who do care about gaming (or fancy WMs) is that the big issue is drivers, not the internal structure of X.

    As far as programming, the structure of X also seems like kind of a non-issue. Sure, X's APIs are heinously ugly, but almost nobody uses them directly.

    The advantages listed by the article are things like a more manageable code base, a smaller memory footprint, and elimination of rendering artifacts. To me, none of those seem like major issues that I was all that worried about.

  6. Re:HELL yes. by dondelelcaro · · Score: 5, Insightful

    Project A is fine until someone has to get beyond your little layer, in which case it's .xinitrc hell.

    What in the world does the X11 rendering engine have to do with "useable for normal people" or the "xinitrc"?

    X11, and by extension, the X server, is a layer whose job is to put stuff on screen. That means dealing with the wibbly bits (mice, keyboards, displays, video cards, tablets, pedals, etc.) that cause the stuff on screen to be displayed or interact with the stuff on screen.

    But for twenty years now, there have been exactly two kinds of X development:

    Furthermore, it's not like people haven't been modifying how the bits in between your "Project A" and "Project B" work, either. See xrandr 1.2 and 1.3, for example, as well as the countless other projects working on this very part of X11.

    That's not to say there aren't problems with X11 and the various implementations of the X server, but it'd help to at least have studied what's actually going on before attacking the work of those who are actually doing the work.

    --
    http://www.donarmstrong.com
  7. Re:Thank you! by dougmc · · Score: 4, Insightful

    X is an application. *And* a server. On OS X as well. And under *nix, and even under Windows (when you add an X server to it.)

    X's architecture works pretty well for what it was written to do. It was written in a time when lots of people used wimpy X terminals and did their work on a shared beefy central server.

    VNC might be more of the architecture you're referring to?

  8. Re:Been done (and failed) like a million times? by RedK · · Score: 4, Insightful

    Port GTK/QT to this server's API ? If this server doesn't support a version of the X11 standard, then it's not an X server. Since it is being called an X server, no recompilation should be necessary, unless you're using X extensions that are not supported.

    --
    "Not to mention all the idiots who use words like boxen."
    Anonymous Coward on Monday August 04, @06:49PM
  9. Re:Does this... by khellendros1984 · · Score: 5, Insightful

    I disagree. I think that a single distro gaining popularity will be instrumental for standardizing what is expected of Linux for introduction into a larger market...that is, to give hardware and software developers a system to work in that's more standardized.

    --
    It is pitch black. You are likely to be eaten by a grue.
  10. Re:Does this... by techno-vampire · · Score: 5, Insightful

    You do understand, don't you, that the reason the nVidia drivers aren't in the Ubuntu (or Fedora) repos are that they're not OSS? Ubuntu will quite happily download and install them if needed, but they'll also make sure you know they're third-party and not supported by Ubuntu. For Fedora, you need to add a third-party repo (livna) after which installing the drivers and keeping them current is simplicity itself. I don't know about other distros, but I'd presume it's similar for all of them, with the probable exception of Gentoo.

    --
    Good, inexpensive web hosting
  11. Re:Thank you! by grub · · Score: 5, Insightful


    I use X on 32 and 64 bit versions of both OpenBSD and Ubuntu Linux and can't recall it crashing on my anytime in the recent past. Certainly not "all the time" in my experience.

    --
    Trolling is a art,
  12. X11 - The X Windowing System by Anonymous Coward · · Score: 5, Insightful

    I hear a lot of (I bet) young people clamoring for X to die, and that would somehow improve Linux or Unix.

    X does not need and should not be allowed to die. Sadly X11 is probably one of the coolest pieces of misunderstood software on the planet. It is a bit dated and it does need a code cleanup/refactor, but because of proper design, that can happen without breaking the system.

    To those who have *no* understanding of X, they should try this:

    ssh -XC some_linux_machine
    eyes

    What happens is that the "display" is a network device. Windows terminal server and citrix, even today, can't easily separate application from display. X has had it for years. It isn't an afterthought requiring drivers to probe and figure out what got changed on the display surface and send a block over the network (like citrix and VNC), no the display is rendered over the network.

    X11, IMHO, is one of those hidden jewels in Unix that don't quite get. They focus on trying to make it like Windows or be a gaming platform, but UNIX is a "productivity" platform.

    Like I said, I'm all for refactoring, cleanup, cruft-removal, etc. to the codebase, but keep X11.

    1. Re:X11 - The X Windowing System by paulbd · · Score: 4, Insightful

      X11 does not blit the entire damn window across the network. Its a client/server architecture and what is passed across the network are requests by the client to ask the server to draw <something>, where <something> was envisaged as a mostly abstract entity. It is true that if you application does nothing but push images or video into a window, then there is little alternative to blitting across the network, but this is not what is happening in the majority of apps today. You seem to have about a similar level of (mis)understanding of what AJAX is doing, but I won't get into that here.

  13. Syncing to vblank? by Trogre · · Score: 4, Insightful

    At the same time, I'm trying to fix some of the problems with composite that we still have in the X server; input redirection, window resizing, syncing to vblank, throttling of animations and atomic, consistent redrawing.

    That feature alone would make this rewrite worthwhile. This has been missing from our desktops for far too long.

    --
    "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
  14. Re:Thank you! by siride · · Score: 5, Insightful

    That's almost exactly how it already is right now. This whole thread is a bit strange to me since everyone's complaints about X are based mostly on their misunderstanding of how it actually works.