Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: New XWayland API Proposed For Better Performance

  1. #1
    Join Date
    Jan 2007
    Posts
    14,304

    Default New XWayland API Proposed For Better Performance

    Phoronix: New XWayland API Proposed For Better Performance

    A new XWayland API has been proposed for helping the X.Org drivers implement the ScheduleSwap event and for providing an efficient implementation of async swaps. The new interfaces for XWayland can avoid copies and thus provide real-world performance improvements...

    http://www.phoronix.com/vr.php?view=MTQ4ODA

  2. #2
    Join Date
    Dec 2012
    Posts
    155

    Default

    An important thing to note is that initially, AsyncSwap was proposed by Chris Wilson,
    and he has done an implementation for the intel DDX. If a patch enabling AsyncSwap
    is merged, XWayland won't be the only one to benefit from increased of performance
    and removal of tearings.

  3. #3
    Join Date
    Oct 2013
    Posts
    224

    Default

    lol XWayland will be able to run X programs better than X

  4. #4
    Join Date
    Oct 2008
    Posts
    3,024

    Default

    This is also only useful for full screen applications, which should hopefully be fairly rare under XWayland.

  5. #5
    Join Date
    Jun 2013
    Posts
    90

    Default

    hmm, xorg server 1.15 merge window closes in two weeks, is this ready enough to be merged right away? Would it keep Xwayland from being merged until the next version? Is Xwayland ready to be merged in the first place?

  6. #6
    Join Date
    Dec 2012
    Posts
    15

    Default Really?

    Quote Originally Posted by smitty3268 View Post
    This is also only useful for full screen applications, which should hopefully be fairly rare under XWayland.
    Almost all TV apps and many new games (Steam prods incl.) are used in full screen mode. I can't agree with your point there...

  7. #7
    Join Date
    Jan 2011
    Posts
    1,287

    Default

    Quote Originally Posted by smitty3268 View Post
    This is also only useful for full screen applications, which should hopefully be fairly rare under XWayland.
    You said it, hopefully. But IRL, games will not be necessarily supported, to give an example, at least not right away. And I don't know about you, but I like playing them full screen.

    I think I know what you meant, though. Was it an allusion to running a desktop over a compatibility layer?

  8. #8
    Join Date
    Feb 2011
    Posts
    1,066

    Default

    Quote Originally Posted by smitty3268 View Post
    This is also only useful for full screen applications, which should hopefully be fairly rare under XWayland.
    Uh, people don't watch full-screen video much?

  9. #9
    Join Date
    Jan 2009
    Posts
    288

    Default

    So ... did I miss something? Applications that draw into thier own buffer are essentially equivalent to fullscreen as far as wayland cares right?

  10. #10
    Join Date
    Dec 2012
    Posts
    155

    Default

    Quote Originally Posted by cb88 View Post
    So ... did I miss something? Applications that draw into thier own buffer are essentially equivalent to fullscreen as far as wayland cares right?
    On X, Dri2 Applications render into a back buffer.

    The front buffer is what we see from the application.

    If the application has added decorations to the window, the front buffer has a different size than the back-buffer. You can't optimize in this case: you have to do a copy from the back-buffer to the front-buffer.
    If the front-buffer was being drawn on your monitor during the copy, you may get tearings.

    When you have a fullscreen application, you have no added decoration, then you can avoid the copy if the front buffer and back buffer are similar, by doing an exchange.

    Some Window manager handle decorations in some ways, that the front-buffer is the same size of the back-buffer everytime. In that case we can optimize as in fullscreen mode.


    For Wayland, the model is different, and you can always avoid the copy for applications using the GPU. XWayland has to do as X, but lives in a Wayland world.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •