NetBSD-Bugs archive

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

xsrc/40007: AIGLX does not work with native X.Org



>Number:         40007
>Category:       xsrc
>Synopsis:       AIGLX does not work with native X.Org
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 23 08:30:00 +0000 2008
>Originator:     Kouichirou Hiratsuka
>Release:        NetBSD 5.99.3
>Organization:
>Environment:
System: NetBSD firefly.localdomain 5.99.3 NetBSD 5.99.3 (X32) #9: Sun Nov 23 
06:31:41 JST 2008 
root%firefly.localdomain@localhost:/obj/i386/usr/src/sys/arch/i386/compile/X32 
i386
Architecture: i386
Machine: i386
>Description:
        With native X.Org, AIGLX does not work because *_dri.so has
        undefined symbols.  For example, redeon_dri.so does not work.

# LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 5.3.0 radeon (screen 0)
libGL: OpenDriver: trying /usr/X11R7/lib/modules/dri/radeon_dri.so
libGL error: dlopen /usr/X11R7/lib/modules/dri/radeon_dri.so failed 
(/usr/X11R7/lib/modules/dri/radeon_dri.so: Undefined PLT symbol 
"_mesa_vector4f_alloc" (symnum = 14))
libGL error: unable to load driver: radeon_dri.so
[snip]

# nm -u /usr/X11R7/lib/modules/dri/radeon_dri.so
         U XML_ErrorString
         U XML_GetBuffer
         U XML_GetCurrentColumnNumber
         U XML_GetCurrentLineNumber
         U XML_GetErrorCode
         U XML_Parse
         U XML_ParseBuffer
         U XML_ParserCreate
         U XML_ParserFree
         U XML_SetElementHandler
         U XML_SetUserData
         w _Jv_RegisterClasses
         U __assert13
         w __cxa_finalize
         w __deregister_frame_info
         U __errno
         U __libc_thr_yield
         U __progname
         w __register_frame_info
         U __sF
         U _ae_create_context
         U _ae_invalidate_state
         U _glapi_Context
         U _glapi_add_dispatch
         U _glapi_get_context
         U _math_matrix_copy
         U _math_matrix_ctr
         U _math_matrix_mul_matrix
         U _math_matrix_set_identity
         U _math_trans_4f
         U _mesa_add_renderbuffer
         U _mesa_add_soft_renderbuffers
         U _mesa_allow_light_in_model
         U _mesa_attach_shader
         U _mesa_bind_attrib_location
         U _mesa_buffer_data
         U _mesa_buffer_get_subdata
         U _mesa_buffer_map
         U _mesa_buffer_subdata
         U _mesa_buffer_unmap
         U _mesa_bzero
         U _mesa_calloc
         U _mesa_choose_tex_format
         U _mesa_compile_shader
         U _mesa_compressed_texture_size
         U _mesa_create_context
         U _mesa_create_framebuffer
         U _mesa_create_program
         U _mesa_create_shader
         U _mesa_delete_array_object
         U _mesa_delete_buffer_object
         U _mesa_delete_program
         U _mesa_delete_program2
         U _mesa_delete_shader
         U _mesa_delete_texture_object
         U _mesa_destroy_context
         U _mesa_detach_shader
         U _mesa_enable_extension
         U _mesa_enable_imaging_extensions
         U _mesa_error
         U _mesa_finish_render_texture
         U _mesa_framebuffer_renderbuffer
         U _mesa_free
         U _mesa_free_texture_image_data
         U _mesa_get_active_attrib
         U _mesa_get_active_uniform
         U _mesa_get_attached_shaders
         U _mesa_get_attrib_location
         U _mesa_get_compressed_teximage
         U _mesa_get_handle
         U _mesa_get_program_info_log
         U _mesa_get_program_register
         U _mesa_get_programiv
         U _mesa_get_shader_info_log
         U _mesa_get_shader_source
         U _mesa_get_shaderiv
         U _mesa_get_teximage
         U _mesa_get_uniform_location
         U _mesa_get_uniformfv
         U _mesa_init_renderbuffer
         U _mesa_is_program
         U _mesa_is_shader
         U _mesa_link_program
         U _mesa_lookup_enum_by_nr
         U _mesa_make_current
         U _mesa_malloc
         U _mesa_memcpy
         U _mesa_new_array_object
         U _mesa_new_buffer_object
         U _mesa_new_framebuffer
         U _mesa_new_program
         U _mesa_new_query_object
         U _mesa_new_soft_renderbuffer
         U _mesa_new_texture_image
         U _mesa_new_texture_object
         U _mesa_notifySwapBuffers
         U _mesa_problem
         U _mesa_render_texture
         U _mesa_resize_framebuffer
         U _mesa_shader_source
         U _mesa_store_compressed_teximage1d
         U _mesa_store_compressed_teximage2d
         U _mesa_store_compressed_teximage3d
         U _mesa_store_compressed_texsubimage1d
         U _mesa_store_compressed_texsubimage2d
         U _mesa_store_compressed_texsubimage3d
         U _mesa_store_teximage1d
         U _mesa_store_teximage2d
         U _mesa_store_teximage3d
         U _mesa_store_texsubimage1d
         U _mesa_store_texsubimage2d
         U _mesa_store_texsubimage3d
         U _mesa_test_proxy_teximage
         U _mesa_texformat_a8
         U _mesa_texformat_al88
         U _mesa_texformat_al88_rev
         U _mesa_texformat_argb1555
         U _mesa_texformat_argb1555_rev
         U _mesa_texformat_argb4444
         U _mesa_texformat_argb4444_rev
         U _mesa_texformat_argb8888
         U _mesa_texformat_argb8888_rev
         U _mesa_texformat_ci8
         U _mesa_texformat_i8
         U _mesa_texformat_l8
         U _mesa_texformat_rgb565
         U _mesa_texformat_rgb565_rev
         U _mesa_texformat_rgb_dxt1
         U _mesa_texformat_rgba8888
         U _mesa_texformat_rgba8888_rev
         U _mesa_texformat_rgba_dxt1
         U _mesa_texformat_rgba_dxt3
         U _mesa_texformat_rgba_dxt5
         U _mesa_texformat_ycbcr
         U _mesa_texformat_ycbcr_rev
         U _mesa_uniform
         U _mesa_uniform_matrix
         U _mesa_unreference_framebuffer
         U _mesa_update_state
         U _mesa_use_program
         U _mesa_validate_all_lighting_tables
         U _mesa_validate_program
         U _mesa_vector4f_alloc
         U _mesa_vector4f_clean_elem
         U _mesa_vector4f_free
         U _swrast_Accum
         U _swrast_Bitmap
         U _swrast_BlitFramebuffer
         U _swrast_Clear
         U _swrast_CopyColorSubTable
         U _swrast_CopyColorTable
         U _swrast_CopyConvolutionFilter1D
         U _swrast_CopyConvolutionFilter2D
         U _swrast_CopyPixels
         U _swrast_CreateContext
         U _swrast_DestroyContext
         U _swrast_DrawPixels
         U _swrast_GetDeviceDriverReference
         U _swrast_InvalidateState
         U _swrast_ReadPixels
         U _swrast_allow_pixel_fog
         U _swrast_allow_vertex_fog
         U _swrast_copy_teximage1d
         U _swrast_copy_teximage2d
         U _swrast_copy_texsubimage1d
         U _swrast_copy_texsubimage2d
         U _swrast_copy_texsubimage3d
         U _swrast_flush
         U _swsetup_CreateContext
         U _swsetup_DestroyContext
         U _swsetup_InvalidateState
         U _swsetup_Wakeup
         U _tnl_CreateContext
         U _tnl_DestroyContext
         U _tnl_InvalidateState
         U _tnl_RenderClippedPolygon
         U _tnl_allow_pixel_fog
         U _tnl_allow_vertex_fog
         U _tnl_build_vertices
         U _tnl_copy_pv
         U _tnl_destroy_pipeline
         U _tnl_emit_vertices_to_buffer
         U _tnl_fog_coordinate_stage
         U _tnl_init_vertices
         U _tnl_install_attrs
         U _tnl_install_pipeline
         U _tnl_interp
         U _tnl_invalidate_vertex_state
         U _tnl_invalidate_vertices
         U _tnl_lighting_stage
         U _tnl_need_projected_coords
         U _tnl_normal_transform_stage
         U _tnl_program_string
         U _tnl_render_stage
         U _tnl_render_tab_elts
         U _tnl_render_tab_verts
         U _tnl_run_pipeline
         U _tnl_texgen_stage
         U _tnl_texture_transform_stage
         U _tnl_vertex_transform_stage
         U _vbo_CreateContext
         U _vbo_DestroyContext
         U _vbo_InvalidateState
         U abort
         U atomic_cas_uint
         U bsearch
         U close
         U drmCloseOnce
         U drmCommandNone
         U drmCommandWrite
         U drmCommandWriteRead
         U drmDMA
         U drmGetLock
         U drmHashCreate
         U drmHashDelete
         U drmHashDestroy
         U drmHashFirst
         U drmHashInsert
         U drmHashLookup
         U drmHashNext
         U drmMap
         U drmMapBufs
         U drmUnlock
         U drmUnmap
         U drmUnmapBufs
         U drmWaitVBlank
         U exit
         U exp
         U fprintf
         U fputc
         U fwrite
         U getenv
         U memcpy
         U memmove
         U memset
         U mmAllocMem
         U mmDestroy
         U mmDumpMemInfo
         U mmFreeMem
         U mmInit
         U open
         U pow
         U read
         U realloc
         U sprintf
         U strchr
         U strcmp
         U strerror
         U strlen
         U strrchr
         U strspn
         U strstr
         U usleep
         U vfprintf

# ldd /usr/X11R7/lib/modules/dri/radeon_dri.so
/usr/X11R7/lib/modules/dri/radeon_dri.so:
        -lc.12 => /usr/lib/libc.so.12

>How-To-Repeat:
        Enable AIGLX and run glxinfo.

>Fix:
        Add missing -l flags.



Home | Main Index | Thread Index | Old Index