|
|
以下是本人安装完ati驱动,运行glxgears和fgl_glxgears的结果:
- alyle-gentoo fcitx-3.3.1 # fgl_glxgears
- Using GLX_SGIX_pbuffer
- 2133 frames in 5.0 seconds = 426.600 FPS
- 2458 frames in 5.0 seconds = 491.600 FPS
- 2194 frames in 5.0 seconds = 438.800 FPS
- 2199 frames in 5.0 seconds = 439.800 FPS
- Broken pipe
- alyle-gentoo fcitx-3.3.1 # glxgears
- 501 frames in 5.0 seconds = 100.192 FPS
- 501 frames in 5.0 seconds = 100.002 FPS
- 558 frames in 5.0 seconds = 111.587 FPS
- Broken pipe
复制代码
我是ATi Mobility Radeon 9700的卡,装的是官方ati-driver-installer-8.28.8.run的驱动,也装了X11-drm。
以下分别是运行glxinfo的信息和/etc/X11/xorg.conf的内容:
glxinfo:- alyle-gentoo fcitx-3.3.1 # glxinfo
- name of display: :0.0
- display: :0 screen: 0
- direct rendering: Yes
- server glx vendor string: SGI
- server glx version string: 1.2
- server glx extensions:
- GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
- GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
- GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
- GLX_SGIX_fbconfig
- client glx vendor string: ATI
- client glx version string: 1.3
- client glx extensions:
- GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
- GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample,
- GLX_ATI_pixel_format_float, GLX_ATI_render_texture
- GLX version: 1.2
- GLX extensions:
- GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
- GLX_ARB_multisample
- OpenGL vendor string: ATI Technologies Inc.
- OpenGL renderer string: MOBILITY RADEON 9700 Generic
- OpenGL version string: 2.0.6011 (8.28.8)
- OpenGL 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_float, GL_ARB_texture_mirrored_repeat,
- GL_ARB_texture_rectangle, 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_ARB_draw_buffers, 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
- glu version: 1.3
- glu extensions:
- GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
- 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 None
- 0x24 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
- ......
复制代码
/etc/X11/xorg.conf
- Section "ServerLayout"
- Identifier "Simple Layout"
- Screen "Screen 1" 0 0
- InputDevice "Mouse1" "CorePointer"
- InputDevice "Keyboard1" "CoreKeyboard"
- EndSection
- Section "Files"
- FontPath "/usr/share/fonts/misc"
- FontPath "/usr/share/fonts/75dpi"
- FontPath "/usr/share/fonts/100dpi"
- FontPath "/usr/share/fonts/TTF"
- FontPath "/usr/share/fonts/Type1"
- EndSection
- Section "Module"
- Load "glx"
- Load "dri"
- Load "dbe" # Double buffer extension
- SubSection "extmod"
- Option "omit xfree86-dga" # don't initialise the DGA extension
- EndSubSection
- Load "freetype"
- EndSection
- Section "InputDevice"
- Identifier "Keyboard1"
- Driver "kbd"
- Option "AutoRepeat" "500 30"
- Option "XkbRules" "xorg"
- Option "XkbModel" "pc101"
- Option "XkbLayout" "us"
- EndSection
- Section "InputDevice"
- Identifier "Mouse1"
- Driver "mouse"
- Option "Protocol" "Auto" # Auto detect
- Option "Device" "/dev/input/mice"
- Option "ZAxisMapping" "4 5 6 7"
- EndSection
- Section "Monitor"
- Identifier "My Monitor"
- HorizSync 31.5 - 31.5
- HorizSync 35.2 - 35.2
- HorizSync 35.5 - 35.5
- VertRefresh 50.0 - 90.0
- EndSection
- Section "Device"
- Identifier "Standard VGA"
- Driver "vga"
- VendorName "Unknown"
- BoardName "Unknown"
- EndSection
- Section "Device"
- Identifier "** ATI Radeon (generic) [radeon]"
- Driver "fglrx"
- EndSection
- Section "Screen"
- Identifier "Screen 1"
- Device "** ATI Radeon (generic) [radeon]"
- Monitor "My Monitor"
- DefaultDepth 24
- SubSection "Display"
- Viewport 0 0
- Depth 8
- EndSubSection
- SubSection "Display"
- Viewport 0 0
- Depth 16
- Modes "1280x1024" "1024x768" "800x600" "640x480"
- EndSubSection
- SubSection "Display"
- Viewport 0 0
- Depth 24
- Modes "1280x1024" "1024x768" "800x600" "640x480"
- EndSubSection
- EndSection
- Section "dri"
- Mode 0666
- EndSection
复制代码
搞不懂为何glxgear的结果这么慢.... |
|