Created attachment 48540 [details]
Kernel: (drm-intel-fixes) f01c22fd59aa10a3738ede20fd4b9b6fd1e2eac3
Bug detailed description:
3D demos like glxgears abort on IvyBridge.And compiz can't work in gnome-session.It's mesa regression.By bisected,show that c173541d9769d41a85cc899bc49699a3587df4bf
is first bad commit.Pls see Xorg.log.
In console when running glxgears:
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
glxgears: gen7_urb.c:81: upload_urb: Assertion `brw->gs.prog_active' failed.
Aborted (core dumped)
Author: Eric Anholt <firstname.lastname@example.org>
Date: Wed Apr 27 13:33:10 2011 -0700
i965: Use state streaming on programs, and state base address on gen5+.
There will be a little bit of thrashing of the program cache BO as the
cache warms up, but once the application is in steady state, this
reduces relocations on gen5 and later.
On my T420 laptop, cairogl firefox-talos-gfx performance improves 2.6%
+/- 1.3% (n=6). No statistically significant performance difference
on nexuiz (n=5).
No problem on SNB or Ironlake?
SNB and Ironlake is OK.
Should be fixed on master by the following commit:
Author: Kenneth Graunke <email@example.com>
Date: Wed Jun 29 10:53:51 2011 -0700
i965/gen7: Add missing ! to brw->gs.prog_active assertion.
A typo in commit c173541d9769 accidentally removed the !.
It's supposed to assert that there is _not_ an active GS program.
Signed-off-by: Kenneth Graunke <firstname.lastname@example.org>
Also cherry-picked to 7.11 as a8d7f36d6598da452c9724d41b74feff4a0cdd88. Normally I'd let it sit, but this was obviously wrong, trivial, and for unreleased hardware and software anyway.
Verified with 5ddc518401ae69ad92218643f00ef50617a0f11d,it works fine.