Announcement

Collapse
No announcement yet.

A New Video Protocol Extension Sought For Wayland

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • A New Video Protocol Extension Sought For Wayland

    Phoronix: A New Video Protocol Extension Sought For Wayland

    Developers at Collabora have proposed a Wayland protocol extension for handling Wayland surfaces that work well for streaming videos...

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

  • #2
    Apparently there's an EGL extension for the same goal (defined by Khronos but not implemented in Mesa), let's see what the devs end up implementing.

    Comment


    • #3
      Derp - why was this not in the original spec?

      Comment


      • #4
        Originally posted by toyotabedzrock View Post
        Derp - why was this not in the original spec?
        Because putting this things in the original spec is what leads to bloat. X11 had way too many things inside the original spec, and now they get in the way.

        If you mean why this extension wasn't suggested a long time ago, then my answer is I have no idea, and I share the curiosity. Maybe they were busy working on some more fundamental things.

        Comment


        • #5
          Originally posted by mrugiero View Post
          If you mean why this extension wasn't suggested a long time ago, then my answer is I have no idea, and I share the curiosity. Maybe they were busy working on some more fundamental things.
          This sounds like exactly the sort of fine-tuning I expect to start seeing more of. The basic underlying system is pretty much in place, now we will start seeing more support for performance improvements, corner cases like this, and other non-system-critical enhancements.

          Comment


          • #6
            Originally posted by toyotabedzrock View Post
            Derp - why was this not in the original spec?
            Wayland already gives tear-free, synced video, it was one of the FIRST demo's that Krh did at a conference. With that in mind, this looks to be more along the lines of "The core already does this fine, but thats more a byproduct. Let's write an extension that is specifically designed FOR video so that they know exactly what they are dealing with and we can make sure what we got right STAYS right."

            Comment


            • #7
              They can use such extension for any case where the image information can be decoded before it's needed. Where the information to do this is available before having to place it on the screen. Not just video.
              I hope they keep it general enough to avoid proliferation of things that could cause bloat.

              Originally posted by mark45 View Post
              Apparently there's an EGL extension for the same goal (defined by Khronos but not implemented in Mesa), let's see what the devs end up implementing.
              @Mark45
              Could you tell us what EGL extension that is?
              It would be really good to do this.
              The name and then some of the description what it does from Khronos.
              Last edited by plonoma; 10-17-2013, 12:34 PM.

              Comment


              • #8
                The guy who said this:
                http://lists.freedesktop.org/archives/wayland-devel/2013-October/011497.html
                and
                http://lists.freedesktop.org/archives/wayland-devel/2013-October/011498.html

                The extension itself:
                http://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_stream.txt

                Comment


                • #9
                  Originally posted by toyotabedzrock View Post
                  Derp - why was this not in the original spec?
                  Because people wanted to have the basics released and working sooner rather than never. It is impossible to design everything in advance. You will never release anything if you try to be perfect on the first release.

                  The core supports tearless, perfect frames. This video extension is more about getting the (video) frame timings more controlled, which should improve e.g. A/V-sync. The ultimate benefit will be received, when we can queue buffers into hardware overlays right in the kernel drivers. Having the queue in userspace will always be susceptible to scheduling hickups and system load, but at least here we get it one step further away from a video player and closer to the hardware.

                  Comment

                  Working...
                  X