Bug 92338

Summary: GtkPerf shows extremely low drawing performance for GtkDrawingArea - Lines and Circles tests on R390X
Product: xorg Reporter: MC Return <mc.return>
Component: Server/Acceleration/glamorAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED WORKSFORME QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
This time dmesg shows Corrupted low memory at ffff88000000f000 (f000 phys) = 00033482
none
After restart into Kernel 4.2.3 dmesg now shows no obvious problems, but bench still slow
none
Xorg.log none

Description MC Return 2015-10-07 17:24:33 UTC
GtkPerf 0.40

GtkEntry - time:  0,03
GtkComboBox - time:  0,34
GtkComboBoxEntry - time:  0,27
GtkSpinButton - time:  0,08
GtkProgressBar - time:  0,14
GtkToggleButton - time:  0,16
GtkCheckButton - time:  0,09
GtkRadioButton - time:  0,16
GtkTextView - Add text - time:  0,17
GtkTextView - Scroll - time:  0,04
GtkDrawingArea - Lines - time: 10,20
GtkDrawingArea - Circles - time:  7,58
GtkDrawingArea - Text - time:  0,24
GtkDrawingArea - Pixbufs - time:  0,47
 --- 
Total time: 19,96

My previous card - a HD6950 - was drawing the Lines and Circles tests at least 10 times faster.
Comment 1 Alex Deucher 2015-10-07 17:31:26 UTC
please attach your xorg log and dmesg output.
Comment 2 MC Return 2015-10-07 17:40:52 UTC
This happens when the GtkPerf test window is maximized on a 3840x2160 screen (although the GtkPerf draw area remains much smaller):

GtkPerf 0.40

GtkEntry - time:  0,07
GtkComboBox - time:  0,52
GtkComboBoxEntry - time:  0,37
GtkSpinButton - time:  0,12
GtkProgressBar - time:  0,13
GtkToggleButton - time:  0,45
GtkCheckButton - time:  0,17
GtkRadioButton - time:  0,26
GtkTextView - Add text - time:  0,31
GtkTextView - Scroll - time:  0,00
GtkDrawingArea - Lines - time: 76,11
GtkDrawingArea - Circles - time: 10,23
GtkDrawingArea - Text - time:  0,39
GtkDrawingArea - Pixbufs - time:  0,53
 --- 
Total time: 89,65

The full test now needs almost 90 (!) seconds to finish, Lines test needs 76,11 (!) seconds now...
Comment 3 MC Return 2015-10-07 17:58:58 UTC
Created attachment 118740 [details]
This time dmesg shows Corrupted low memory at ffff88000000f000 (f000 phys) = 00033482
Comment 4 MC Return 2015-10-07 18:06:12 UTC
Created attachment 118741 [details]
After restart into Kernel 4.2.3 dmesg now shows no obvious problems, but bench still slow
Comment 5 MC Return 2015-10-07 20:03:57 UTC
(In reply to Alex Deucher from comment #1)
> please attach your xorg log and dmesg output.

dmesg output (x2) attached, xorg.log shows no unusual errors.
Comment 6 Alex Deucher 2015-10-07 20:40:25 UTC
Can you attach your xorg log?
Comment 7 MC Return 2015-10-07 20:56:45 UTC
(In reply to Alex Deucher from comment #6)
> Can you attach your xorg log?

No, as it includes non-public information - but there are no errors logged during GtkPerf and there are no unusual errors that it contains...
Comment 8 Ernst Sjöstrand 2015-10-07 21:20:20 UTC
xorg.log shows all versions and what's enabled and disabled.
Comment 9 MC Return 2015-10-07 21:36:10 UTC
Created attachment 118743 [details]
Xorg.log
Comment 10 MC Return 2015-10-07 21:38:29 UTC
(In reply to Alex Deucher from comment #6)
> Can you attach your xorg log?

(In reply to Ernst Sjöstrand from comment #8)
> xorg.log shows all versions and what's enabled and disabled.

I'm sorry, confused it with .xsession-errors. Uploaded.
Comment 11 Michel Dänzer 2015-10-08 00:40:58 UTC
This should be much better with glamor from a current version of xserver.
Comment 12 MC Return 2015-10-08 22:09:21 UTC
(In reply to Michel Dänzer from comment #11)
> This should be much better with glamor from a current version of xserver.

A upgrade to X.Org X Server 1.17.1 fully fixed the problem for me.
GtkPerf is superfast again \o/
Great job. Thanks for the help to all of you, sorry for wasting your time - closing this bug.

GtkPerf 0.40

GtkEntry - time:  0,03
GtkComboBox - time:  0,32
GtkComboBoxEntry - time:  0,23
GtkSpinButton - time:  0,06
GtkProgressBar - time:  0,08
GtkToggleButton - time:  0,16
GtkCheckButton - time:  0,07
GtkRadioButton - time:  0,14
GtkTextView - Add text - time:  0,15
GtkTextView - Scroll - time:  0,03
GtkDrawingArea - Lines - time:  0,36
GtkDrawingArea - Circles - time:  0,41
GtkDrawingArea - Text - time:  0,24
GtkDrawingArea - Pixbufs - time:  0,14
 --- 
Total time:  2,43

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.