Announcement

Collapse
No announcement yet.

The Current Performance Of GLAMOR Acceleration

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

  • The Current Performance Of GLAMOR Acceleration

    Phoronix: The Current Performance Of GLAMOR Acceleration

    For those interested in the performance of GLAMOR 2D acceleration that's accelerated via OpenGL, Keith Packard has written a new blog post on the topic...

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

  • #2
    RadeonSI glamor bugfix when?

    Comment


    • #3
      Originally posted by peppercats View Post
      RadeonSI glamor bugfix when?
      Bugfix? What are you talking about? As soon as X server 1.16 is released, you will be able to take advantage of the new glamor code.

      Comment


      • #4
        Originally posted by brent View Post
        Bugfix? What are you talking about? As soon as X server 1.16 is released, you will be able to take advantage of the new glamor code.
        https://bugs.freedesktop.org/show_bug.cgi?id=68524

        Comment


        • #5
          That's a "hey I'd like a bunch of enhancement and optimization" ticket. Not what many would call a bug or bugfix.

          Comment


          • #6
            That 1.2mb svg took minutes to load. KeithP's blog server got phoronixed?

            Comment


            • #7
              Before (master git 1.15.99.901)
              GtkPerf 0.40 - Starting testing: Mon Apr 21 21:54:15 2014

              GtkEntry - time: 0,00
              GtkComboBox - time: 3,04
              GtkComboBoxEntry - time: 2,12
              GtkSpinButton - time: 1,44
              GtkProgressBar - time: 1,21
              GtkToggleButton - time: 0,46
              GtkCheckButton - time: 0,18
              GtkRadioButton - time: 0,26
              GtkTextView - Add text - time: 0,58
              GtkTextView - Scroll - time: 1,46
              GtkDrawingArea - Lines - time: 1360,42
              GtkDrawingArea - Circles - time: 908,05
              GtkDrawingArea - Text - time: 12,23
              GtkDrawingArea - Pixbufs - time: 1,43
              ---
              Total time: 2292,88


              After (glamor-server xorg branch from keithp)
              GtkPerf 0.40 - Starting testing: Mon Apr 21 21:47:58 2014

              GtkEntry - time: 0,00
              GtkComboBox - time: 2,02
              GtkComboBoxEntry - time: 1,32
              GtkSpinButton - time: 0,45
              GtkProgressBar - time: 0,39
              GtkToggleButton - time: 0,42
              GtkCheckButton - time: 0,21
              GtkRadioButton - time: 0,26
              GtkTextView - Add text - time: 0,52
              GtkTextView - Scroll - time: 0,40
              GtkDrawingArea - Lines - time: 15,23
              GtkDrawingArea - Circles - time: 11,64
              GtkDrawingArea - Text - time: 1,53
              GtkDrawingArea - Pixbufs - time: 0,65
              ---
              Total time: 35,07

              (AMD Kabini, per bug report)
              MOTHER. FSCKING. AMAZING.
              Last edited by Alejandro Nova; 04-27-2014, 06:41 PM.

              Comment


              • #8
                Nice. The first two GTKDrawingArea tests (Lines & Circles, which IIRC were the bottleneck before) are almost 100x faster, the third is 10x faster, and everything else is maybe 2x.

                Comment


                • #9
                  will glamor on xorg server 1.16 be relevante for nvidia users?
                  sorry if its a dumb question, i dont know if nvidia uses it.

                  Comment


                  • #10
                    Originally posted by TheSoulz View Post
                    will glamor on xorg server 1.16 be relevante for nvidia users?
                    sorry if its a dumb question, i dont know if nvidia uses it.
                    Proprietary drivers don't currently use it. It's not quite clear to me whether they eventually might for XWayland support.

                    Comment


                    • #11
                      Originally posted by bridgman View Post
                      That's a "hey I'd like a bunch of enhancement and optimization" ticket. Not what many would call a bug or bugfix.
                      No, that was a "glamor is so damn slow that opening a simple calc sheet will hang your system" bug report. Things improved but we're still far from SNA on radeon.
                      ## VGA ##
                      AMD: X1950XTX, HD3870, HD5870
                      Intel: GMA45, HD3000 (Core i5 2500K)

                      Comment


                      • #12
                        Originally posted by darkbasic View Post
                        No, that was a "glamor is so damn slow that opening a simple calc sheet will hang your system" bug report. Things improved but we're still far from SNA on radeon.
                        Not that either.
                        Just "Glamor is so damn slow in a GTK benchmark".
                        I've been using Glamor on Kabini and Kaveri from november 2013 for the first and january 2014 for the second.
                        Can't recall any particular slowness in regular office and internet usage for all the period on both systems.
                        Granted, I use KDE and the only GTK app that I use once in a while is Gimp. Firefox's speed is normal, although I don't use it much, since I use mainly Konqueror. Even MS Office in Wine is perfectly usable.
                        I use desktop compositing so maybe the slow paths are avoided altogether.

                        Comment


                        • #13
                          Originally posted by Alejandro Nova View Post
                          Before (master git 1.15.99.901)
                          GtkPerf 0.40 - Starting testing: Mon Apr 21 21:54:15 2014

                          GtkEntry - time: 0,00
                          GtkComboBox - time: 3,04
                          GtkComboBoxEntry - time: 2,12
                          GtkSpinButton - time: 1,44
                          GtkProgressBar - time: 1,21
                          GtkToggleButton - time: 0,46
                          GtkCheckButton - time: 0,18
                          GtkRadioButton - time: 0,26
                          GtkTextView - Add text - time: 0,58
                          GtkTextView - Scroll - time: 1,46
                          GtkDrawingArea - Lines - time: 1360,42
                          GtkDrawingArea - Circles - time: 908,05
                          GtkDrawingArea - Text - time: 12,23
                          GtkDrawingArea - Pixbufs - time: 1,43
                          ---
                          Total time: 2292,88


                          After (glamor-server xorg branch from keithp)
                          GtkPerf 0.40 - Starting testing: Mon Apr 21 21:47:58 2014

                          GtkEntry - time: 0,00
                          GtkComboBox - time: 2,02
                          GtkComboBoxEntry - time: 1,32
                          GtkSpinButton - time: 0,45
                          GtkProgressBar - time: 0,39
                          GtkToggleButton - time: 0,42
                          GtkCheckButton - time: 0,21
                          GtkRadioButton - time: 0,26
                          GtkTextView - Add text - time: 0,52
                          GtkTextView - Scroll - time: 0,40
                          GtkDrawingArea - Lines - time: 15,23
                          GtkDrawingArea - Circles - time: 11,64
                          GtkDrawingArea - Text - time: 1,53
                          GtkDrawingArea - Pixbufs - time: 0,65
                          ---
                          Total time: 35,07

                          (AMD Kabini, per bug report)
                          MOTHER. FSCKING. AMAZING.
                          And my results with normal glamor lib just minimized window (with Athlon 5350):

                          Code:
                          GtkEntry - time:  0.00
                          GtkComboBox - time:  0.26
                          GtkComboBoxEntry - time:  0.31
                          GtkSpinButton - time:  0.06
                          GtkProgressBar - time:  0.03
                          GtkToggleButton - time:  0.06
                          GtkCheckButton - time:  0.06
                          GtkRadioButton - time:  0.14
                          GtkTextView - Add text - time:  0.33
                          GtkTextView - Scroll - time:  0.10
                          GtkDrawingArea - Lines - time:  2.24
                          GtkDrawingArea - Circles - time:  0.85
                          GtkDrawingArea - Text - time:  0.38
                          GtkDrawingArea - Pixbufs - time:  0.02
                           --- 
                          Total time:  4.84
                          Even "slow" fglrx doing it in that same time, also needs just 4-5 seconds for 'gtkperf -a' but properly drawing on screen ... So i will be happy when i see that number .

                          Comment


                          • #14
                            But i don't think that gtkperf test is slow only because of glamor . Because those lines and circles tests are slowish (of course not that much like glamor, but slightly slowish) also on r200 with EXA too, there ColorTiling there triggers the slowness, or if i use PCI insted of AGP .

                            Someone needs to figure out how those lines and circles work, and why those are bandwith gluttons .
                            Last edited by dungeon; 04-28-2014, 11:44 AM.

                            Comment


                            • #15
                              Originally posted by dungeon View Post
                              But i don't think that gtkperf test is slow only because of glamor . Because those lines and circles tests are slowish (of course not that much like glamor, but slightly slowish) also on r200 with EXA too, there ColorTiling there triggers the slowness, or if i use PCI insted of AGP .

                              Someone needs to figure out how those lines and circles work, and why those are bandwith gluttons .
                              They are not accelerated in most cases so they result in software fallbacks which means data may have to be migrated to CPU accessible memory, plus synchronization.

                              Comment

                              Working...
                              X