Bug 81366 - [IVB/HSW/BYT-M bisected]GpuTest GiMark render error
Summary: [IVB/HSW/BYT-M bisected]GpuTest GiMark render error
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high major
Assignee: Matt Turner
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-15 03:26 UTC by meng
Modified: 2014-07-16 02:54 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
GpuTest-GiMark pass photo (319.15 KB, image/png)
2014-07-15 03:33 UTC, meng
Details
GpuTest-GiMark fail photo (299.14 KB, image/png)
2014-07-15 03:34 UTC, meng
Details
Xorg.0.log (17.82 KB, text/plain)
2014-07-15 03:34 UTC, meng
Details

Description meng 2014-07-15 03:26:01 UTC
System Environment:
--------------------------
Mesa:  (master)923f78440c29644f31d745d6fbd4eaad8676973f
Xserver:(master)xorg-server-1.15.99.902-121-g2f5cf9ff9a0f713b7e038636484c77f113
Xf86_video_intel:master)2.99.912-229-ge0523ade28fa0da00d0bd70d8b22d53ed4e49f73
Kernel:	(drm-intel-nightly) git-271bff.

Bug detailed description:
----------------------------
GpuTest GiMark render error on IVB/HSW/BYT-M. The issue exists on gnome-session and Raw X. Please see the png and Xorg.0.log.
It's Mesa regression, bisecting show the first bad commit is 
commit 1d9f74eda75da05b4d5c7df5fc1e6f5ab8d88322
Author:     Matt Turner <mattst88@gmail.com>
AuthorDate: Fri Feb 28 20:11:32 2014 -0800
Commit:     Matt Turner <mattst88@gmail.com>
CommitDate: Thu Jun 19 16:11:51 2014 -0700

    glsl: Rebalance expression trees that are reduction operations.

Reproduce steps:
-------------------------
1. xinit
2. MESA_GL_VERSION_OVERRIDE=3.0 ./GpuTest /test=gi
Comment 1 meng 2014-07-15 03:33:36 UTC
Created attachment 102808 [details]
GpuTest-GiMark pass photo
Comment 2 meng 2014-07-15 03:34:06 UTC
Created attachment 102809 [details]
GpuTest-GiMark fail photo
Comment 3 meng 2014-07-15 03:34:46 UTC
Created attachment 102810 [details]
Xorg.0.log
Comment 4 Eero Tamminen 2014-07-15 07:13:01 UTC
Random notes:
- Windows driver renders GiMark also incorrectly, although in different way
  (it misses specular highlights)
- Nividia renders it correctly both on Windows & Linux
- Mesa has been rendering this correctly before, at least since last year
- Any 3.x version is enough for the Mesa GL version override
Comment 5 Matt Turner 2014-07-15 17:13:14 UTC
I suspect this is fixed by

http://cgit.freedesktop.org/mesa/mesa/commit/?id=103716a8629858f6af32a3a6b195a4dc78c356d2

Please test.
Comment 6 meng 2014-07-16 02:54:06 UTC
Verified it.


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.