Announcement

Collapse
No announcement yet.

NVIDIA Publishes Vendor-Neutral GL Dispatch Library

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

  • NVIDIA Publishes Vendor-Neutral GL Dispatch Library

    Phoronix: NVIDIA Publishes Vendor-Neutral GL Dispatch Library

    Proposed nearly one year ago was a new Linux OpenGL ABI by Andy Ritger of NVIDIA. Among the reasons for this proposal of a new ABI included EGL becoming the future over GLX, OpenGL advancing greatly, and issues surrounding each vendor/driver shippimg their own libGL.so.1 file. As part of making this work finally become a reality, NVIDIA has published the code to libglvnd, an OpenGL vendor-neutral dispatch library...

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

  • #2
    Not overwriting system libgl will really help bumblebee.

    Comment


    • #3
      Looks very good. Thank you Nvidia!

      Comment


      • #4
        Thank you NVIDIA!! ;-)

        Comment


        • #5
          Wayland?

          Do I read it correctly as the way to support Wayland and Mir?

          Comment


          • #6
            Originally posted by makson View Post
            Do I read it correctly as the way to support Wayland and Mir?
            I was also wondering if this has anything to do with a future method to do this. It sounds related. Of course, if it does, I would expect Michael to be a bit more explicit about it.

            Comment


            • #7
              Currently, only the GLX window-system API and OpenGL are supported, but in the future this library may support EGL and OpenGL ES as well.
              The way I understand the above, this is likely to be how NVIDIA will try to support Wayland/Mir.
              It's slightly puzzling that they say 'may' though. One would think that they'd be further in their EGL-endeavors, as they've claimed to be working on it for years.
              Last edited by UraniumDeer; 08-28-2013, 03:41 PM.

              Comment


              • #8
                Originally posted by UraniumDeer View Post
                The way I understand the above, this is likely to be how NVIDIA will try to support Wayland/Mir.
                It's slightly puzzling that they say 'may' though. One would think that they'd be further in their EGL-endeavors, as they've claimed to be working on it for years.
                I don't think NVIDIA has claimed to be working on EGL at all.

                Comment


                • #9
                  Yea, that is pretty useful. Perhaps that could help leverage those integrated graphics chips on desktops, too, or at least provide a way to switch the monitor between the two at runtime. And it's great for an easy way to switch in and out of proprietary drivers.

                  Comment


                  • #10
                    Originally posted by n3wu53r View Post
                    Not overwriting system libgl will really help bumblebee.
                    I didn't know bumblebee was still around.
                    What is the point of using that when we have the shared buffer mechanism that airlied created?

                    Comment


                    • #11
                      Originally posted by liam View Post
                      I didn't know bumblebee was still around.
                      What is the point of using that when we have the shared buffer mechanism that airlied created?
                      DMA-BUF needs DMA-Sync (not yet mainlined AFAIK) to function PROPERLY. If you don't have DMA-Sync then everything gets throttled and synced by the CPU. Also not everything is running a modern enough kernel / drivers to have access to DMA-*, ALSO there's no window hint yet to say "RUN THIS APP ON THE DEDICATED CARD" so the optirun utility from Bumblee is useful.

                      Comment


                      • #12
                        Originally posted by johnc View Post
                        I don't think NVIDIA has claimed to be working on EGL at all.
                        http://www.khronos.org/registry/egl/...tive_query.txt
                        http://www.youtube.com/watch?v=LesAb...tu.be&t=10m29s
                        http://www.phoronix.com/scan.php?pag...tem&px=MTMyMTI

                        Comment


                        • #13
                          I stand corrected.

                          Comment


                          • #14
                            Originally posted by johnc View Post
                            I don't think NVIDIA has claimed to be working on EGL at all.
                            They have to be, though, at least with respect to their mobile drivers. This will be increasingly the case as they converge upon a single architecture (perhaps as early as T5).

                            Comment


                            • #15
                              Originally posted by scionicspectre View Post
                              I was also wondering if this has anything to do with a future method to do this. It sounds related. Of course, if it does, I would expect Michael to be a bit more explicit about it.
                              Explicitly: No. At least not yet.
                              Read the README file: https://github.com/NVIDIA/libglvnd/b...ster/README.md

                              It's pretty clear that NVidia concentrates on GLX but Mir and Wayland are based on EGL. So Mir and Wayland support may be byproducts of this but NVidia's development focus for this clearly is X11 no surprise there as the Linux distributions that actually matter to NVidia (RHEL etc.) will stay with X11 for quite some time.

                              Comment

                              Working...
                              X