Announcement

Collapse
No announcement yet.

X.Org's GLAMOR 2D Performance Continues To Be Tuned

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

  • X.Org's GLAMOR 2D Performance Continues To Be Tuned

    Phoronix: X.Org's GLAMOR 2D Performance Continues To Be Tuned

    While GLAMOR has already been around for a number of years as a means of providing generic X11 2D acceleration over OpenGL for the X.Org Server, it's a seemingly never-ending process to optimize its code-paths for best performance. More improvements are en route for making GLAMOR 2D faster, which should especially be helpful for Raspberry Pi users making use of the VC4 driver stack on this very slow-speed hardware...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    Funny thing about this is Ajax mentioned this as a comment to Martin Peres' talk on 2D performance. The fact that there's no good reason for GLAMOR to call glFlush all the time. In retrospect it was probably a decision made to be safe.

    Comment


    • #3
      What will change in this regard when dropping X.org and swtiching to Wayland?
      ## VGA ##
      AMD: X1950XTX, HD3870, HD5870
      Intel: GMA45, HD3000 (Core i5 2500K)

      Comment


      • #4
        Michael, maybe time for some new GLAMOR benchmarks soon?


        Does Wayland make any use of GLAMOR?

        Comment


        • #5
          Originally posted by uid313 View Post
          Michael, maybe time for some new GLAMOR benchmarks soon?


          Does Wayland make any use of GLAMOR?
          no every compositor uses its own 2d accel architecture

          but XWayland uses glamor

          Comment


          • #6
            Originally posted by davidbepo View Post

            no every compositor uses its own 2d accel architecture
            Oh, sounds really bad. Sounds like a lot of duplicate code. Sounds like something that could be moved into libwayland or libweston for code re-use across compositors.

            Comment


            • #7
              That's not really correct. GLAMOR is doing X rendering for clients. As Wayland compositors don't do any rendering for clients (unlike the X server), there is no direct counterpart comparable to GLAMOR.

              libweston encapsulates the composition rendering that's still needed to get things displayed on screen.

              Comment


              • #8
                Originally posted by uid313 View Post
                Michael, maybe time for some new GLAMOR benchmarks soon?


                Does Wayland make any use of GLAMOR?
                Most wayland compositors will offer xwayland for compatability with applications that don't have a wayland backend. xwayland always uses glamor (no way to use the old ddx drivers afaik), so this is a big deal even when switching to wayland.

                Comment


                • #9
                  GLAMOR continues to be used by default for all AMD GCN GPUs, Nouveau for the latest generations of GPU too, VC4 2D is only supported with GLAMOR, and optionally by other DDX drivers too.
                  Then how does this affect other drivers/GPUs?

                  Comment

                  Working...
                  X