From: Mogens K. <mk...@cr...> - 2000-01-31 09:36:04
|
Tha MASTER wrote: ... > Before I even tried debugging the program I changed the options in glx.conf. > Blender only ran fine when nohw was set to 1. Changing mga_dma had 0 efect. ... I have tried adding some test printf here and there. Starting: blender blacksmith.blend ctrl-alt-T, select "Draw" from the popup menu. X dies. The last lines from the log file (this gets opened and closed for each logging, so nothing gets stuck in a buffer): glxop Render done. glx op: MakeCurrent glxop MakeCurrent done. glx op: GetString GL_VENDOR : Utah GLX glxop GetString done. glx op: Finish glxop Finish done. glx op: Render ogl op 1: Color4ubv* ogl op 1: PolygonMode* ogl op 1: Rectfv* ogl op 1: PolygonMode glx.so dies in a call to glPolygonMode. The parameters were (GL_FRONT_AND_BACK, GL_FILL), nothing unusual here. I've added some fprints in servGL/mesaglx/polygon.c: ... void gl_PolygonMode( GLcontext *ctx, GLenum face, GLenum mode ) { fprintf(stderr, "gl_PolygonMode 0: %d %d\n", face, mode); fflush(stderr); ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx, "glPolygonMode"); fprintf(stderr, "gl_PolygonMode 1: %d %d\n", face, mode); fflush(stderr); ... On standard error from startx i have: Calling glPolygonMode: 1032 6913 gl_PolygonMode 0: 1032 6913 gl_PolygonMode 1: 1032 6913 gl_PolygonMode 4 [mga] no hw accel. Calling glPolygonMode: 1032 6914 gl_PolygonMode 0: 1032 6914 [mga] empty warp series Fatal server error: Segmentation fault! So it dies in the macro ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH, after having printed the "empty warp series" message. So do I have to look into the previous Rectfv call to see if something is strange here? It could be nice to have this running, I hope we can get Linux higher up on the blenchmark highscore list! Mogens -- Mogens Kjaer, Carlsberg Laboratory, Dept. of Chemistry Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: mk...@cr... Homepage: http://www.crc.dk |