Bug 89438 - [BDW BSW] SynMark2_v6_0_0_OglDrvCtx performance reduce by 12% with gnome-session
Summary: [BDW BSW] SynMark2_v6_0_0_OglDrvCtx performance reduce by 12% with gnome-session
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: 10.5
Hardware: All Linux (All)
: low normal
Assignee: Ian Romanick
QA Contact: Intel 3D Bugs Mailing List
Keywords: bisected
Depends on:
Reported: 2015-03-05 06:07 UTC by ye.tian
Modified: 2019-09-25 18:53 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:

Xorg info (14.78 KB, text/plain)
2015-03-05 06:07 UTC, ye.tian

Description ye.tian 2015-03-05 06:07:03 UTC
Created attachment 114017 [details]
Xorg info

System Environment: 
Regression: Yes     
Platform:  BDW BSW
Kernel:  V3.19
Mesa:  (10.5)c32d83528189be988275c9ccbd3bbb2e48ee4362
Xserver: (server-1.16-branch)xorg-server-1.16.4
Cairo:  (master)70cc8f250b5669e757b4f044571ba0f71e3dea9e
Libva:  (master)f9741725839ea144e9a6a1827f74503ee39946c3
Libva_intel_driver: (master)e8fde1cdaafb93c2b54d6092a728d099ad7cdd11

Bug detailed description:
SynMark2_v6_0_0_OglDrvCtx performance reduce by 12% with gnome-session on BDW and BSW. The problem also exists on latest Master branch.
It's Mesa regression. By bisected, show that ee5fb8d1 is the first bad commit.
Its parents commit (7ff457b9) is good.

commit ee5fb8d1ba7f50ed94e1a34fa0f6e15a0588145e  
Author:     Kristian Høgsberg <krh@bitplanet.net>
AuthorDate: Mon Oct 20 23:29:41 2014 -0700
Commit:     Kristian Høgsberg <krh@bitplanet.net>
CommitDate: Wed Dec 10 12:29:27 2014 -0800

    i965: Generate vs code using scalar backend for BDW+

    With everything in place, we can now use the scalar backend compiler for
    vertex shaders on BDW+.  We make scalar vertex shaders the default on
    BDW+ but add a new vec4vs debug option to force the vec4 backend.

    No piglit regressions.

    Performance impact is minimal, I see a ~1.5 improvement on the T-Rex
    GLBenchmark case, but in general it's in the noise.  Some of our
    internal synthetic, vs bounded benchmarks show great improvement, 20%-40%
    in some cases, but real-world cases are mostly unaffected.

    Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> 

Please see Xrog.0.log.

Reproduce steps:
1, xinit& 
2, gnome-session&
3, ./synmark2 OglDrvCtx
Comment 1 lu hua 2015-03-12 06:53:28 UTC
*** Bug 89457 has been marked as a duplicate of this bug. ***
Comment 2 Matt Turner 2016-11-02 05:12:50 UTC
Possibly inevitable.
Comment 3 GitLab Migration User 2019-09-25 18:53:33 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1476.

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.