LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1072|回复: 6

运行和3D有关的程序都很慢,是什么原因呢?

[复制链接]
发表于 2006-10-25 11:36:22 | 显示全部楼层 |阅读模式
我的笔记本是T23,显卡是S3 Savage的,运行像google earth或象chromium等游戏的时候慢的要死。是不是我的opengl的驱动没装?我对linux下的3D设置还是一窍不通 大家帮帮我吧!
下面是我make.conf的设置:
  1. CFLAGS="-O2 -march=pentium3 -pipe"
  2. CHOST="i686-pc-linux-gnu"
  3. CXXFLAGS="${CFLAGS}"
  4. MAKEOPTS="-j2"

  5. GENTOO_MIRRORS="http://mirror.gentoo.gr.jp "

  6. SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"

  7. USE="nsplugin java cjk dri nptl nptlonly -gnome -qt -kde -arts"
  8. INPUT_DEVICES="keyboard mouse"
  9. VIDEO_CARDS="s3 savage vesa"
复制代码
发表于 2006-10-25 11:41:50 | 显示全部楼层
X下运行glxinfo是什么结果?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-25 12:05:23 | 显示全部楼层
Post by Zer4tul
X下运行glxinfo是什么结果?
  1. name of display: :0.0
  2. display: :0  screen: 0
  3. direct rendering: No
  4. server glx vendor string: SGI
  5. server glx version string: 1.2
  6. server glx extensions:
  7.     GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
  8.     GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
  9.     GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
  10.     GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig
  11. client glx vendor string: SGI
  12. client glx version string: 1.4
  13. client glx extensions:
  14.     GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
  15.     GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
  16.     GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
  17.     GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
  18.     GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
  19.     GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
  20.     GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
  21. GLX version: 1.2
  22. GLX extensions:
  23.     GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
  24.     GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
  25.     GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
  26.     GLX_EXT_texture_from_pixmap
  27. OpenGL vendor string: Mesa project: www.mesa3d.org
  28. OpenGL renderer string: Mesa GLX Indirect
  29. OpenGL version string: 1.2 (1.5 Mesa 6.5.1)
  30. OpenGL extensions:
  31.     GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
  32.     GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
  33.     GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
  34.     GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
  35.     GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
  36.     GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
  37.     GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
  38.     GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
  39.     GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_logic_op,
  40.     GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
  41.     GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
  42.     GL_EXT_framebuffer_object, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
  43.     GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
  44.     GL_EXT_secondary_color, GL_EXT_separate_specular_color,
  45.     GL_EXT_shadow_funcs, GL_EXT_stencil_wrap, GL_EXT_subtexture,
  46.     GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
  47.     GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
  48.     GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias, GL_EXT_texture_object,
  49.     GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
  50.     GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
  51.     GL_ATIX_texture_env_combine3, GL_IBM_texture_mirrored_repeat,
  52.     GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
  53.     GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection,
  54.     GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
  55.     GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
  56.     GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
  57.     GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays

  58.    visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
  59. id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
  60. ----------------------------------------------------------------------
  61. 0x22 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
  62. 0x23 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 None
  63. 0x24 16 tc  0 24  0 r  y  .  5  6  5  8  0 16  8 16 16 16 16  0 0 None
  64. 0x25 16 tc  0 24  0 r  .  .  5  6  5  8  0 16  8 16 16 16 16  0 0 None
复制代码
回复 支持 反对

使用道具 举报

发表于 2006-10-25 12:50:12 | 显示全部楼层
direct rendering: No
3D加速没有打开。看你是否安装了驱动,如果安装了检查3D有没有打开。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-25 13:03:32 | 显示全部楼层
Post by qheng
direct rendering: No
3D加速没有打开。看你是否安装了驱动,如果安装了检查3D有没有打开。

能说具体说一下吗?类似的步骤在wiki里有吗?
回复 支持 反对

使用道具 举报

发表于 2006-10-25 13:06:26 | 显示全部楼层
好像得重新编译内核
把direct rendering选上,再把你的显卡芯片选上
回复 支持 反对

使用道具 举报

发表于 2006-10-25 13:56:36 | 显示全部楼层
具体的去看看wiki吧!应该有的,我的是ati显卡,和你的不一样。还可以参考楼上的
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表