VIA/S3G UniChrome Pro IGP显卡问题
装了驱动,用普通用户测试openGL屏保,很卡。用root测试,一秒多一点的流畅,之后死机。究竟怎么回事? $ glxinfoname of display: :0.0
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
display: :0screen: 0
direct rendering: No
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: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
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_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_window_pos,
GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate,
GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_clip_volume_hint, GL_EXT_copy_texture, GL_EXT_draw_range_elements,
GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap,
GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle,
GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_ATI_texture_env_combine3,
GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3,
GL_HP_occlusion_test, GL_IBM_texture_mirrored_repeat,
GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection,
GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
visualxbf lv rg d st colorbuffer ax dp st accumbuffermscav
id dep cl sp sz lci b rorgba bf th clrgba ns b eat
----------------------------------------------------------------------
0x22 24 tc0 320 ry.88880 24800000 0 None
0x23 24 tc0 320 r..88880 24800000 0 None
0x24 24 tc0 320 ry.88880 16000000 0 None
0x25 24 tc0 320 r..88880 16000000 0 None
0x26 24 tc0 320 ry.888800000000 0 None
0x27 24 tc0 320 r..888800000000 0 None
0x28 24 tc0 320 ry.88880 248 16 16 16 160 0 Slow
0x29 24 tc0 320 r..88880 248 16 16 16 160 0 Slow
0x2a 24 tc0 320 ry.88880 160 16 16 16 160 0 Slow
0x2b 24 tc0 320 r..88880 160 16 16 16 160 0 Slow
0x2c 24 tc0 320 ry.8888000 16 16 16 160 0 Slow
0x2d 24 tc0 320 r..8888000 16 16 16 160 0 Slow
$ su
Password:
# glxinfo
name of display: :0.0
__driCreateNewScreen_20050727 - succeeded
display: :0screen: 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: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: VIA Technology
OpenGL renderer string: Mesa DRI UniChrome (K8M800) 20050526 x86/MMX+/3DNow!+/SSE2
OpenGL version string: 1.2 Mesa 6.5
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_point_parameters, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_mirrored_repeat,
GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_convolution,
GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
GL_EXT_histogram, GL_EXT_packed_pixels, GL_EXT_point_parameters,
GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, GL_EXT_subtexture,
GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
GL_APPLE_packed_pixels, GL_IBM_rasterpos_clip,
GL_IBM_texture_mirrored_repeat, GL_MESA_window_pos, GL_NV_blend_square,
GL_NV_light_max_exponent, GL_NV_texgen_reflection, GL_OES_read_format,
GL_SGI_color_matrix, GL_SGI_color_table, GL_SGIS_texture_edge_clamp,
GL_SGIS_texture_lod
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
visualxbf lv rg d st colorbuffer ax dp st accumbuffermscav
id dep cl sp sz lci b rorgba bf th clrgba ns b eat
----------------------------------------------------------------------
0x22 24 tc0 320 ry.88880 24800000 0 None
0x23 24 tc0 320 r..88880 24800000 0 None
0x24 24 tc0 320 ry.88880 16000000 0 None
0x25 24 tc0 320 r..88880 16000000 0 None
0x26 24 tc0 320 ry.888800000000 0 None
0x27 24 tc0 320 r..888800000000 0 None
0x28 24 tc0 320 ry.88880 248 16 16 16 160 0 Slow
0x29 24 tc0 320 r..88880 248 16 16 16 160 0 Slow
0x2a 24 tc0 320 ry.88880 160 16 16 16 160 0 Slow
0x2b 24 tc0 320 r..88880 160 16 16 16 160 0 Slow
0x2c 24 tc0 320 ry.8888000 16 16 16 160 0 Slow
0x2d 24 tc0 320 r..8888000 16 16 16 160 0 Slow
#
为什么用普通用户和用root结果不一样?普通用户direct rendering NO,root就yes了??? 有谁知道为什么? 还是没有驱动3d加速!
cvs -z3 -d:pserver:[email protected]:/cvs/dri co drm
上面那串是在终端里打进去还是怎么样? 恭喜一下楼上的!
你已经是驱动3d加速了!
在xorg.conf
最后加上
Section "DRI"
Mode 0666
EndSection
一般用户也就同样可以驱动3d了!
现在
glxgears
应该会高很多了!
opengl屏保应该流畅了!
用root测试,一秒多一点的流畅,之后死机。
--这个问题不清楚,也可能是驱动兼容性问题,但是可以肯定root用户已经驱动3d加速了! 老上的大哥,听起来好像很复杂阿,我头都晕了。 :cry: 恭喜一下楼上的!
你已经是驱动3d加速了!
在xorg.conf
最后加上
Section "DRI"
Mode 0666
EndSection
一般用户也就同样可以驱动3d了!
现在
glxgears
应该会高很多了!
opengl屏保应该流畅了!
用root测试,一秒多一点的流畅,之后死机。
--这个问题不清楚,也可能是驱动兼容性问题,但是可以肯定root用户已经驱动3d加速了!
老兄.我现在进不了x了 :cry:
你用的是什么发行版啊?我想重装算了,不装ML了,感觉ML问题多多,不太适合我,唉...... :cry: 进不了X,可以在命令行修改啊。
好像其它版本的这个显卡驱动安装也不那么容易的。 命令行改了好几次都不行,这次好象彻底坏了,我输入init 5都什么乱七八糟的东西出来.斑竹你用的是什么发行版?什么显卡支持比较好? :cry: 恭喜一下楼上的!
你已经是驱动3d加速了!
在xorg.conf
最后加上
Section "DRI"
Mode 0666
EndSection
一般用户也就同样可以驱动3d了!
现在
glxgears
应该会高很多了!
opengl屏保应该流畅了!
用root测试,一秒多一点的流畅,之后死机。
--这个问题不清楚,也可能是驱动兼容性问题,但是可以肯定root用户已经驱动3d加速了!
现在总算进入X了。照你的方法,加了section之后,果然普通用户也行,下面是glxinfo
$ glxinfo
name of display: :0.0
__driCreateNewScreen_20050727 - succeeded
display: :0screen: 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: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: VIA Technology
OpenGL renderer string: Mesa DRI UniChrome (K8M800) 20050526 x86/MMX+/3DNow!+/SSE2
OpenGL version string: 1.2 Mesa 6.5
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_point_parameters, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_mirrored_repeat,
GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_convolution,
GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
GL_EXT_histogram, GL_EXT_packed_pixels, GL_EXT_point_parameters,
GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, GL_EXT_subtexture,
GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
GL_APPLE_packed_pixels, GL_IBM_rasterpos_clip,
GL_IBM_texture_mirrored_repeat, GL_MESA_window_pos, GL_NV_blend_square,
GL_NV_light_max_exponent, GL_NV_texgen_reflection, GL_OES_read_format,
GL_SGI_color_matrix, GL_SGI_color_table, GL_SGIS_texture_edge_clamp,
GL_SGIS_texture_lod
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
visualxbf lv rg d st colorbuffer ax dp st accumbuffermscav
id dep cl sp sz lci b rorgba bf th clrgba ns b eat
----------------------------------------------------------------------
0x22 24 tc0 320 ry.88880 24800000 0 None
0x23 24 tc0 320 r..88880 24800000 0 None
0x24 24 tc0 320 ry.88880 16000000 0 None
0x25 24 tc0 320 r..88880 16000000 0 None
0x26 24 tc0 320 ry.888800000000 0 None
0x27 24 tc0 320 r..888800000000 0 None
0x28 24 tc0 320 ry.88880 248 16 16 16 160 0 Slow
0x29 24 tc0 320 r..88880 248 16 16 16 160 0 Slow
0x2a 24 tc0 320 ry.88880 160 16 16 16 160 0 Slow
0x2b 24 tc0 320 r..88880 160 16 16 16 160 0 Slow
0x2c 24 tc0 320 ry.8888000 16 16 16 160 0 Slow
0x2d 24 tc0 320 r..8888000 16 16 16 160 0 Slow
看起来真的是驱动3d加速了,可还是那个问题,用普通用户测试openGL屏保也一样,2秒多的流畅,之后死机,我现在都不敢轻易测试了。??? 打进去以后进入 linux-core 目录并编译就可以了。编译后把所有生成的 .ko 文件拷到 /lib/modules/[内核版本]/kernel/drivers/char/drm 中。
不过先要安装一下内核的开发文件。
如果升级了内核模块后还出现死机的话,建议把 xorg 也升级一下。
内核开发文件怎么装?xorg怎么升级? apt就可以了!
安装kernel-source/以及升级xorg
具体搜索一下论坛就可以了!
建议把内核也升级kernel!
最好使用
smart-gui
来升级!
或者自己下载后升级!