Bug 69828 - [HSW mobile] smokin-guns performance fluctuate by ~15% with gnome-session
Summary: [HSW mobile] smokin-guns performance fluctuate by ~15% with gnome-session
Status: CLOSED NOTOURBUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
: 69788 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-26 01:56 UTC by meng
Modified: 2013-10-10 00:36 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description meng 2013-09-26 01:56:35 UTC
System Environment:       
----------------------------------------------
Libdrm:	(master)libdrm-2.4.46-42-gbf4a7cd4b2456d4dc93a86bbcc51eba4ae73390a
Mesa:	(master)59157d1c96f33ca56d9aba6cff75145d732dbbab
Xserver:(master)xorg-server-1.14.99.1-215-g7d3d4ae55dd6ee338439e2424a
Xf86_video_intel:(master)2.99.902-47-g63a81c87b1be3607243aaa0acc4cb669fee02b4b
Cairo:	(master)337ab1f8d9e29086bfb4001508b28835b41c6390
Kernel:	(drm-intel-nightly) 532fcf286aa6feba529587d0288a0097ba8b713e

Bug detailed description:
----------------------------------------------
Smoking-guns performances fluctuate by ~15% enabling gnome-session on HSW mobile GT3e. It works well with Raw X (xinit). BTW, the problem only exists on HSW mobile.
It’s Xf86_video_intel regression, bisecting show that the first bad commit is:
commit f296872f373d3439b08e055b03584763e6c2ffec
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sun Sep 22 17:29:33 2013 +0100
sna/dri: Fix SwapbufferWait

Performance
--------------------------------------------------------------------
Test smoking-guns enabling gnome-session 
git- 42330fb:  186.90, 179.90, 181.30, 185.70
git- f296872:  177.80, 174.10, 160.30, 174.50

Reproduce steps:
---------------------------------------------
1, xinit&
2, gnome-session&
3, vblank_mode=0  vblank_mode=0 ./smokinguns.x86_64 +set r_fullscreen 1 +timedemo 1 +set demodone "quit" +set demoloop1 "demo pts; set nextdemo vstr demodone" +vstr demoloop1 +set r_customwidth 1920 +set r_customheight 1080
Comment 1 meng 2013-09-26 02:29:02 UTC
The problem also exists on some games such as padman,GLB25_EgyptTestStandard.
Comment 2 Chris Wilson 2013-09-26 07:03:57 UTC
Your bisection indicates a problem in gnome-shell, not the ddx.
Comment 3 Chris Wilson 2013-09-26 07:04:51 UTC
More importantly you failed to notice the bug that was introduced the few commits earlier that was fixed by that patch.
Comment 4 meng 2013-10-09 07:48:05 UTC
The problem would be fixed, if update gnome-shell 3.8.3-2 to 3.8.4-2.
Comment 5 Eero Tamminen 2013-10-09 11:10:49 UTC
Slowdown seems to be gnome-shell bug 701224.

As this is mobile device, changes in things affecting temperature (like test load) can cause fluctuations.  That theory can be checked by tracking device temperature and GPU speed from sysfs.

As gnome-shell update gets rid of fluctuations, I guess this can be resolved as NOTOURBUG and bug 69788 set as dup of this?
Comment 6 Daniel Vetter 2013-10-09 13:26:54 UTC
*** Bug 69788 has been marked as a duplicate of this bug. ***
Comment 7 Daniel Vetter 2013-10-09 13:27:29 UTC
Yup, makes sense.


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.