Bug 75746 - [IVB/HSW bisected]WebGL benchmark render error
Summary: [IVB/HSW bisected]WebGL benchmark render error
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: All Linux (All)
: high major
Assignee: Matt Turner
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-04 09:24 UTC by zhoujian
Modified: 2014-03-04 09:46 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
webgl.png (2.42 MB, image/png)
2014-03-04 09:26 UTC, zhoujian
Details
Xorg.0.log (22.95 KB, text/plain)
2014-03-04 09:31 UTC, zhoujian
Details

Description zhoujian 2014-03-04 09:24:31 UTC
Platform:IVB/HSW
Libdrm: (master)libdrm-2.4.52-2-gcbb31f2d6e674513c0f66484c414475baba09153
Mesa:(master)e5e4120723f7aa927faadca96910d4e8cbd99f40
Xserver:(master)xorg-server-1.15.0-558-gc1ce807d9f18f215332d7eeb8
Xf86_video_intel:(master)2.99.907-54-g294180b3bf78f2c0ae2f1197e1c
Cairo:(master)2a7f133639bed86a29dd9693cb78c0aa42eaff30
Libva:(staging)79ddde6bab54618046f136471c020c08ff4fde50
Libva_intel_driver:(staging)6736a39fce442a8e5abb2a2e99adf56e3965d35f
Kernel: drm-intel-nightly git-0dfe3c


Bug detailed description:
-----------------------------------------------------------------------------
WebGL benchmark render error on IVB/HSW, The problem exists on both gnome-session and Raw X.
Please see Xorg.o.log and webgl.png.
It’s Mesa regression, bisecting show that the first bad commit is
4bd6e0d7c69b304be88996a6c2b96ce7d996e627 
Author: Matt Turner <mattst88@gmail.com> 
Date: Sat Dec 21 11:28:05 2013 -0800 
    glsl: Vectorize multiple scalar assignments 
    Reduces vertex shader instruction counts in DOTA2 by 6.42%, L4D2 by 
    4.61%, and CS:GO by 5.71%. 
    total instructions in shared programs: 1500153 -> 1498191 (-0.13%) 
    instructions in affected programs: 59919 -> 57957 (-3.27%) 
    Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>

Reproduce steps:
-----------------------------------------------------------------------------
1. xinit&
2. google-chrome-stable --enable-webgl --ignore-gpu-blacklist --user-data-dir http://tinderbox.sh.intel.com/webglsamples.googlecode.com/hg/dynamic-cubemap/dynamic-cubemap.html
Comment 1 zhoujian 2014-03-04 09:26:53 UTC
Created attachment 95079 [details]
webgl.png
Comment 2 zhoujian 2014-03-04 09:31:24 UTC
Created attachment 95080 [details]
Xorg.0.log
Comment 3 meng 2014-03-04 09:45:53 UTC
It's OK on upstream now, fixed by 

commit 025d99ce3cea21c9ecea77b95655c0c838b2fa3c
Author: Matt Turner <mattst88@gmail.com>
Date: Mon Feb 10 12:09:19 2014 -0800
    glsl: Do not vectorize vector array dereferences.


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.