On Fri, 14 Jan 2005, Vladimir Dergachev wrote:
On Fri, 14 Jan 2005, D. Hageman wrote:
I took the time to compile the r300 driver and give it a whirl.
The machine is a Dell Laptop (Inspiron 9100) with a ATI Radeon Mobility 9600 M10. It has a device ID of 0x4e50.
glxgears runs with a 370-380 FPS.
Hmm.. There are two possibilities:
1. I have been somewhat careless to commit code with debugging fprintf's - these could be interfering with framerates. The motivation was that part of code (textures) need figuring out and fprintfs are convenient to track things down..
It is all cleaned up by now, so try again - or just hunt down and delete fprintf's by hand.
2. You might be using software rendering and your CPU is quite a bit faster than mine (I get somewhat above 200 on 1.6ghz Pentium-M).
Use export LIBGL_DEBUG=verbose to see what happend to glxgears during startup.
r300_demo --triangles and --tex-triangles does not give me the same view as the screenshot on the r300 webpage. The tex-triangles is closest to the screenshot on the webpage, but the triangles one is no where close.
This is normal - there had been some changes :)
I just got done with the second try at this. I pulled the Mesa and r300_driver cvs trees this morning and recompiled. The only hitch was that apparently some changes have happened to the radeon and r200 driver in the Mesa tree that doesn't allow it to compile. Looks like someone added some code with some defines that didn't get into the header.
At any rate, still the same situation with the glxgears. It works, but it works slow. I don't get any lockups. I think the r300_demo is working fine. Enabling the LIBGL_DEBUG doesn't show that it isn't finding anything like r300_dri.so or something.
Here is the output from glxgears -info
GL_MAX_VIEWPORT_DIMS=4096/4096
GL_RENDERER = Mesa X11
GL_VERSION = 1.5 Mesa 6.3
GL_VENDOR = Brian Paul
GL_EXTENSIONS = GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shader_objects GL_ARB_shadow GL_ARB_shadow_ambient 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_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate 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_compiled_vertex_array GL_EXT_convolution GL_EXT_copy_texture GL_EXT_depth_bounds_test GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_histogram GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_paletted_texture GL_EXT_pixel_buffer_object 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_shared_texture_palette 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_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_APPLE_packed_pixels GL_ATI_blend_equation_separate GL_ATI_texture_env_combine3 GL_ATI_texture_mirror_once GL_ATI_fragment_shader GL_HP_occlusion_test GL_IBM_multimode_draw_arrays GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_program_debug GL_MESA_resize_buffers GL_MESA_ycbcr_texture GL_MESA_window_pos GL_NV_blend_square GL_NV_fragment_program GL_NV_light_max_exponent GL_NV_point_sprite GL_NV_texture_rectangle GL_NV_texgen_reflection GL_NV_vertex_program GL_NV_vertex_program1_1 GL_OES_read_format GL_SGI_color_matrix GL_SGI_color_table GL_SGI_texture_color_table GL_SGIS_generate_mipmap GL_SGIS_pixel_texture GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_pixel_texture GL_SGIX_shadow GL_SGIX_shadow_ambient GL_SUN_multi_draw_arrays
1858 frames in 5.0 seconds = 371.430 FPS
1863 frames in 5.0 seconds = 372.415 FPS
1871 frames in 5.0 seconds = 374.167 FPS
//========================================================\\ || D. Hageman <[email protected]> || \\========================================================//
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
