From: Jonatan <jon...@te...> - 2005-01-25 09:13:51
|
On Wed, 2005-01-19 at 00:42 +0100, Jonatan =C5kerlind wrote: > Hello! > This is probably just a really simple matter of me failing to understan= d > something, but here's my problem: > I have (finally) got 3D acceleration running on my Radeon IGP340M using > a cvs version of xorg and dri (built on 8 december 2004), but it only > works as root. glxgears reports ~300 fps running as root, but running a= s > a normal user it says Disabling 3D acceleration and I get ~30fps...=20 > I have this in my xorg.conf: >=20 > Section "dri" > Mode 0666 > EndSection >=20 > which I think is right. Is there anything else I have missed here? > Doing ls /dev/dri/card0 -l returns: > crw-rw-rw- 1 root root 226, 0 18 jan 22.31 /dev/dri/card0 >=20 > Thankful for any help here, and please point me in the right direction > if I'm not in the right place at all >=20 Still have no solution, but here's the result of running LIBGL_DEBUG=3Dverbose glxinfo as a regular user: name of display: :0.0 libGL: XF86DRIGetClientDriverName: 4.0.1 radeon (screen 0) libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/radeon_dri.so drmOpenByBusid: Searching for BusID pci:0000:01:05.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 4, (OK) drmOpenByBusid: drmOpenMinor returns 4 drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0 libGL error:=20 Can't open configuration file /etc/drirc: No such file or directory. disabling 3D acceleration 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,=20 GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,=20 GLX_SGIS_multisample, 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,=20 GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,=20 GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,=20 GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,=20 GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,=20 GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group GLX extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,=20 GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_swap_control,=20 GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_video_sync,=20 GLX_SGIS_multisample, GLX_SGIX_fbconfig OpenGL vendor string: Tungsten Graphics, Inc. OpenGL renderer string: Mesa DRI Radeon 20030328 AGP 4x x86/MMX/SSE2 TCL OpenGL version string: 1.2 Mesa 6.1 OpenGL extensions: GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,=20 GL_ARB_texture_border_clamp, GL_ARB_texture_compression,=20 GL_ARB_texture_env_add, GL_ARB_texture_env_combine,=20 GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,=20 GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,=20 GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,=20 GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_convolution,=20 GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_histogram,=20 GL_EXT_packed_pixels, GL_EXT_polygon_offset, GL_EXT_rescale_normal,=20 GL_EXT_secondary_color, GL_EXT_separate_specular_color, GL_EXT_subtexture,=20 GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,=20 GL_EXT_texture_env_add, GL_EXT_texture_env_combine,=20 GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,=20 GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,=20 GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,=20 GL_APPLE_packed_pixels, GL_ATI_texture_env_combine3,=20 GL_ATI_texture_mirror_once, GL_IBM_rasterpos_clip,=20 GL_IBM_texture_mirrored_repeat, GL_MESA_ycbcr_texture, GL_MESA_window_pos,=20 GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texture_rectangle,=20 GL_NV_texgen_reflection, GL_SGI_color_matrix, GL_SGI_color_table,=20 GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,=20 GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod glu version: 1.3 glu extensions: GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess Segmentation fault As root there is no segmentation fault and no line saying disabling 3D acceleration. Any help appreciated! --=20 Jonatan =C5kerlind <jon...@te...> |