[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with DRI



Hi

My laptop is a T41 with radeon mobility 7500(32M),  and I want to install beryl on it(because I can use KNOPPIX with beryl). But I met the problem on DRI.

The kernel is 2.6.19.2 , with drm and radeon mod installed (compiled by myself ). The version of xorg is 7.1.1. Debian etch, upgraded to the latest.

I followed the instruction in http://dri.freedesktop.org/wiki/DriTroubleshooting to find a solution, but failed.

My glxinfo output with LIBGL_DEBUG=verbose:
 
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 5.2.0 radeon (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/radeon_dri.so
libGL error: dlopen /usr/lib/dri/radeon_dri.so failed (/usr/lib/dri/radeon_dri.so: undefined symbol: _glapi_get_dispatch)
libGL error: unable to find driver: radeon_dri.so
libGL: XF86DRIGetClientDriverName: 5.2.0 radeon (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/radeon_dri.so
libGL error: dlopen /usr/lib/dri/radeon_dri.so failed (/usr/lib/dri/radeon_dri.so: undefined symbol: _glapi_get_dispatch)
libGL error: unable to find driver: radeon_dri.so
display: :0  screen: 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_EXT_texture_from_pixmap, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample,
    GLX_ATI_pixel_format_float, GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_multisample
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI Radeon 20060327 AGP 4x TCL
OpenGL version string: 1.2 (1.3 Mesa 6.5.1)
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
    GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

I think I found the problem(the first few lines ) but don't know how to solve it.

Direct rending is enabled according to the /var/log/Xorg.0.log.

I also tried beryl on KNOPPIX 5.1.1, and successful. I compared the output of glxinfo to above, found that

1. direct rending is not enabled.
2. client glx vendor string of later is SGI(compared to ATI) and version is 1.4(compared to 1.3 above)
3. I miss a lot of extension above.

I examined the KNOPPIX's Xorg.0.log, found it used exactly the same version of radeon driver and xorg. And I tried to modify my xorg.conf  a lot but have no effect. 

This is the main part of my xorg.conf:

Section "Module"
    Load    "i2c"
    Load    "bitmap"
    Load    "dbe"
    Load    "ddc"
    Load    "dri"
#Load    "extmod"
    SubSection      "extmod"
        Option          "omit xfree86-dga"
    EndSubSection
    Load    "freetype"
    Load    "glx"
    Load    "int10"
    Load    "vbe"
    Load    "radeon"
    Load    "drm"
EndSection
...
Section "Device"
    Identifier    "ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]"
    Driver        "ati"
    BusID        "PCI:1:0:0"
    Option        "AGPMode"    "4"
    Option "RenderAccel" "true"
    Option "DRI"
    Option         "AccelMethod"          "EXA"
    Option "AddARGBGLXVisuals" "On"
    Option "XAANoOffscreenPixmaps"
    Option "AllowGLXWithComposite" "true"
    Option "EnablePageFlip" "true"
EndSection
...


I tried a lot to solve this ,but failed.

I will appreciate any suggestion.

--
regards,
Yang Sheng

Reply to: