From: Harry O. <ho...@de...> - 2000-01-17 16:22:42
|
----- Original Message ----- From: "Brian Paul" <br...@pr...> To: "Harry Overs" <ho...@de...> Cc: <dri...@ma...> Sent: Monday, January 17, 2000 4:08 PM Subject: Re: [Dri-devel] Failure of GLXMakeCurrent with 2 contexts > Harry Overs wrote: > > > > ----- Original Message ----- > > From: "Brian Paul" <br...@pr...> > > To: "Harry Overs" <ho...@de...> > > Cc: "DRI-devel" <dri...@ma...> > > Sent: Monday, January 17, 2000 3:48 PM > > Subject: Re: [Dri-devel] Failure of GLXMakeCurrent with 2 contexts > > > > > Harry Overs wrote: > > > > > > > > Test code works fine with Mesa 3.1 s/w (no acceleration). > > > > But with DRI, I get an X Error on GLXMakeCurrent. The problem seems to > > occur > > > > with any code that has more than one context (i.e. two GLwDrawingArea > > > > widgets). > > > > We have hacked glxdemo.c to show the problem. > > > > > > > > Using: > > > > tdfx_dri-3.9.16-5.i386.rpm > > > > tdfx_drm-0.8-3.src.rpm > > > > xf86config.tar.gz > > > > Glide_V3-DRI-3.10-4.i386.rpm > > > > tdfx_dri_devel-3.9.16-5.i386.rpm > > > > > > > > Any help appreciated, > > > > > > I haven't tried your test yet but was wondering, are you using indirect > > > contexts? If so, there was a bug which caused a segfault when using > > > more than one indirect context. I checked in the fix last week. > > > > > > -Brian > > > > > > > Sorry if this is a stupid question - but what's an indirect context? > > There is no segfault, rather an X Error. The X Server doesn't crash. > > It doesn't sound like the same thing. > > An indirect context generates an X protocol message from each GL > call, sends it over the wire/socket to your X server where it's > decoded and send to the renderer. > > The bug I fixed solved a client-side segfault. The X server wasn't > effected. > > Please set the MESA_INFO env var before you run your program and see > what it prints. > > Try setting/unsetting DRI_ALWAYS_INDIRECT (env var) as well and see > what happens. > Set DRI_ALWAYS_INDIRECT and MESA_INFO and got: GenuineIntel cpu detected. MMX cpu detected. Mesa GL_VERSION = 1.2 Mesa 3.1 Mesa GL_RENDERER = Mesa Glide - DRI VB/V3 Mesa GL_VENDOR = Brian Paul Mesa GL_EXTENSIONS = GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_logic_op GL_EXT_blend_subtract GL_EXT_paletted_texture GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_vertex_array GL_EXT_texture_object GL_EXT_texture3D GL_MESA_window_pos GL_MESA_resize_buffers GL_EXT_shared_texture_palette GL_EXT_rescale_normal GL_EXT_abgr GL_SGIS_texture_edge_clamp GL_EXT_stencil_wrap GL_INGR_blend_func_separate GL_ARB_multitexture GL_NV_texgen_reflection GL_PGI_misc_hints GL_EXT_compiled_vertex_array GL_EXT_clip_volume_hint 3DFX_set_global_palette GL_FXMESA_global_texture_lod_bias GL_EXT_texture_env_add Resize event Redraw event X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 145 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 28 Current serial number in output stream: 28 The same error as before. Regards. > -Brian > > _______________________________________________ > Dri-devel mailing list > Dri...@li... > http://lists.sourceforge.net/mailman/listinfo/dri-devel |