Hello, I've just noticed that the opengl render_texture patch caused a regression with Counter Strike 1.6 and Mesa(radeon driver and software only) rendering.
Patch link: http://www.winehq.org/pipermail/wine-cvs/2005-December/019731.html
+opengl trace: trace:opengl:has_opengl GLX is up and running error_base = 77 trace:opengl:X11DRV_setup_opengl_visual Visual ID 28 Chosen fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x7fd71fe8)->((nil),00000008) fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x7fd71fe8)->((nil),00000013) fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 16 trace:opengl:wgl_ext_initialize_extensions GL version : "1.3 Mesa 6.4.1". trace:opengl:wgl_ext_initialize_extensions GL exts : "GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_".... trace:opengl:wgl_ext_initialize_extensions GLX exts : "GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_import_context GLX_EXT_visual_info GLX_EXT_visual_rating GLX_MESA_allocate_memory GLX_MESA_swap_control GLX_MESA_swap_frame_usage GLX_OML_swap_method GLX_SGI_video_sync GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_visual_select_group ". trace:opengl:wgl_ext_initialize_extensions Server GLX exts : "GLX_ARB_multisample GLX_EXT_visual_info GLX_EXT_visual_rating GLX_EXT_import_context GLX_OML_swap_method GLX_SGI_make_current_read GLX_SGIS_multisample GLX_SGIX_hyperpipe GLX_SGIX_swap_barrier GLX_SGIX_fbconfig ". trace:opengl:wgl_ext_initialize_extensions Client GLX exts : "GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_import_context GLX_EXT_visual_info GLX_EXT_visual_rating GLX_MESA_allocate_memory GLX_MESA_swap_control GLX_MESA_swap_frame_usage GLX_OML_swap_method GLX_OML_sync_control GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync GLX_SGIS_mu".... trace:opengl:query_function_pbuffer gl_version is: "1.3 Mesa 6.4.1" trace:opengl:query_function_pbuffer glx_exts is: "GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_import_context GLX_EXT_visual_info GLX_EXT_visual_rating GLX_MESA_allocate_memory GLX_MESA_swap_control GLX_MESA_swap_frame_usage GLX_OML_swap_method GLX_SGI_video_sync GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_visual_select_group " trace:opengl:query_function_pbuffer gl_version is: "1.3 Mesa 6.4.1" trace:opengl:query_function_pbuffer glx_exts is: "GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_import_context GLX_EXT_visual_info GLX_EXT_visual_rating GLX_MESA_allocate_memory GLX_MESA_swap_control GLX_MESA_swap_frame_usage GLX_OML_swap_method GLX_SGI_video_sync GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_visual_select_group " trace:opengl:wgl_ext_initialize_extensions Supporting following WGL extensions : "WGL_ARB_extensions_string WGL_EXT_extensions_string WGL_ARB_multisample WGL_ARB_pixel_format". trace:opengl:X11DRV_ChoosePixelFormat (0x7fd722b8,0x1ebc8a0) trace:opengl:dump_PIXELFORMATDESCRIPTOR - size / version : 40 / 1 trace:opengl:dump_PIXELFORMATDESCRIPTOR - dwFlags : PFD_DOUBLEBUFFER PFD_DRAW_TO_WINDOW PFD_SUPPORT_OPENGL trace:opengl:dump_PIXELFORMATDESCRIPTOR - iPixelType : PFD_TYPE_RGBA trace:opengl:dump_PIXELFORMATDESCRIPTOR - Color : 32 trace:opengl:dump_PIXELFORMATDESCRIPTOR - Red : 0 trace:opengl:dump_PIXELFORMATDESCRIPTOR - Green : 0 trace:opengl:dump_PIXELFORMATDESCRIPTOR - Blue : 0 trace:opengl:dump_PIXELFORMATDESCRIPTOR - Alpha : 0 trace:opengl:dump_PIXELFORMATDESCRIPTOR - Accum : 0 trace:opengl:dump_PIXELFORMATDESCRIPTOR - Depth : 32 trace:opengl:dump_PIXELFORMATDESCRIPTOR - Stencil : 0 trace:opengl:dump_PIXELFORMATDESCRIPTOR - Aux : 0 trace:opengl:dump_PIXELFORMATDESCRIPTOR - iLayerType : PFD_MAIN_PLANE trace:opengl:X11DRV_SetPixelFormat (0x7fd722b8,5,0x1ebc8a0) trace:opengl:X11DRV_SetPixelFormat FBConfig have : trace:opengl:X11DRV_SetPixelFormat - FBCONFIG_ID 0x27 trace:opengl:X11DRV_SetPixelFormat - VISUAL_ID 0x27 trace:opengl:X11DRV_SetPixelFormat - DRAWABLE_TYPE 0x1 trace:opengl:X11DRV_DescribePixelFormat (0x7fd722b8,5,40,0x1ebc8a0) trace:opengl:dump_PIXELFORMATDESCRIPTOR - size / version : 40 / 1 trace:opengl:dump_PIXELFORMATDESCRIPTOR - dwFlags : PFD_DOUBLEBUFFER PFD_DRAW_TO_WINDOW PFD_SUPPORT_OPENGL trace:opengl:dump_PIXELFORMATDESCRIPTOR - iPixelType : PFD_TYPE_RGBA trace:opengl:dump_PIXELFORMATDESCRIPTOR - Color : 32 trace:opengl:dump_PIXELFORMATDESCRIPTOR - Red : 8 trace:opengl:dump_PIXELFORMATDESCRIPTOR - Green : 8 trace:opengl:dump_PIXELFORMATDESCRIPTOR - Blue : 8 trace:opengl:dump_PIXELFORMATDESCRIPTOR - Alpha : 8 trace:opengl:dump_PIXELFORMATDESCRIPTOR - Accum : 0 trace:opengl:dump_PIXELFORMATDESCRIPTOR - Depth : 24 trace:opengl:dump_PIXELFORMATDESCRIPTOR - Stencil : 0 trace:opengl:dump_PIXELFORMATDESCRIPTOR - Aux : 0 trace:opengl:dump_PIXELFORMATDESCRIPTOR - iLayerType : PFD_MAIN_PLANE trace:opengl:X11DRV_GetPixelFormat (0x7fd722b8): returns 5 trace:opengl:wglCreateContext (0x3b0)->(PF:5) trace:opengl:wglCreateContext creating context 0x7fd74080 (GL context creation delayed) trace:opengl:wglMakeCurrent (0x3b0,0x7fd74080) trace:opengl:wglMakeCurrent desktop VISUAL_ID is 0x28 trace:opengl:wglMakeCurrent drawable 0x4c00001 have : X Error of failed request: GLXUnsupportedPrivateRequest Major opcode of failed request: 143 (GLX) Minor opcode of failed request: 17 (X_GLXVendorPrivateWithReply) Serial number of failed request: 1414262 Current serial number in output stream: 1414262
Stefan
Am Donnerstag, 8. Dezember 2005 21:37 schrieb Stefan Dösinger:
Hello, I've just noticed that the opengl render_texture patch caused a regression with Counter Strike 1.6 and Mesa(radeon driver and software only) rendering.
I noticed a similar error, probably also related to that patch - tested DAZ| Studio 1.0.1, latest Nvidia drivers, on a Quadro FX3000. Already filed a bug report (#4016): [...] trace:opengl:wglCreateContext creating context 0x5595c2c8 (GL context creation delayed) trace:opengl:wglShareLists (0x5593a820, 0x5595c2c8) trace:opengl:wglShareLists created a delayed OpenGL context (0x7c2b27a0) for Wine context 0x5593a820 trace:opengl:wglShareLists created a delayed OpenGL context (0x7c4cea50) for Wine context 0x5595c2c8 sharing lists with OpenGL ctx 0x7c2b27a0 trace:opengl:wglGetCurrentContext () trace:opengl:wglGetCurrentContext returning (nil) (GL context (nil)) trace:opengl:wglMakeCurrent (0x2e38,0x5595c2c8) trace:opengl:wglMakeCurrent make current for dis 0x7c02b698, drawable 0x300000c, ctx 0x7c4cea50 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 128 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 7093 Current serial number in output stream: 7093
Stefan
Ciao, Willie
On Thursday 08 December 2005 21:59, Willie Sippel wrote:
Am Donnerstag, 8. Dezember 2005 21:37 schrieb Stefan Dösinger:
Hello, I've just noticed that the opengl render_texture patch caused a regression with Counter Strike 1.6 and Mesa(radeon driver and software only) rendering.
I noticed a similar error, probably also related to that patch - tested DAZ| Studio 1.0.1, latest Nvidia drivers, on a Quadro FX3000. Already filed a bug report (#4016): [...] trace:opengl:wglCreateContext creating context 0x5595c2c8 (GL context creation delayed) trace:opengl:wglShareLists (0x5593a820, 0x5595c2c8) trace:opengl:wglShareLists created a delayed OpenGL context (0x7c2b27a0) for Wine context 0x5593a820 trace:opengl:wglShareLists created a delayed OpenGL context (0x7c4cea50) for Wine context 0x5595c2c8 sharing lists with OpenGL ctx 0x7c2b27a0 trace:opengl:wglGetCurrentContext () trace:opengl:wglGetCurrentContext returning (nil) (GL context (nil)) trace:opengl:wglMakeCurrent (0x2e38,0x5595c2c8) trace:opengl:wglMakeCurrent make current for dis 0x7c02b698, drawable 0x300000c, ctx 0x7c4cea50 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 128 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 7093 Current serial number in output stream: 7093
Stefan
Ciao, Willie
No it's not the same: Stefan crash on glXQueryDrawable while you fail on glXMakeCurrent
I can say you crash is normal as i haven't fixed wglShareLists delayed context creation yet (as i have done on wglMakeCurrent). I must to share this code (delayed creation) on a static utility function
For Stefan problem i don't understand how it can fail :(
Regards, Raphael
On Fri, Dec 09, 2005 at 12:26:43AM +0100, Raphael wrote:
For Stefan problem i don't understand how it can fail :(
My guess is Stefan's XServer is glx version 1.2 (Stefan glxinfo will comfirm this).
Looking at libGL, it uses the X_GLXVendorPrivateWithReply request with the vendor code X_GLXvop_GetDrawableAttributesSGIX when the server version is < 1.3 (otherwise it uses the X_GLXGetDrawableAttributes request). Mesa doesn't support this vendor code so the request fails. You probably need to catch this error and take the appropiate action if it fails.
Huw.
On Fri, Dec 09, 2005 at 02:25:15PM +0000, Huw D M Davies wrote:
Looking at libGL, it uses the X_GLXVendorPrivateWithReply request with the vendor code X_GLXvop_GetDrawableAttributesSGIX when the server version is < 1.3 (otherwise it uses the X_GLXGetDrawableAttributes request). Mesa doesn't support this vendor code so the request fails. You probably need to catch this error and take the appropiate action if it fails.
Sorry, this wasn't very clear. I meant to say that this is what libGL does when glXQueryDrawable is called.
Huw.
Am Freitag, 9. Dezember 2005 15:25 schrieb Huw D M Davies:
My guess is Stefan's XServer is glx version 1.2 (Stefan glxinfo will comfirm this).
Correct