Re: [r200] doom3-demo do NOT work anylonger
Am Mittwoch, 16. Februar 2005 21:36 schrieb Dieter Ntzel: Maybe GL_ATI_fragment_shader? -- - R_InitOpenGL - dlopen(libGL.so.1) Open X display Initializing OpenGL display Using XFree86-VidModeExtension Version 2.2 DGA DirectVideo Mouse (Version 2.0) initialized XFree86-VidModeExtension: Ignored on non-fullscreen Using 8/8/8 Color bits, 8 Alpha bits, 24 depth, 8 stencil display. GL_RENDERER: Mesa GLX Indirect Arghhh, why MESA indirect??? -Dieter --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [r200] doom3-demo do NOT work anylonger
Dieter Ntzel wrote: Am Mittwoch, 16. Februar 2005 21:36 schrieb Dieter Ntzel: Maybe GL_ATI_fragment_shader? -- - R_InitOpenGL - dlopen(libGL.so.1) Open X display Initializing OpenGL display Using XFree86-VidModeExtension Version 2.2 DGA DirectVideo Mouse (Version 2.0) initialized XFree86-VidModeExtension: Ignored on non-fullscreen Using 8/8/8 Color bits, 8 Alpha bits, 24 depth, 8 stencil display. GL_RENDERER: Mesa GLX Indirect Arghhh, why MESA indirect??? This happens with the Mesa-built libGL.so, since doom3 does not load libGL with RTLD_GLOBAL. This is reportedly fixed in the newer version of the demo, alternatively you can put something like LD_PRELOAD=/usr/lib/libGL.so in the doom startup script. Roland --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [r200] doom3-demo do NOT work anylonger
Am Mittwoch, 16. Februar 2005 22:26 schrieb Roland Scheidegger: Dieter Ntzel wrote: Am Mittwoch, 16. Februar 2005 21:36 schrieb Dieter Ntzel: Maybe GL_ATI_fragment_shader? -- - R_InitOpenGL - dlopen(libGL.so.1) Open X display Initializing OpenGL display Using XFree86-VidModeExtension Version 2.2 DGA DirectVideo Mouse (Version 2.0) initialized XFree86-VidModeExtension: Ignored on non-fullscreen Using 8/8/8 Color bits, 8 Alpha bits, 24 depth, 8 stencil display. GL_RENDERER: Mesa GLX Indirect Arghhh, why MESA indirect??? This happens with the Mesa-built libGL.so, since doom3 does not load libGL with RTLD_GLOBAL. This is reportedly fixed in the newer version of the demo, alternatively you can put something like LD_PRELOAD=/usr/lib/libGL.so in the doom startup script. OK, yes. Nice fps, now. But I need your hack. = recompile, soon ;-) BTW Your hack for /usr/X11R6/lib/xscreensaver/flipscreen3d -geometry 1024 do NOT work anylonger. Thanks, Dieter --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [r200] doom3-demo do NOT work anylonger
Maybe GL_ATI_fragment_shader? when I check in the r200 code it'll break doom for sure as I think the vertex program stuff gets a bit messed up.. but my current version just draws a completely black screen so not much use for anything... :-) Dave. - Initializing Decls - -- --- Initializing renderSystem using ARB renderSystem renderSystem initialized. -- 5151 strings read from strings/english.lang Couldn't open journal files couldn't exec editor.cfg execing default.cfg execing DoomConfig.cfg couldn't exec autoexec.cfg 5151 strings read from strings/english.lang - Initializing Sound System -- sound system initialized. -- - R_InitOpenGL - dlopen(libGL.so.1) Open X display Initializing OpenGL display Using XFree86-VidModeExtension Version 2.2 DGA DirectVideo Mouse (Version 2.0) initialized XFree86-VidModeExtension: Ignored on non-fullscreen Using 8/8/8 Color bits, 8 Alpha bits, 24 depth, 8 stencil display. GL_RENDERER: Mesa GLX Indirect GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_imaging GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_APPLE_packed_pixels GL_ATI_texture_env_combine3 GL_ATI_texture_mirror_once GL_ATIX_texture_env_combine3 GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_NV_blend_square GL_NV_point_sprite GL_NV_texgen_reflection GL_NV_texture_rectangle GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SGIX_shadow_ambient GL_SUN_multi_draw_arrays --- Input Initialization --- XKB extension: compile time 0x1:0x0, runtime 0x1:0x0: OK XKB extension present on server ( 0x1:0x0 ) --- OSS Sound Initialization --- opened sound device '/dev/dsp' /dev/dsp - bit rate: 16, channels: 2, frequency: 44100 ...using GL_ARB_multitexture ...using GL_ARB_texture_env_combine ...using GL_ARB_texture_cube_map ...using GL_ARB_texture_env_dot3 ...using GL_ARB_texture_env_add X..GL_ARB_texture_non_power_of_two not found X..GL_ARB_texture_compression not found X..GL_EXT_texture_filter_anisotropic not found ...using GL_EXT_texture_lod ...using GL_1.4_texture_lod_bias X..GL_EXT_shared_texture_palette not found ...using GL_EXT_texture3D ...using GL_EXT_stencil_wrap X..GL_NV_register_combiners not found ...using GL_EXT_stencil_two_side X..GL_ATI_fragment_shader not found X..GL_ATI_text_fragment_shader not found X..GL_ARB_vertex_buffer_object not found X..GL_ARB_vertex_program not found X..GL_ARB_fragment_program not found X..EXT_depth_bounds_test not found -- R_NV20_Init -- Not available. --- R200_Init --- Not available. -- R_ARB2_Init -- Not available. -- R_Exp_Init --- Disabled at compile time. - - R_ReloadARBPrograms - glprogs/test.vfp: GL_VERTEX_PROGRAM_ARB not available glprogs/test.vfp: GL_FRAGMENT_PROGRAM_ARB not available glprogs/interaction.vfp: GL_VERTEX_PROGRAM_ARB not available glprogs/interaction.vfp: GL_FRAGMENT_PROGRAM_ARB not available glprogs/bumpyEnvironment.vfp: GL_VERTEX_PROGRAM_ARB not available glprogs/bumpyEnvironment.vfp: GL_FRAGMENT_PROGRAM_ARB not available glprogs/ambientLight.vfp: GL_VERTEX_PROGRAM_ARB not available glprogs/ambientLight.vfp: GL_FRAGMENT_PROGRAM_ARB not available glprogs/shadow.vp: GL_VERTEX_PROGRAM_ARB not available glprogs/R200_interaction.vp: GL_VERTEX_PROGRAM_ARB not available glprogs/nv20_bumpAndLight.vp: GL_VERTEX_PROGRAM_ARB not available glprogs/nv20_diffuseColor.vp: GL_VERTEX_PROGRAM_ARB not available glprogs/nv20_specularColor.vp: GL_VERTEX_PROGRAM_ARB not available glprogs/nv20_diffuseAndSpecularColor.vp:
Re: [r200] doom3-demo do NOT work anylonger
Am Mittwoch, 16. Februar 2005 22:43 schrieb Dieter Ntzel: Am Mittwoch, 16. Februar 2005 22:26 schrieb Roland Scheidegger: Dieter Ntzel wrote: Am Mittwoch, 16. Februar 2005 21:36 schrieb Dieter Ntzel: Maybe GL_ATI_fragment_shader? -- - R_InitOpenGL - dlopen(libGL.so.1) Open X display Initializing OpenGL display Using XFree86-VidModeExtension Version 2.2 DGA DirectVideo Mouse (Version 2.0) initialized XFree86-VidModeExtension: Ignored on non-fullscreen Using 8/8/8 Color bits, 8 Alpha bits, 24 depth, 8 stencil display. GL_RENDERER: Mesa GLX Indirect Arghhh, why MESA indirect??? This happens with the Mesa-built libGL.so, since doom3 does not load libGL with RTLD_GLOBAL. This is reportedly fixed in the newer version of the demo, alternatively you can put something like LD_PRELOAD=/usr/lib/libGL.so in the doom startup script. OK, yes. Nice fps, now. But I need your hack. = recompile, soon ;-) Works. Only a little 'shadow' in the middle of the screen. I talking about this one: r200_texstate.reallyuglydoom3hack Index: r200_texstate.c === RCS file: /cvs/mesa/Mesa/src/mesa/drivers/dri/r200/r200_texstate.c,v retrieving revision 1.18 diff -u -r1.18 r200_texstate.c --- r200_texstate.c 18 Oct 2004 00:00:41 - 1.18 +++ r200_texstate.c 7 Dec 2004 23:00:16 - @@ -984,10 +984,12 @@ rmesa-TexGenNeedNormals[unit] = GL_TRUE; tgi |= R200_TEXGEN_INPUT_SPHEREinputshift; /* GL_SPHERE_MAP doesn't appear to work. */ - return GL_FALSE; +/* return GL_FALSE;*/ case 0: /* All texgen units were disabled, so just pass coords through. */ + /* CHECK THIS it should not be necessary I believe +(since all coords should be masked by tgcm), but it is!!! */ tgi |= unit inputshift; break; @@ -999,7 +1001,7 @@ texUnit-GenModeS); return GL_FALSE; } - + tgcm = 0; rmesa-TexGenEnabled |= R200_TEXGEN_TEXMAT_0_ENABLE unit; rmesa-TexGenCompSel |= R200_OUTPUT_TEX_0 unit; BTW Your hack for /usr/X11R6/lib/xscreensaver/flipscreen3d -geometry 1024 do NOT work anylonger. And here: --- src/mesa/drivers/dri/r200/r200_context.c2005-02-14 14:53:45.0 +0100 +++ src/mesa/drivers/dri/r200/r200_context.c.Dieter 2005-02-08 21:50:39.0 +0100 @@ -365,6 +365,11 @@ 12, GL_FALSE ); +/* adjust max texture size a bit. Hack, but I really want to use larger textures + which will work just fine in 99.99% of all cases, especially with texture + compression... */ + if (ctx-Const.MaxTextureLevels 12) ctx-Const.MaxTextureLevels += 1; + ctx-Const.MaxTextureMaxAnisotropy = 16.0; /* No wide points. Have fun. -Dieter --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel