[Mesa-users] Mesa 8.0.3 on Windows

Brian Paul brianp at vmware.com
Fri Jun 1 12:40:46 PDT 2012


On 06/01/2012 12:29 PM, Andrew Cunningham wrote:
> Hi,
> I have built Mesa 8.0.3 on Windows(x64) to use as an optional GDI
> OpenGL renderer ( for when users connect over Remote Desktop).
> I am testing it as a "drop-in" replacement for the default
> OpenGL32.DLL, so after building Mesa, I copied the opengl32.dll and
> glu32.dll from the Mesa debug build into my application area.
>
> Unfortunately, the application "ASSERTS" the first time it tries to
> render a window, with info->BytesPerBlock==0. A quick look shows the
> format is MESA_FORMAT_NONE
>
>
> GLint
> _mesa_get_format_bytes(gl_format format)
> {
> const struct gl_format_info *info = _mesa_get_format_info(format);
> ASSERT(info->BytesPerBlock);
> ASSERT(info->BytesPerBlock <= MAX_PIXEL_BYTES ||
> _mesa_is_format_compressed(format));
> return info->BytesPerBlock;
> }
>
>
> opengl32.dll!_wassert(const wchar_t * expr, const wchar_t * filename,
> unsigned int lineno) Line 325 C
>  > opengl32.dll!_mesa_get_format_bytes(gl_format format) Line 1556 +
> 0x26 bytes C
> opengl32.dll!_swrast_map_soft_renderbuffer(gl_context * ctx,
> gl_renderbuffer * rb, unsigned int x, unsigned int y, unsigned int w,
> unsigned int h, unsigned int mode, unsigned char * * out_map, int *
> out_stride) Line 191 + 0xd bytes C
> opengl32.dll!map_attachment(gl_context * ctx, gl_framebuffer * fb,
> gl_buffer_index buffer) Line 588 C
> opengl32.dll!_swrast_map_renderbuffers(gl_context * ctx) Line 667 C
> opengl32.dll!_swrast_span_render_start(gl_context * ctx) Line 851 C
> opengl32.dll!_swrast_render_start(gl_context * ctx) Line 869 C
> opengl32.dll!_swsetup_RenderStart(gl_context * ctx) Line 205 C
> opengl32.dll!run_render(gl_context * ctx, tnl_pipeline_stage * stage)
> Line 278 C
> opengl32.dll!_tnl_run_pipeline(gl_context * ctx) Line 163 + 0x12 bytes C
> opengl32.dll!_tnl_draw_prims(gl_context * ctx, const gl_client_array *
> * arrays, const _mesa_prim * prim, unsigned int nr_prims, const
> _mesa_index_buffer * ib, unsigned int min_index, unsigned int
> max_index) Line 525 C
> opengl32.dll!_tnl_vbo_draw_prims(gl_context * ctx, const
> gl_client_array * * arrays, const _mesa_prim * prim, unsigned int
> nr_prims, const _mesa_index_buffer * ib, unsigned char
> index_bounds_valid, unsigned int min_index, unsigned int max_index,
> gl_transform_feedback_object * tfb_vertcount) Line 424 C
> opengl32.dll!vbo_save_playback_vertex_list(gl_context * ctx, void *
> data) Line 312 C
> opengl32.dll!ext_opcode_execute(gl_context * ctx, gl_dlist_node *
> node) Line 603 C
> opengl32.dll!execute_list(gl_context * ctx, unsigned int list) Line
> 7505 + 0x12 bytes C
> opengl32.dll!_mesa_CallList(unsigned int list) Line 8923 C
> opengl32.dll!glCallList(unsigned int list) Line 100 C
>
>
> Any help greatly appreciated.

The win32/gdi driver hasn't been maintained in quite a while.  I 
suggest trying the 7.11 release, or possibly older.

-Brian



More information about the mesa-users mailing list