[SM-Discuss] xorg-modular, mesalib and /usr/lib/modules/dri
"Andraž 'ruskie' Levstik"
ruskie at mages.ath.cx
Fri Feb 29 01:41:38 EST 2008
It is known... but you're probably using the old xorg-modular...
Anyway I'll take a look at this and try to come up with a permanent
solution...
On 07:14:20 2008-02-29 "Javier Vasquez" <jevv.cr at gmail.com> wrote:
> Hi,
>
> I just installed xorg-server, mesalib and others, using the test and
> xorg-modular grimoires, and I found that after compiling mesalib the
> path for the DRI different drivers libraries is:
>
> /usr/lib/modules/dri
>
> However Xorg is expecting to find those shared libraries under:
>
> /usr/lib/dri
>
> See, if I just run plain X (activating glx) I get the error:
>
> (EE) AIGLX error: dlopen of /usr/lib/dri/r200_dri.so failed
> (/usr/lib/dri/r200_dri.so: cannot open shared object file: No such
> file or directory)
> (EE) AIGLX: reverting to software rendering
>
> So to work this around, I just created a link as follows:
>
> cd /usr/lib
> ln -s modules/dri dri
>
> Then things seem to work, since glx doesn't get discarded, but I guess
> some errors that don't seem to break glx:
>
> DISPATCH ERROR! _glapi_add_dispatch failed to add
> glGetVertexAttribPointerv! DISPATCH ERROR! _glapi_add_dispatch failed
> to add glVertexAttrib4iv! DISPATCH ERROR! _glapi_add_dispatch failed to
> add glVertexAttrib4bv! DISPATCH ERROR! _glapi_add_dispatch failed to
> add glVertexAttrib4ubv! DISPATCH ERROR! _glapi_add_dispatch failed to
> add glVertexAttrib4usv! DISPATCH ERROR! _glapi_add_dispatch failed to
> add glGetVertexAttribPointerv! DISPATCH ERROR! _glapi_add_dispatch
> failed to add glVertexAttrib4uiv! DISPATCH ERROR! _glapi_add_dispatch
> failed to add glGetVertexAttribPointerv!
>
> Are these last errors OK?
>
> Moreover, is the work around OK? Is this known? I don't like the
> tweak I performed if it's not the right way to do things (maybe Xorg
> is expecting the wrong path, or maybe libmesa is installing the
> libraries in the wrong path), so maybe there's already a smgl
> fix/approach, and if so I'd like to know how to implement it. Please
> notice I've installed xorg-server (from xorg-modular) + mesalib under
> test before, and i didn't have this problem before.
>
> Thanks,
>
> --
> Javier
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
More information about the SM-Discuss
mailing list