Hi All, The problem with xm_tri.c and xlockmore is still present on my VMS-box. I have a patch that prevents mesa from crashing, but Brian liked to have some more data. I did send them over a month ago. Could anybody reproduce the problem or are we going to put my patch in the distribution and noth bothering anymore about the cause of the crashes.
Jouk [EMAIL PROTECTED] wrote on 23-SEP-2005 10:51:39.33 >[EMAIL PROTECTED] wrote on 22-SEP-2005 16:42:53.31 >[snip] >>> It seems that in smooth_DITHER8_z_triangle the values for >>> span.red , span.blue and span.green get very strange values (even large >>> negatives). This causes a miscalculation of the index of the array ctable. >>> If I apply the patch to src/mesa/divers/x11/xm_tri.c, >>> which is at the end of this mail The problem seems to be gone. However the >>> extra testing on array boundaries may have some effect on the performance. >>> Any idea what may cause the strange rgb values? >> >>My guess is perhaps the triangle is very thin and the partial >>derivatives are very large. If you could get the values of the >>triangle v0, v1 and v2 parameters when things blow up, I could try to >>reproduce the problem. > some examples : (vms_tmp is the array index of ctable , only when vms_tmp>576) > >********* >vms_tmp : 67108800 >span.red/green/blue : -7359 -7359 -7359 > >v0->win : 511.063965 456.081879 63743.515625 0.037063 >v0->texcoord[0] : 0.000000 0.000000 0.000000 0.000000 >v0->texcoord[1] : 0.000000 0.000000 0.000000 0.000000 >v0->texcoord[2] : 0.000000 0.000000 0.000000 0.000000 >v0->texcoord[3] : 0.000000 0.000000 0.000000 0.000000 >v0->texcoord[4] : 0.000000 0.000000 0.000000 0.000000 >v0->texcoord[5] : 0.000000 0.000000 0.000000 0.000000 >v0->texcoord[6] : 0.000000 0.000000 0.000000 0.000000 >v0->texcoord[7] : 0.000000 0.000000 0.000000 0.000000 >v0->color : 36 36 36 255 >v0->specular : 0 0 0 0 >v0->fog : 0.000000 >v0->index : 0.000000 >v0->pointSize : 0.000000 > >vi->win : 511.338318 457.138641 63737.035156 0.037161 >vi->texcoord[0] : 0.000000 0.000000 0.000000 0.000000 >vi->texcoord[1] : 0.000000 0.000000 0.000000 0.000000 >vi->texcoord[2] : 0.000000 0.000000 0.000000 0.000000 >vi->texcoord[3] : 0.000000 0.000000 0.000000 0.000000 >vi->texcoord[4] : 0.000000 0.000000 0.000000 0.000000 >vi->texcoord[5] : 0.000000 0.000000 0.000000 0.000000 >vi->texcoord[6] : 0.000000 0.000000 0.000000 0.000000 >vi->texcoord[7] : 0.000000 0.000000 0.000000 0.000000 >vi->color : 53 53 53 255 >vi->specular : 0 0 0 0 >vi->fog : 0.000000 >vi->index : 0.000000 >vi->pointSize : 0.000000 > >v2->win : 535.210022 562.452820 63779.343750 0.036522 >v2->texcoord[0] : 0.000000 0.000000 0.000000 0.000000 >v2->texcoord[1] : 0.000000 0.000000 0.000000 0.000000 >v2->texcoord[2] : 0.000000 0.000000 0.000000 0.000000 >v2->texcoord[3] : 0.000000 0.000000 0.000000 0.000000 >v2->texcoord[4] : 0.000000 0.000000 0.000000 0.000000 >v2->texcoord[5] : 0.000000 0.000000 0.000000 0.000000 >v2->texcoord[6] : 0.000000 0.000000 0.000000 0.000000 >v2->texcoord[7] : 0.000000 0.000000 0.000000 0.000000 >v2->color : 36 36 36 255 >v2->specular : 0 0 0 0 >v2->fog : 0.000000 >v2->index : 0.000000 >v2->pointSize : 0.000000 >********* > > >********* >vms_tmp : 67108863 >span.red/green/blue : -34469 -34469 -34469 > >v0->win : 483.304993 461.373016 63870.703125 0.035142 >v0->texcoord[0] : 0.000000 0.000000 0.000000 0.000000 >v0->texcoord[1] : 0.000000 0.000000 0.000000 0.000000 >v0->texcoord[2] : 0.000000 0.000000 0.000000 0.000000 >v0->texcoord[3] : 0.000000 0.000000 0.000000 0.000000 >v0->texcoord[4] : 0.000000 0.000000 0.000000 0.000000 >v0->texcoord[5] : 0.000000 0.000000 0.000000 0.000000 >v0->texcoord[6] : 0.000000 0.000000 0.000000 0.000000 >v0->texcoord[7] : 0.000000 0.000000 0.000000 0.000000 >v0->color : 53 53 53 255 >v0->specular : 0 0 0 0 >v0->fog : 0.000000 >v0->index : 0.000000 >v0->pointSize : 0.000000 > >vi->win : 483.173615 460.834900 63876.792969 0.035050 >vi->texcoord[0] : 0.000000 0.000000 0.000000 0.000000 >vi->texcoord[1] : 0.000000 0.000000 0.000000 0.000000 >vi->texcoord[2] : 0.000000 0.000000 0.000000 0.000000 >vi->texcoord[3] : 0.000000 0.000000 0.000000 0.000000 >vi->texcoord[4] : 0.000000 0.000000 0.000000 0.000000 >vi->texcoord[5] : 0.000000 0.000000 0.000000 0.000000 >vi->texcoord[6] : 0.000000 0.000000 0.000000 0.000000 >vi->texcoord[7] : 0.000000 0.000000 0.000000 0.000000 >vi->color : 36 36 36 255 >vi->specular : 0 0 0 0 >vi->fog : 0.000000 >vi->index : 0.000000 >vi->pointSize : 0.000000 > >v2->win : 456.920502 350.773315 63849.441406 0.035463 >v2->texcoord[0] : 0.000000 0.000000 0.000000 0.000000 >v2->texcoord[1] : 0.000000 0.000000 0.000000 0.000000 >v2->texcoord[2] : 0.000000 0.000000 0.000000 0.000000 >v2->texcoord[3] : 0.000000 0.000000 0.000000 0.000000 >v2->texcoord[4] : 0.000000 0.000000 0.000000 0.000000 >v2->texcoord[5] : 0.000000 0.000000 0.000000 0.000000 >v2->texcoord[6] : 0.000000 0.000000 0.000000 0.000000 >v2->texcoord[7] : 0.000000 0.000000 0.000000 0.000000 >v2->color : 53 53 53 255 >v2->specular : 0 0 0 0 >v2->fog : 0.000000 >v2->index : 0.000000 >v2->pointSize : 0.000000 >********* > > >********* >vms_tmp : 67108863 >span.red/green/blue : -61690 -61690 -61690 > >v0->win : 677.390198 386.785614 63809.882812 0.036060 >v0->texcoord[0] : 0.000000 0.000000 0.000000 0.000000 >v0->texcoord[1] : 0.000000 0.000000 0.000000 0.000000 >v0->texcoord[2] : 0.000000 0.000000 0.000000 0.000000 >v0->texcoord[3] : 0.000000 0.000000 0.000000 0.000000 >v0->texcoord[4] : 0.000000 0.000000 0.000000 0.000000 >v0->texcoord[5] : 0.000000 0.000000 0.000000 0.000000 >v0->texcoord[6] : 0.000000 0.000000 0.000000 0.000000 >v0->texcoord[7] : 0.000000 0.000000 0.000000 0.000000 >v0->color : 37 37 37 255 >v0->specular : 0 0 0 0 >v0->fog : 0.000000 >v0->index : 0.000000 >v0->pointSize : 0.000000 > >vi->win : 656.515137 486.344482 63787.695312 0.036396 >vi->texcoord[0] : 0.000000 0.000000 0.000000 0.000000 >vi->texcoord[1] : 0.000000 0.000000 0.000000 0.000000 >vi->texcoord[2] : 0.000000 0.000000 0.000000 0.000000 >vi->texcoord[3] : 0.000000 0.000000 0.000000 0.000000 >vi->texcoord[4] : 0.000000 0.000000 0.000000 0.000000 >vi->texcoord[5] : 0.000000 0.000000 0.000000 0.000000 >vi->texcoord[6] : 0.000000 0.000000 0.000000 0.000000 >vi->texcoord[7] : 0.000000 0.000000 0.000000 0.000000 >vi->color : 37 37 37 255 >vi->specular : 0 0 0 0 >vi->fog : 0.000000 >vi->index : 0.000000 >vi->pointSize : 0.000000 > >v2->win : 656.702515 485.415497 63781.324219 0.036492 >v2->texcoord[0] : 0.000000 0.000000 0.000000 0.000000 >v2->texcoord[1] : 0.000000 0.000000 0.000000 0.000000 >v2->texcoord[2] : 0.000000 0.000000 0.000000 0.000000 >v2->texcoord[3] : 0.000000 0.000000 0.000000 0.000000 >v2->texcoord[4] : 0.000000 0.000000 0.000000 0.000000 >v2->texcoord[5] : 0.000000 0.000000 0.000000 0.000000 >v2->texcoord[6] : 0.000000 0.000000 0.000000 0.000000 >v2->texcoord[7] : 0.000000 0.000000 0.000000 0.000000 >v2->color : 121 121 121 255 >v2->specular : 0 0 0 0 >v2->fog : 0.000000 >v2->index : 0.000000 >v2->pointSize : 0.000000 >********* > > > > Jouk Bush : All votes are equal but some votes are more equal than others. >------------------------------------------------------------------------------< Jouk Jansen [EMAIL PROTECTED] Technische Universiteit Delft tttttttttt uu uu ddddddd Kavli Institute of Nanoscience tttttttttt uu uu dd dd Nationaal centrum voor HREM tt uu uu dd dd Lorentzweg 1 tt uu uu dd dd 2628 CJ Delft tt uu uu dd dd Nederland tt uu uu dd dd tel. 31-15-2782272 tt uuuuuuu ddddddd >------------------------------------------------------------------------------< ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev