LinuxSir.cn,穿越时空的Linuxsir!

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

via unichrome p4m800ce显卡启动3d加速后死机

[复制链接]
发表于 2007-5-3 12:41:47 | 显示全部楼层 |阅读模式
在debian 4.0r0上,我按照 https://help.ubuntu.com/community/OpenChrome 上的提示安装了openchrome驱动以及相应的dri,drm模块。
看上去一切正常,但当以普通用户身份启动X时,运行需要3d加速的程序时极易死机(例如3d的屏保)。以root身份启动X则无问题。上面的那个网页说dri有个bug会导致死锁,但我又不想取消dri,该怎么办呢?
这是以普通用户启动X后glxinfo的信息:
  1. [color=red]libGL error: open DRM failed (Operation not permitted)
  2. libGL error: reverting to (slow) indirect rendering[/color]
  3. name of display: :0.0
  4. display: :0  screen: 0
  5. [color=red]direct rendering: No[/color]
  6. server glx vendor string: SGI
  7. server glx version string: 1.2
  8. server glx extensions:
  9.     GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
  10.     GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
  11.     GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
  12.     GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
  13. client glx vendor string: SGI
  14. client glx version string: 1.4
  15. client glx extensions:
  16.     GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
  17.     GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
  18.     GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
  19.     GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
  20.     GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
  21.     GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
  22.     GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
  23. GLX version: 1.2
  24. GLX extensions:
  25.     GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
  26.     GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
  27.     GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample,
  28.     GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
  29. OpenGL vendor string: VIA Technology
  30. OpenGL renderer string: Mesa DRI UniChrome 20060710
  31. OpenGL version string: 1.2 Mesa 6.5.1
  32. OpenGL extensions:
  33.     GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_point_parameters,
  34.     GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
  35.     GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix,
  36.     GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
  37.     GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
  38.     GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
  39.     GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
  40.     GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
  41.     GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, GL_EXT_subtexture,
  42.     GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
  43.     GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
  44.     GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
  45.     GL_APPLE_packed_pixels, GL_IBM_texture_mirrored_repeat,
  46.     GL_NV_blend_square, GL_NV_texgen_reflection, GL_SGIS_texture_edge_clamp,
  47.     GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays
  48. glu version: 1.3
  49. glu extensions:
  50.     GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
  51.    visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
  52. id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
  53. ----------------------------------------------------------------------
  54. 0x22 16 tc  0 16  0 r  y  .  5  6  5  0  0 24  8  0  0  0  0  0 0 None
  55. 0x23 16 tc  0 16  0 r  .  .  5  6  5  0  0 24  8  0  0  0  0  0 0 None
  56. 0x24 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
  57. 0x25 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
  58. 0x26 16 tc  0 16  0 r  y  .  5  6  5  0  0  0  0  0  0  0  0  0 0 None
  59. 0x27 16 tc  0 16  0 r  .  .  5  6  5  0  0  0  0  0  0  0  0  0 0 None
  60. 0x28 16 tc  0 16  0 r  y  .  5  6  5  0  0 24  8 16 16 16  0  0 0 Slow
  61. 0x29 16 tc  0 16  0 r  .  .  5  6  5  0  0 24  8 16 16 16  0  0 0 Slow
  62. 0x2a 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
  63. 0x2b 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
  64. 0x2c 16 tc  0 16  0 r  y  .  5  6  5  0  0  0  0 16 16 16  0  0 0 Slow
  65. 0x2d 16 tc  0 16  0 r  .  .  5  6  5  0  0  0  0 16 16 16  0  0 0 Slow
复制代码
这是以root启动X后的:
  1. name of display: :0.0
  2. display: :0  screen: 0
  3. [color=red]direct rendering: Yes[/color]
  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, GLX_MESA_copy_sub_buffer
  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_MESA_swap_control,
  25.     GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_video_sync,
  26.     GLX_SGIS_multisample, GLX_SGIX_fbconfig
  27. OpenGL vendor string: VIA Technology
  28. OpenGL renderer string: Mesa DRI UniChrome 20060710
  29. OpenGL version string: 1.2 Mesa 6.5.1
  30. OpenGL extensions:
  31.     GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
  32.     GL_ARB_point_parameters, GL_ARB_texture_env_add,
  33.     GL_ARB_texture_env_combine, GL_ARB_texture_mirrored_repeat,
  34.     GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
  35.     GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
  36.     GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_convolution,
  37.     GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
  38.     GL_EXT_histogram, GL_EXT_packed_pixels, GL_EXT_point_parameters,
  39.     GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
  40.     GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, GL_EXT_subtexture,
  41.     GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
  42.     GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
  43.     GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
  44.     GL_APPLE_packed_pixels, GL_IBM_rasterpos_clip,
  45.     GL_IBM_texture_mirrored_repeat, GL_MESA_window_pos, GL_NV_blend_square,
  46.     GL_NV_light_max_exponent, GL_NV_texgen_reflection, GL_OES_read_format,
  47.     GL_SGI_color_matrix, GL_SGI_color_table, GL_SGIS_texture_edge_clamp,
  48.     GL_SGIS_texture_lod
  49. glu version: 1.3
  50. glu extensions:
  51.     GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
  52.    visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
  53. id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
  54. ----------------------------------------------------------------------
  55. 0x22 16 tc  0 16  0 r  y  .  5  6  5  0  0 24  8  0  0  0  0  0 0 None
  56. 0x23 16 tc  0 16  0 r  .  .  5  6  5  0  0 24  8  0  0  0  0  0 0 None
  57. 0x24 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
  58. 0x25 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
  59. 0x26 16 tc  0 16  0 r  y  .  5  6  5  0  0  0  0  0  0  0  0  0 0 None
  60. 0x27 16 tc  0 16  0 r  .  .  5  6  5  0  0  0  0  0  0  0  0  0 0 None
  61. 0x28 16 tc  0 16  0 r  y  .  5  6  5  0  0 24  8 16 16 16  0  0 0 Slow
  62. 0x29 16 tc  0 16  0 r  .  .  5  6  5  0  0 24  8 16 16 16  0  0 0 Slow
  63. 0x2a 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
  64. 0x2b 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
  65. 0x2c 16 tc  0 16  0 r  y  .  5  6  5  0  0  0  0 16 16 16  0  0 0 Slow
  66. 0x2d 16 tc  0 16  0 r  .  .  5  6  5  0  0  0  0 16 16 16  0  0 0 Slow
复制代码
 楼主| 发表于 2007-5-6 17:36:19 | 显示全部楼层
.........没人………………
回复 支持 反对

使用道具 举报

发表于 2007-8-2 22:41:54 | 显示全部楼层
想问问楼主是按那个网址上的教程安好的么
回复 支持 反对

使用道具 举报

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

本版积分规则

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