Announcement

Collapse
No announcement yet.

The Current Performance Of GLAMOR Acceleration

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

  • #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; 28 April 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


            • #16
              Originally posted by agd5f View Post
              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.
              I fugure out they are not accelerated in radeon, but look at the fglrx results:

              Code:
              GtkEntry - time:  0,04
              GtkComboBox - time:  0,81
              GtkComboBoxEntry - time:  0,66
              GtkSpinButton - time:  0,07
              GtkProgressBar - time:  0,03
              GtkToggleButton - time:  0,06
              GtkCheckButton - time:  0,06
              GtkRadioButton - time:  0,11
              GtkTextView - Add text - time:  0,52
              GtkTextView - Scroll - time:  0,13
              GtkDrawingArea - Lines - time:  0,84
              GtkDrawingArea - Circles - time:  1,96
              GtkDrawingArea - Text - time:  0,41
              GtkDrawingArea - Pixbufs - time:  0,06
               --- 
              Total time:  [B]5,76[/B]
              
               And then minimized window:
              
              GtkEntry - time:  0,03
              GtkComboBox - time:  0,40
              GtkComboBoxEntry - time:  0,20
              GtkSpinButton - time:  0,06
              GtkProgressBar - time:  0,03
              GtkToggleButton - time:  0,06
              GtkCheckButton - time:  0,05
              GtkRadioButton - time:  0,11
              GtkTextView - Add text - time:  0,51
              GtkTextView - Scroll - time:  0,11
              GtkDrawingArea - Lines - time:  0,60
              GtkDrawingArea - Circles - time:  0,78
              GtkDrawingArea - Text - time:  0,39
              GtkDrawingArea - Pixbufs - time:  0,02
               --- 
              Total time:  [B]3,34[/B]
              Circles needs optimisation in fglrx . Anyway, is that means they are accelerated in fglrx , because minimising window does not metter much?
              Last edited by dungeon; 28 April 2014, 12:36 PM.

              Comment


              • #17
                But my results with 0.6 glamor lib (ubuntu 14.04 version) on Debian Sid (xserver 1.15.1) is not that much worse like for other people, just lines and circles are problematic

                Code:
                GtkEntry - time:  0.03
                GtkComboBox - time:  0.62
                GtkComboBoxEntry - time:  0.52
                GtkSpinButton - time:  0.06
                GtkProgressBar - time:  0.04
                GtkToggleButton - time:  0.06
                GtkCheckButton - time:  0.06
                GtkRadioButton - time:  0.13
                GtkTextView - Add text - time:  0.33
                GtkTextView - Scroll - time:  0.10
                GtkDrawingArea - Lines - time: 85.40
                GtkDrawingArea - Circles - time: 64.94
                GtkDrawingArea - Text - time:  1.10
                GtkDrawingArea - Pixbufs - time:  0.60
                 --- 
                Total time: [B]153.98[/B]

                Comment


                • #18
                  Originally posted by dungeon View Post
                  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 .
                  Code:
                  GtkEntry - time:  0,00
                  GtkComboBox - time:  0,54
                  GtkComboBoxEntry - time:  0,74
                  GtkSpinButton - time:  0,23
                  GtkProgressBar - time:  0,11
                  GtkToggleButton - time:  0,07
                  GtkCheckButton - time:  0,07
                  GtkRadioButton - time:  0,06
                  GtkTextView - Add text - time:  0,26
                  GtkTextView - Scroll - time:  0,38
                  GtkDrawingArea - Lines - time:  0,67
                  GtkDrawingArea - Circles - time:  0,70
                  GtkDrawingArea - Text - time:  0,17
                  GtkDrawingArea - Pixbufs - time:  0,11
                   --- 
                  Total time:  4,10
                  HD7950 with glamor-server xorg branch from keithp

                  I just switched to glamor-server xorg branch from keithp: finally glamor is fast enough for everyday use. I will not complain anymore, thanks Keith
                  ## VGA ##
                  AMD: X1950XTX, HD3870, HD5870
                  Intel: GMA45, HD3000 (Core i5 2500K)

                  Comment

                  Working...
                  X