Alexander E. Patrakov wrote:
3) I couldn't start Xglx at 1024x768 with Mesa as of Sunday, Feb 20, 2005 with LIBGL_ALWAYS_INDIRECT=1 in the environment. The error is:
X Error of failed request: BadLength (poly request too large or internal Xlib length error) Major opcode of failed request: 145 (GLX) Minor opcode of failed request: 1 (X_GLXRender) Serial number of failed request: 85 Current serial number in output stream: 86
It sounds like there may be a bug in the new GLX protocol code. Can you generate a debug version of indirect.c and figure out which command generates the error? To do this, you'll need to cd to src/mesa/glapi and run the following command. After that, you'll have to rebuild Mesa with 'linux-dri' or 'linux-dri-x86' or some such.
python glX_proto_send.py -d -m proto > ../../glx/x11/indirect.c
You'll need to use LD_PRELOAD to force the use of that libGL. With this debug libGL, it will log a message before every GL command and do a glFinish after. The last command logged is likely the one with the bug.
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel