LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: zerobadegg1

求助怎么解决 Intel X3100 的3D加速

[复制链接]
发表于 2008-10-30 09:45:47 | 显示全部楼层
用driconf显示Driver "i965" is not installed or does not support configuration.

用27的内核老是死机,等28?
回复 支持 反对

使用道具 举报

发表于 2008-10-30 11:59:53 | 显示全部楼层
28的内核,恩,是不是要手动make headers_install然后再编译才能用GEM?死机我倒是不会~用的内核drm~
回复 支持 反对

使用道具 举报

发表于 2008-10-30 12:15:27 | 显示全部楼层
Post by lingyunxs;1894878
正如此言,xorg-server-1.5.x TTM被更新为GEM了。
我这的x3100,fps在xorg-server-1.4.2时能达到800以上;在xorg-server-1.5.2时只有49.x,不过3D游戏不受影响,开源的游戏Tremulous、Neverball都测试过,效果和正常一样。





加上这句:export INTEL_BATCH=1

xorg-1.4.2的应该可以上K
同样的xorg-1.5.2只有60的爬过

用的是945的。。。
回复 支持 反对

使用道具 举报

发表于 2008-10-30 21:19:00 | 显示全部楼层
终于好了~原来是DefaultDepth不能是16或者32,必须是24……
glxgears还是报没有GEM,但是速度也有400+,不影响使用了~i915
回复 支持 反对

使用道具 举报

发表于 2008-10-31 01:08:57 | 显示全部楼层
楼上的朋友怎么弄的支个招~

28内核支持GEM,编译安装之后怎么启动?
自己试了一下编译28内核的,结果还是会报GEM出错
回复 支持 反对

使用道具 举报

发表于 2008-10-31 13:03:53 | 显示全部楼层
用上gem了!
参考的overlay: x11 THE
libdrm-9999
dri2proto-9999
mesa-9999 # EXTRA_ECONF=--enable-ttm-api emerge mesa
xf86-video-intel-2.5.0
kernel-2.6.28_rc2

不知道为什么内核不接受‘i915.modeset=1’参数!

  1. $ dmesg | grep i915
  2. Command line: root=/dev/sda3 video=uvesafb:1280x1024-32,mtrr:3,ywrap splash=silent,fadein,theme:gentoo-blue-tux quiet CONSOLE=/dev/tty1 i915.modeset=1
  3. Kernel command line: root=/dev/sda3 video=uvesafb:1280x1024-32,mtrr:3,ywrap splash=silent,fadein,theme:gentoo-blue-tux quiet CONSOLE=/dev/tty1 i915.modeset=1
  4. Unknown boot option `i915.modeset=1': ignoring
  5. [drm] Initialized i915 1.6.0 20060119 on minor 0
  6. [drm:i915_getparam] *ERROR* Unknown parameter 5
  7. [drm:i915_getparam] *ERROR* Unknown parameter 5
复制代码

  1. $ cat /var/log/Xorg.0.log | grep WW
  2. (WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB
  3. (WW) intel(0): Register 0x61114 (PORT_HOTPLUG_STAT) changed from 0x00000000 to 0x00000b00
  4. (WW) intel(0): Register 0x71024 (PIPEBSTAT) changed from 0x00000202 to 0x00000000
  5. (WW) intel(0): PIPEBSTAT before: status: VSYNC_INT_STATUS VBLANK_INT_STATUS
  6. (WW) intel(0): PIPEBSTAT after: status:
复制代码

  1. $ glxinfo
  2. name of display: :0.0
  3. display: :0  screen: 0
  4. direct rendering: Yes
  5. server glx vendor string: SGI
  6. server glx version string: 1.2
  7. server glx extensions:
  8.     GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
  9.     GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
  10.     GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample,
  11.     GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
  12. client glx vendor string: SGI
  13. client glx version string: 1.4
  14. client glx extensions:
  15.     GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
  16.     GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
  17.     GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
  18.     GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
  19.     GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
  20.     GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
  21.     GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
  22. GLX version: 1.2
  23. GLX extensions:
  24.     GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
  25.     GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
  26.     GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
  27. OpenGL vendor string: Mesa Project
  28. OpenGL renderer string: Software Rasterizer
  29. OpenGL version string: 2.1 Mesa 7.3-devel
  30. OpenGL shading language version string: 1.10
  31. OpenGL extensions:
  32.     GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
  33.     GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader,
  34.     GL_ARB_half_float_pixel, GL_ARB_imaging, GL_ARB_multisample,
  35.     GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_pixel_buffer_object,
  36.     GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shader_objects,
  37.     GL_ARB_shading_language_100, GL_ARB_shadow, GL_ARB_shadow_ambient,
  38.     GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
  39.     GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
  40.     GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
  41.     GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
  42.     GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
  43.     GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
  44.     GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_window_pos,
  45.     GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
  46.     GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
  47.     GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
  48.     GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_convolution,
  49.     GL_EXT_copy_texture, GL_EXT_depth_bounds_test, GL_EXT_draw_range_elements,
  50.     GL_EXT_framebuffer_object, GL_EXT_framebuffer_blit, GL_EXT_fog_coord,
  51.     GL_EXT_gpu_program_parameters, GL_EXT_histogram, GL_EXT_multi_draw_arrays,
  52.     GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels,
  53.     GL_EXT_paletted_texture, GL_EXT_pixel_buffer_object,
  54.     GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
  55.     GL_EXT_secondary_color, GL_EXT_separate_specular_color,
  56.     GL_EXT_shadow_funcs, GL_EXT_shared_texture_palette, GL_EXT_stencil_wrap,
  57.     GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
  58.     GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
  59.     GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
  60.     GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
  61.     GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_texture_sRGB,
  62.     GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_APPLE_vertex_array_object,
  63.     GL_ATI_blend_equation_separate, GL_ATI_texture_env_combine3,
  64.     GL_ATI_texture_mirror_once, GL_ATI_fragment_shader,
  65.     GL_ATI_separate_stencil, GL_IBM_multimode_draw_arrays,
  66.     GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
  67.     GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_program_debug,
  68.     GL_MESA_resize_buffers, GL_MESA_texture_array, GL_MESA_ycbcr_texture,
  69.     GL_MESA_window_pos, GL_NV_blend_square, GL_NV_fragment_program,
  70.     GL_NV_light_max_exponent, GL_NV_point_sprite, GL_NV_texture_rectangle,
  71.     GL_NV_texgen_reflection, GL_NV_vertex_program, GL_NV_vertex_program1_1,
  72.     GL_OES_read_format, GL_SGI_color_matrix, GL_SGI_color_table,
  73.     GL_SGI_texture_color_table, GL_SGIS_generate_mipmap,
  74.     GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
  75.     GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
  76.     GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays

  77. 3 GLX Visuals
  78.    visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
  79. id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
  80. ----------------------------------------------------------------------
  81. 0x21 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
  82. 0x22 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
  83. 0x65 32 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None

  84. 36 GLXFBConfigs:
  85.    visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
  86. id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
  87. ----------------------------------------------------------------------
  88. 0x66  0 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
  89. 0x67  0 tc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
  90. 0x68  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
  91. 0x69  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
  92. 0x6a  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
  93. 0x6b  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
  94. 0x6c  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
  95. 0x6d  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
  96. 0x6e  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
  97. 0x6f  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
  98. 0x70  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
  99. 0x71  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
  100. 0x72  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
  101. 0x73  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
  102. 0x74  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
  103. 0x75  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
  104. 0x76  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
  105. 0x77  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
  106. 0x78  0 dc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
  107. 0x79  0 dc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
  108. 0x7a  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
  109. 0x7b  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
  110. 0x7c  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
  111. 0x7d  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
  112. 0x7e  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
  113. 0x7f  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
  114. 0x80  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
  115. 0x81  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
  116. 0x82  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
  117. 0x83  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
  118. 0x84  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
  119. 0x85  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
  120. 0x86  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
  121. 0x87  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
  122. 0x88  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
  123. 0x89  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
复制代码

  1. $ glxgears
  2. 1268 frames in 5.0 seconds = 253.566 FPS
  3. 1365 frames in 5.0 seconds = 272.765 FPS
  4. 1368 frames in 5.0 seconds = 273.521 FPS
复制代码
回复 支持 反对

使用道具 举报

发表于 2008-10-31 14:01:15 | 显示全部楼层
glxgears为什么只有200多?
回复 支持 反对

使用道具 举报

发表于 2008-10-31 16:53:49 | 显示全部楼层
这没有用上GEM阿,只是enable ttm api而已,你编译的驱动都是用的2.6.28的headers编译的么?
回复 支持 反对

使用道具 举报

发表于 2008-10-31 17:42:59 | 显示全部楼层
GL_ARB_pixel_buffer_object
GL_EXT_framebuffer_object
mesa是开了TTM了;内核drm,刚才找到个fedora的drm-modesetting-i915.patch,再搞搞……
回复 支持 反对

使用道具 举报

发表于 2008-10-31 19:00:35 | 显示全部楼层
OpenGL renderer string: Software Rasterizer
没搞好,还是软的……
回复 支持 反对

使用道具 举报

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

本版积分规则

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