There is a problem with some ATI graphics hardware using ATI's proprietary
fglrx driver in Linux. FlightGear runs at about 25% of expected frame rate,
eventually spewing lots of these:

   fglX11AllocateManagedSurface: __FGLTexMgrAllocMem failed!!

The problem occurs in FG 0.9.9 and later CVS versions. Many many many
thanks if you can point to a fix or workaround.

I have a desktop and a laptop, both are dual-boot Windows XP and Linux, and
both have ATI Radeon hardware. FlightGear runs well in three of the four
environments:  Windows or Linux on the desktop box, and Windows on the
laptop. The problem occurs only on the laptop under Linux.

Possibly another reference to this same problem with the ATI hardware
and/or driver can be found at
http://www.rage3d.com/board/showthread.php?t=33819385 ,
which implies that this ATI bug can be worked around.

Running fgfs with more verbose debug levels produces immense amounts of
output, but I don't see anything relevant to include here. I'll certainly make
that data available if it would help.

Changing Linux distributions didn't matter. Rebuilding the kernels with
different options didn't help. Neither did changing interesting fglrx
parameters in xorg.conf. Running agpgart internally in fglrx or as a kernel
module didn't change anything. Running fgfs with various color depths,
resolutions, and disabling textures, etc. didn't change the error symptoms.
Other 3d-accelerated apps work fine.

Details of the environment that fails:

Dell Inspiron 6000 with 1GB RAM
ATI graphics hardware (M22 5460) (Radeon X300)
Linux (I tried Fedora Core 4 w/2.6.14 kernel, and Ubuntu 5.10 with 2.6.12 kernel) ATI Proprietary fglrx driver (tried 8.16.20 with Ubuntu and 8.23.7 with Fedora)
Xorg 6.8.2

fgl_glxgears runs at about 215 fps, glxgears a tad over 1000.

fglrxinfo reports:
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON X300 Generic
OpenGL version string: 1.3.5272 (X4.3.0-8.16.20)

gl-info reports:
GL_VENDOR = "ATI Technologies Inc."
GL_RENDERER = "MOBILITY RADEON X300 Generic"
GL_VERSION = "1.3.5272 (X4.3.0-8.16.20)"
GL_EXTENSIONS = "GL_ARB_multitexture GL_EXT_texture_env_add GL_EXT_compiled_vertex_array GL_S3_s3tc GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_multisample GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shader_objects GL_ARB_shading_language_100 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_transpose_matrix GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_element_array GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_map_object_buffer GL_ATI_separate_stencil GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_ATI_vertex_array_object GL_ATI_vertex_attrib_array_object GL_ATI_vertex_streams GL_ATIX_texture_env_combine3 GL_ATIX_texture_env_route GL_ATIX_vertex_shader_output_point_size GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_object GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_texgen_reflection GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_EXT_vertex_shader GL_HP_occlusion_test GL_NV_blend_square GL_NV_occlusion_query GL_NV_texgen_reflection GL_SGI_color_matrix GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays "
GL_RED_BITS = 8
GL_GREEN_BITS = 8
GL_BLUE_BITS = 8
GL_ALPHA_BITS = 8
GL_DEPTH_BITS = 24
GL_INDEX_BITS = 0
GL_STENCIL_BITS = 0
GL_ACCUM_RED_BITS = 0
GL_ACCUM_GREEN_BITS = 0
GL_ACCUM_BLUE_BITS = 0
GL_ACCUM_ALPHA_BITS = 0
GL_AUX_BUFFERS = 0
GL_MAX_ATTRIB_STACK_DEPTH = 16
GL_MAX_NAME_STACK_DEPTH = 128
GL_MAX_TEXTURE_STACK_DEPTH = 10
GL_MAX_PROJECTION_STACK_DEPTH = 10
GL_MAX_MODELVIEW_STACK_DEPTH = 32
GL_MAX_CLIP_PLANES = 6
GL_MAX_EVAL_ORDER = 30
GL_MAX_LIGHTS = 8
GL_MAX_LIST_NESTING = 64
GL_MAX_TEXTURE_SIZE = 2048
GL_MAX_VIEWPORT_DIMS = 4096,4096
GL_POINT_SIZE_GRANULARITY = 0.125
GL_POINT_SIZE_RANGE = 1,64
Default values:

GL_UNPACK_ALIGNMENT = 4
GL_UNPACK_ROW_LENGTH = 0
GL_UNPACK_SKIP_PIXELS = 0
GL_UNPACK_SKIP_ROWS = 0
GL_BLEND_SRC = 1
GL_BLEND_DST = 0

lspci reports:
0000:00:00.0 Host bridge: Intel Corp. Mobile Memory Controller Hub (rev 03)
0000:00:01.0 PCI bridge: Intel Corp. Mobile Memory Controller Hub PCI Express Port (rev 03) 0000:00:1d.0 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03) 0000:00:1d.1 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03) 0000:00:1d.2 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03) 0000:00:1d.3 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03) 0000:00:1d.7 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev d3)
0000:00:1e.2 Multimedia audio controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03) 0000:00:1e.3 Modem: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03) 0000:00:1f.0 ISA bridge: Intel Corp. 82801FBM (ICH6M) LPC Interface Bridge (rev 03) 0000:00:1f.2 IDE interface: Intel Corp. 82801FBM (ICH6M) SATA Controller (rev 03) 0000:01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 5460 0000:03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
0000:03:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b3)
0000:03:01.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 08)
0000:03:01.2 0805: Ricoh Co Ltd: Unknown device 0822 (rev 17)
0000:03:03.0 Network controller: Intel Corp. PRO/Wireless 2200BG (rev 05)




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to