[Bug 55296] New: [KMS] Extremely low performance of XDrawImageString

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 24 15:36:50 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=55296

          Priority: medium
            Bug ID: 55296
          Assignee: xorg-driver-ati at lists.x.org
           Summary: [KMS] Extremely low performance of XDrawImageString
        QA Contact: xorg-team at lists.x.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: mihail.zenkov at gmail.com
          Hardware: x86 (IA32)
            Status: NEW
           Version: unspecified
         Component: Driver/Radeon
           Product: xorg

Created attachment 67652
  --> https://bugs.freedesktop.org/attachment.cgi?id=67652&action=edit
test.c

I have performance problem in simple terminal apps like st (st.suckless.org)
that render text without xft. With "NoAccel" "1" or  "RenderAccel" "0" problem
gone.

I write simple test and have result:

1. default x.org configuration: 2000 ms
2. with "RenderAccel" "0": 70-170 ms
3. with "NoAccel" "1": 18-30 ms

I also run gtkperf -ac1000 and see many test faster with "RenderAccel" "0".

Default x.org configuration:

GtkEntry - time:  0,22
GtkComboBox - time: 14,89
GtkComboBoxEntry - time: 17,33
GtkSpinButton - time:  0,39
GtkProgressBar - time:  0,42
GtkToggleButton - time:  0,36
GtkCheckButton - time:  0,34
GtkRadioButton - time:  1,90
GtkTextView - Add text - time: 12,98
GtkTextView - Scroll - time:  2,31
GtkDrawingArea - Lines - time: 15,77
GtkDrawingArea - Circles - time:  9,08
GtkDrawingArea - Text - time:  4,74
GtkDrawingArea - Pixbufs - time:  1,84
 ---
Total time: 82,59


With "RenderAccel" "0":

GtkEntry - time:  0,22
GtkComboBox - time: 10,63
GtkComboBoxEntry - time: 11,35
GtkSpinButton - time:  0,31
GtkProgressBar - time:  0,31
GtkToggleButton - time:  0,34
GtkCheckButton - time:  0,34
GtkRadioButton - time:  0,82
GtkTextView - Add text - time: 13,21
GtkTextView - Scroll - time:  2,51
GtkDrawingArea - Lines - time: 28,74
GtkDrawingArea - Circles - time:  9,25
GtkDrawingArea - Text - time:  8,58
GtkDrawingArea - Pixbufs - time:  2,16
 ---
Total time: 88,78


HD6770, kernel-3.5, xorg-server-1.12.4, libdrm-2.4.39, xf86-video-ati-6.14.6

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-driver-ati/attachments/20120924/a60afbe6/attachment.html>


More information about the xorg-driver-ati mailing list