On 08.06.2008 13:36, Tomas Carnecky wrote: > Roland Scheidegger wrote: >> On 07.06.2008 23:34, Tomas Carnecky wrote: >>> I even have a small application that demonstrates the problem. If >>> this is a new bug to you, should I open a bug and attach the app to it? > > The app source is attached in case you'd want to test it yourself. I don't have a board I could test this on :-).
> > To test fixed-pipeline texturing: > $ ./foo > > To test shader texturing: > $ ./foo shader > > You should see a red gradient from top to bottom, if you see a red > rectangle with no gradient then that shows the bug. > >> I think the attached patch (against mesa master) should fix this >> problem. I'll commit it if it actually works :-). > > It seems to work with your patch. Ok commited (master and 7_0 branch). > Though I have to say I'm a bit > disappointed with the performance in mesa from git. Normally I have a > 2.6.25 kernel, mesa-7.0.3 and libdrm-2.3.0, xf86-video-intel from git. > With these versions opengl works quite well (disregarding the occasional > lockups somewhere in the xserver intel driver, gdb backtrace shows it's > stuck in ioctl(), waiting for irq or something like that). With mesa/drm > from git, when I start glxgears it takes about 5 seconds until the > window is mapped, and another 5-10 seconds until the gears appear. When > I enable TTM in mesa it takes much longer (up to one minute) to start up > (and runs at about 5% of the speed of the non-ttm driver). It may very > well be a problem with my setup etc. Sounds like a problem. No idea what's going wrong though. > > The i915 dri driver has the same bug AFAICS, see > src/mesa/drivers/dri/i915/i915_fragprog.c, the EMIT_TEX() macro. Haven't tested it, but it shouldn't be the case. The i915 (unlike i965) apparently internally handles that (see SS3_NORMALIZED_COORDS bit). Roland ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
