Keith Whitwell wrote: > OK, the first round of work on the VBO branch seems to have gone quite > smoothly. It'd be great if a couple of the key r200/r300 people could > check the branch out and verify whether I've broken those drivers or not. Some quick notes: the linux-dri-x86 target won't build (I guess that's expected?), neither will the old i915 driver (not that I'd care, just annoying compilation stops there...). There was a missing symbol (drmCloseOnce), though that's in head too. Hmm. Maybe I've messed up my local git drm tree. Just reverting that change, the glut demos all segfault when you right-click them in _mesa_Bitmap(). Again, turns out it doesn't matter if that's vbo branch or not. Ah well. There's a reference to r200FlushVertices left in r200_context.c (plus the function prototype), causing the driver to fail to load. Fixing that, it seems to work quite fine. However, everything I've tried which uses DrawElements (or maybe DrawRangeElements) segfaults. Below's the backtrace from Mesa's cva test, which uses DrawElements. The same thing also happens with software mesa (once you get past cva's gl version check...).
Roland Mesa: Mesa 6.5.2 DEBUG build Nov 3 2006 00:39:13 Mesa warning: software DXTn compression/decompression available Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1078280320 (LWP 18819)] 0x4052e00b in bind_inputs (ctx=0x8068e18, inputs=0x80b2030, start=0, end=3, bo=0xbfe68b90, nr_bo=0xbfe68b8c) at tnl/t_draw.c:198 198 if (inputs[i]->BufferObj->Name) { (gdb) bt #0 0x4052e00b in bind_inputs (ctx=0x8068e18, inputs=0x80b2030, start=0, end=3, bo=0xbfe68b90, nr_bo=0xbfe68b8c) at tnl/t_draw.c:198 #1 0x4052e294 in _tnl_draw_prims (ctx=0x8068e18, arrays=0x80b2030, prim=0x0, nr_prims=0, ib=0xbfe68c70, min_index=0, max_index=3) at tnl/t_draw.c:334 #2 0x40526b2e in vbo_exec_DrawRangeElements (mode=4, start=0, end=2, count=3, type=5125, indices=0x804a164) at vbo/vbo_exec_array.c:321 #3 0x40526bed in vbo_exec_DrawElements (mode=4, count=3, type=5125, indices=0x804a164) at vbo/vbo_exec_array.c:350 #4 0x4051bd7f in neutral_DrawElements (mode=4, count=3, type=5125, indices=0x804a164) at vtxfmt_tmp.h:335 #5 0x08048d03 in display () at cva.c:80 #6 0x40044fa1 in fghcbDisplayWindow () from //usr/lib/libglut.so.3 #7 0x4004836a in fgEnumWindows () from //usr/lib/libglut.so.3 #8 0x400452ef in glutMainLoopEvent () from //usr/lib/libglut.so.3 #9 0x40045bf5 in glutMainLoop () from //usr/lib/libglut.so.3 #10 0x08048ee6 in main (argc=1, argv=0xbfe69034) at cva.c:161 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev