<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD><TITLE></TITLE>
<STYLE>
body, table, tr, td, p {font-family: Verdana;font-size:12px;margin: 0px 0px 0px 0px}
.bgtabl {BACKGROUND-REPEAT: no-repeat}
</STYLE>
</HEAD>
<BODY bgProperties="fixed" bgcolor="#FFFFFF" background="http://flashimg.club-internet.fr/flashmail/vide.gif">
Hi,<br>
<br>
Seems you want to use 32bits Depth buffer (should be a game option) <br>
who don't seems to be supported by your graphic card (old code use to
always declare 8bits Depth buffer without checking HW support)<br>
<br>
Can you provide output of glxinfo command to see ?<br>
<br>
Regards,<br>
Raphael<br>
<br>
<br>----Message d'origine----
<br>&gt;De: Stefan D�singer <stefandoesinger @gmx.at="">
<br>&gt;A: wine-devel@winehq.com
<br>&gt;Sujet: Regression in Half life
<br>&gt;Date: Thu, 5 May 2005 20:00:44 +0000
<br>&gt;
<br>&gt;Hello,
<br>&gt;These two patches cause a regression in Half-Life (Version 1.1.1.0):
<br>&gt;
<br>&gt;(1)http://www.winehq.org/hypermail/wine-cvs/2005/04/0307.html
<br>&gt;(2)http://www.winehq.org/hypermail/wine-cvs/2005/04/0308.html
<br>&gt;
<br>&gt;Half-life reports "ChoosePixelFormat failed", followed by "The Selected OpenGL 
<br>&gt;mode is not supported by your card" when starting the engine. Wine prints the 
<br>&gt;following error:
<br>&gt;
<br>&gt;err:opengl:X11DRV_ChoosePixelFormat glXChooseFBConfig returns NULL (glError: 
<br>&gt;0)
<br>&gt;
<br>&gt;Reversing the above 2 patches fixes the problem. Reversing patch 1 only causes 
<br>&gt;a crash, if I reverse only patch 2 the problem still exists.
<br>&gt;
<br>&gt;Cheers,
<br>&gt;Stefan
<br>&gt;
<br>&gt;Here's a +opengl trace
<br>&gt;trace:opengl:X11DRV_OpenGL_Init GLX is up and running error_base = 77
<br>&gt;fixme:ddraw:Main_DirectDraw_SetCooperativeLevel 
<br>&gt;(0x77c71a58)-&gt;(00000000,00000008)
<br>&gt;fixme:ddraw:Main_DirectDraw_SetCooperativeLevel 
<br>&gt;(0x77c71a58)-&gt;(00000000,00000013)
<br>&gt;fixme:mmtime:timeBeginPeriod Stub; we set our timer resolution at minimum
<br>&gt;fixme:mmtime:timeEndPeriod Stub; we set our timer resolution at minimum
<br>&gt;fixme:ddraw:Main_DirectDraw_SetCooperativeLevel 
<br>&gt;(0x77c71a58)-&gt;(00000000,00000008)
<br>&gt;fixme:ddraw:Main_DirectDraw_SetCooperativeLevel 
<br>&gt;(0x77c71a58)-&gt;(00010028,00000013)
<br>&gt;fixme:win:LockWindowUpdate (0x10028), partial stub!
<br>&gt;fixme:mmtime:timeBeginPeriod Stub; we set our timer resolution at minimum
<br>&gt;fixme:win:LockWindowUpdate ((nil)), partial stub!
<br>&gt;fixme:ddraw:Main_DirectDraw_SetCooperativeLevel 
<br>&gt;(0x77c71a58)-&gt;(00000000,00000008)
<br>&gt;fixme:ddraw:Main_DirectDraw_SetCooperativeLevel 
<br>&gt;(0x77c71a58)-&gt;(00010028,00000013)
<br>&gt;fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 
<br>&gt;16
<br>&gt;fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 
<br>&gt;16
<br>&gt;fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 
<br>&gt;16
<br>&gt;fixme:win:LockWindowUpdate (0x10028), partial stub!
<br>&gt;fixme:win:LockWindowUpdate ((nil)), partial stub!
<br>&gt;fixme:win:LockWindowUpdate (0x10028), partial stub!
<br>&gt;fixme:win:LockWindowUpdate ((nil)), partial stub!
<br>&gt;fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 
<br>&gt;16
<br>&gt;trace:opengl:wgl_ext_initialize_extensions GL version      : "1.3.5010 
<br>&gt;(X4.3.0-8.12.10)".
<br>&gt;trace:opengl:wgl_ext_initialize_extensions GL exts         : 
<br>&gt;"GL_ARB_multitexture GL_EXT_texture_env_add GL_EXT_compiled_vertex_array 
<br>&gt;GL_S3_s3tc GL_ARB_occlusion_query GL_ARB_point_parameters 
<br>&gt;GL_ARB_texture_border_clamp GL_ARB_texture_compression 
<br>&gt;GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine 
<br>&gt;GL_ARB_texture_env_crossbar GL_ARB_texture"....
<br>&gt;trace:opengl:wgl_ext_initialize_extensions GLX exts        : 
<br>&gt;"GLX_EXT_visual_info GLX_EXT_visual_rating GLX_EXT_import_context 
<br>&gt;GLX_ARB_get_proc_address GLX_ARB_multisample ".
<br>&gt;trace:opengl:wgl_ext_initialize_extensions Server GLX exts : 
<br>&gt;"GLX_ARB_multisample GLX_EXT_visual_info GLX_EXT_visual_rating 
<br>&gt;GLX_EXT_import_context GLX_OML_swap_method GLX_SGI_make_current_read 
<br>&gt;GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_ARB_get_proc_address ".
<br>&gt;trace:opengl:wgl_ext_initialize_extensions Client GLX exts : 
<br>&gt;"GLX_EXT_visual_info GLX_EXT_visual_rating GLX_EXT_import_context 
<br>&gt;GLX_ARB_get_proc_address GLX_ARB_multisample GLX_ATI_pixel_format_float 
<br>&gt;GLX_ATI_render_texture ".
<br>&gt;fixme:opengl:query_function_pbuffer gl_version is: "1.3.5010 (X4.3.0-8.12.10)"
<br>&gt;fixme:opengl:query_function_pbuffer glx_exts is: "GLX_EXT_visual_info 
<br>&gt;GLX_EXT_visual_rating GLX_EXT_import_context GLX_ARB_get_proc_address 
<br>&gt;GLX_ARB_multisample"
<br>&gt;fixme:opengl:query_function_pbuffer gl_version is: "1.3.5010 (X4.3.0-8.12.10)"
<br>&gt;fixme:opengl:query_function_pbuffer glx_exts is: "GLX_EXT_visual_info 
<br>&gt;GLX_EXT_visual_rating GLX_EXT_import_context GLX_ARB_get_proc_address 
<br>&gt;GLX_ARB_multisample"
<br>&gt;trace:opengl:wgl_ext_initialize_extensions Supporting following WGL 
<br>&gt;extensions : "WGL_ARB_extensions_string WGL_EXT_extensions_string 
<br>&gt;WGL_ARB_make_current_readWGL_ARB_multisample WGL_ARB_pbuffer 
<br>&gt;WGL_ARB_pixel_format WGL_EXT_swap_control".
<br>&gt;trace:opengl:X11DRV_ChoosePixelFormat (0x77cc5448,0x1df4964)
<br>&gt;  - size / version : 40 / 1
<br>&gt;  - dwFlags : PFD_DOUBLEBUFFER PFD_DRAW_TO_WINDOW PFD_SUPPORT_OPENGL
<br>&gt;  - iPixelType : PFD_TYPE_RGBA
<br>&gt;  - Color   : 24
<br>&gt;  - Red     : 0
<br>&gt;  - Green   : 0
<br>&gt;  - Blue    : 0
<br>&gt;  - Alpha   : 0
<br>&gt;  - Accum   : 0
<br>&gt;  - Depth   : 32
<br>&gt;  - Stencil : 0
<br>&gt;  - Aux     : 0
<br>&gt;  - iLayerType : PFD_MAIN_PLANE
<br>&gt;err:opengl:X11DRV_ChoosePixelFormat glXChooseFBConfig returns NULL (glError: 
<br>&gt;0)
<br>&gt;trace:opengl:wglMakeCurrent ((nil),(nil))
<br>&gt;trace:opengl:wglMakeCurrent  returning True
<br>&gt;fixme:win:LockWindowUpdate (0x10028), partial stub!
<br>&gt;fixme:win:LockWindowUpdate ((nil)), partial stub!
<br>&gt;fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 
<br>&gt;16
<br>&gt;fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 
<br>&gt;16
<br>&gt;fixme:mmtime:timeEndPeriod Stub; we set our timer resolution at minimum
<br>&gt;
<br>&gt;

</stefandoesinger></body></html>