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

Re: Build and use Mesa git without package



Hi,

2016-11-10 18:13 GMT+01:00 Berillions <berillions@gmail.com>:
> Hi X team,
>
> I compiled and built Mesa git myself without create package. After to launch
> "make install DESTDIR", the librairies and driver are install into this
> directory :
> /home/odelpasso/Mesa-devel/usr/lib/x86_64-linux-gnu/
>
> To use it instead of the debian packages, i exported the differents PATH
> like this :
>>
>> export
>> LIBGL_DRIVERS_PATH=/home/odelpasso/Mesa-devel/usr/lib/x86_64-linux-gnu/dri
>> export
>> LD_LIBRARY_PATH=/home/odelpasso/Mesa-devel/usr/lib/x86_64-linux-gnu/
>> export
>> EGL_DRIVERS_PATH=/home/odelpasso/Mesa-devel/usr/lib/x86_64-linux-gnu/
>
>
> I follow the old How-to from Cyril Brulebois here :
> http://pkg-xorg.alioth.debian.org/howto/build-mesa.html to test if the new
> PATH are used correctly.

Please provide your exact ./configure command.

>
> - I have good result after to test the Librairies export :
>>
>> $ ldd lib/libGLESv2.so | grep glapi
>> libglapi.so.0 =>
>> /home/odelpasso/Mesa-devel/usr/lib/x86_64-linux-gnu/libglapi.so.0
>> (0x00007fee3192e000)
>
>
> - Bad result after to test the Drivers export :
>>
>> libGL: OpenDriver: trying
>> /home/odelpasso/Mesa-devel/usr/lib/x86_64-linux-gnu/dri/tls/radeonsi_dri.so
>> libGL: OpenDriver: trying
>> /home/odelpasso/Mesa-devel/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
>> libGL error: unable to load driver: radeonsi_dri.so
>> libGL error: driver pointer missing
>> libGL error: failed to load driver: radeonsi
>

Is this the result of trying glxinfo? If not please try glxinfo first.
Make sure that your app is 64bit otherwise you need to compile Mesa
for 32bit too.

>
> The dri folder exist and i have really a file named "radeonsi_dri.so" but i
> don't understand why the export does not work.
>
> Have you an idea where i did a mistake ?
> Thanks for your answer and sorry for my English, i'm French.
>
> Maxime
>

Thanks,
Andreas


Reply to: