Bug 64726 - [IvyBridge] Uniform passing broken by commit 0486d503209
Summary: [IvyBridge] Uniform passing broken by commit 0486d503209
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Jordan Justen
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-17 21:58 UTC by Casey Dahlin
Modified: 2014-08-18 08:40 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Casey Dahlin 2013-05-17 21:58:25 UTC
As of commit 0486d503209cf375ae77456336742774b12eda02, my app stopped drawing triangles and displayed only a blank image. Bisection led to the commit given, and reverting just that commit has fixed the issue. I'm assuming the error is uniforms are no longer being passed correctly, so textures have gone missing.

apitrace attached.
Comment 1 Casey Dahlin 2013-05-17 21:59:29 UTC
Attachment seems to have failed. I'll try to get it on when I'm on a better internet connection.
Comment 2 Jordan Justen 2013-05-18 01:52:24 UTC
(In reply to comment #1)
> Attachment seems to have failed. I'll try to get it on when I'm on a better
> internet connection.

The attachment size is limited to 2MB, so you
might need to upload it elsewhere and provide
a link.
Comment 3 Casey Dahlin 2013-05-20 21:12:54 UTC
http://sadmac.fedorapeople.org/mesa-repro.trace

There we go.
Comment 4 Jordan Justen 2013-05-20 23:04:44 UTC
(In reply to comment #3)
> http://sadmac.fedorapeople.org/mesa-repro.trace

I cannot reproduce your symptom of blank rendering when
I replay this trace on Ivy Bridge with mesa master (f6beb4c).

I see a purple background, a plane, and a person
rendered when I replay the trace.

I also reverted 0486d503, and I was unable to see a
difference in rendering.

I also tried both 0486d503 and 0486d503^, and saw no
difference as well.

Which mesa version were you using when you tried the
revert?

What does glxinfo|grep "OpenGL version" report for you?

-Jordan
Comment 5 Casey Dahlin 2013-05-21 19:35:09 UTC
I last tried on top of commit 7e17e72cb716c56264d4778684f6f23de69a56a1

[sadmac@baudrillard mesa (test)]$ glxinfo | grep "OpenGL version"
OpenGL version string: 3.0 Mesa 9.2.0 (git-9ef2c8d)



git-93f2c8d refers to my private commit to revert the change in question.
Comment 6 Eric Anholt 2013-05-28 22:50:18 UTC
It also renders for me on my IVB.
Comment 7 Ian Romanick 2013-07-23 20:21:53 UTC
Could this be some hardware difference between what Casey has and what Eric / Jordan has?

Casey:  What does "lspci -n | grep 0300" say?
Comment 8 Casey Dahlin 2013-08-14 07:44:36 UTC
00:02.0 0300: 8086:0166 (rev 09)

Sorry for the delay. Email must have gotten eaten.

This still showed up on Fedora 19's mesa after upgrade.
Comment 9 Matt Turner 2014-08-11 02:18:22 UTC
(In reply to comment #8)
> 00:02.0 0300: 8086:0166 (rev 09)

IVB GT2 Mobile.

The apitrace renders properly for me on a Haswell.
Comment 10 Tapani Pälli 2014-08-18 08:40:30 UTC
> 00:02.0 0300: 8086:0166 (rev 09)

I have exactly the same output on my IVB, I've tested with Mesa master (ce4d3f3) and everything works fine (no blank image).


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.