Regression in Half life

Stefan Dösinger stefandoesinger at gmx.at
Thu May 5 17:21:03 CDT 2005


>  <snip>
>
> > visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
> > id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
> >----------------------------------------------------------------------
> >0x23 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
> >0x24 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
> >0x25 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
> >0x26 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
> >0x27 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
> >0x28 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
> >0x29 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
> >0x2a 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
> >0x2b 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
> >0x2c 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
> >0x2d 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
> >0x2e 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
> >0x2f 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
> >0x30 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
> >0x31 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
> >0x32 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
>
>  Seeing "dep" column (2nd, supported depth buffer size for each FB configs)
>  you can see you only support 24bits depth buffers
>
>  So, change you game settings :)
Uh, no, this doesn't help :-(

Half-life supports only 16bpp(well, I can set it to other values with regedit, 
but it seems to have no effect), fglrx supports 24bpp only.

I switched to the Xorg radeon driver which has 16 bpp support(the 2nd column 
shows 16 now), and made sure that hl runs with 16bpp, but the error still 
occurs.

The opengl output is now:
trace:opengl:wgl_ext_initialize_extensions GL version      : "1.3 Mesa 6.2.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 ".
trace:opengl:wgl_ext_initialize_extensions Server GLX exts : 
"GLX_ARB_multisample GLX_EXT_visual_info 
GLX_EXT_visual_ratingGLX_EXT_import_context GLX_OML_swap_method 
GLX_SGI_make_current_read GLX_SGIS_multisample 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"....
fixme:opengl:query_function_pbuffer gl_version is: "1.3 Mesa 6.2.1"
fixme: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 "
fixme:opengl:query_function_pbuffer gl_version is: "1.3 Mesa 6.2.1"
fixme: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 "
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 (0x77c77178,0x1df4964)
  - size / version : 40 / 1
  - dwFlags : PFD_DOUBLEBUFFER PFD_DRAW_TO_WINDOW PFD_SUPPORT_OPENGL
  - iPixelType : PFD_TYPE_RGBA
  - Color   : 24
  - Red     : 0
  - Green   : 0
  - Blue    : 0
  - Alpha   : 0
  - Accum   : 0
  - Depth   : 32    <---- Is half-Life still trying to get 32bpp?????
  - Stencil : 0
  - Aux     : 0
  - iLayerType : PFD_MAIN_PLANE
err:opengl:X11DRV_ChoosePixelFormat glXChooseFBConfig returns NULL (glError: 
0)

But even if it worked this way, this wouldn't be a good solution for ATI 
users, because playing newer games with the "radeon" driver is horrible.
(e.g. Jedi Academy, gl-117, even tuxracer makes problems).

Removing the failing check from Wine's opengl code doesn't help, it causes a 
hard crash later.

Stefan



More information about the wine-devel mailing list