[Mesa-users] Building Alternate Mesa
Dan Allen
dan at jerber.co.uk
Wed Mar 1 16:38:02 UTC 2017
Hi
Could anyone recommend the best place to go to get further help with this?
On 24/02/17 20:59, Dan Allen wrote:
> Running ldd provided:
>
> libGL.so.1 => /opt/mesa/lib/libGL.so.1 (0x00007fde3d918000)
>
> It appears the libGL I compiled is being used.
>
> With LIBGL_DEBUG=verbose:
>
> name of display: :0
> libGL: OpenDriver: trying /opt/mesa/lib/dri/r600_dri.so
> libGL: Can't open configuration file /home/dan/.drirc: No such file or
> directory.
> libGL: Can't open configuration file /home/dan/.drirc: No such file or
> directory.
> libGL: Using DRI2 for screen 0
>
> It also appears the driver I have compiled is being used.
>
> I wondered about the configuration files but this also occurs when I
> run glxinfo using the main system driver so I don't think it's related.
>
>
> On 24/02/17 19:55, Brian Paul wrote:
>> Running 'ldd glxinfo' will confirm if the right libGL.so is being
>> chosen.
>>
>> Then setting LIBGL_DEBUG=verbose will tell you which driver .so is
>> being loaded.
>>
>> -Brian
>>
>>
>>
>> On 02/24/2017 09:18 AM, Dan Allen wrote:
>>> Hi,
>>>
>>> I had set these variables when the result was as originally described.
>>>
>>> For information, I used --prefix=/opt/mesa during configure and then
>>> sudo make install after compilation. I then used export
>>> LIBGL_DRIVERS_PATH=/opt/mesa/lib/dri and export
>>> LD_LIBRARY_PATH=/opt/mesa/lib.
>>>
>>>
>>> On 24/02/17 14:29, Brian Paul wrote:
>>>> On 02/22/2017 12:48 PM, Dan Allen wrote:
>>>>> Hi,
>>>>>
>>>>> I would like to build/install a different version of Mesa on my
>>>>> system
>>>>> to trial it (i.e. without completely installing it in place of the
>>>>> currently installed version). Is this possible?
>>>>>
>>>>> I am currently running Ubuntu 16.10 x64.
>>>>>
>>>>> I found this information
>>>>> https://urldefense.proofpoint.com/v2/url?u=https-3A__pkg-2Dxorg.alioth.debian.org_howto_build-2Dmesa.html&d=DwIGaQ&c=uilaK90D4TOVoH58JNXRgQ&r=Ie7_encNUsqxbSRbqbNgofw0ITcfE8JKfaUjIQhncGA&m=XR89-1h11mUG_eYyOU_v3dMRxW93u1tW5gWhztCSUGc&s=bAU-invF1ZYoUFlr0UwlXeif3Cwj38EH0zNA9Qm8r9g&e=
>>>>>
>>>>>
>>>>> and followed most of it (I downloaded the version I wanted (12.0.6)
>>>>> rather than git clone). It compiled fine etc. However, when I
>>>>> execute
>>>>> glxinfo in terminal, the output is not as expected. For example, the
>>>>> max core profile version is stated as "0.0" and the OpenGL version
>>>>> string is "2.1 Mesa 12.0.6". For my hardware, I would expect this
>>>>> to be
>>>>> "3.3" and "3.0 Mesa 12.0.6" respectively.
>>>>>
>>>>> Could anyone point me in the right direction to get this working?
>>>>
>>>> You probably just need to set LD_LIBRARY_PATH and LIBGL_DRIVERS_PATH
>>>> to point to the newly compiled libs.
>>>>
>>>> -Brian
>>>>
>>>>
>>>
>>
>
>
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-users
More information about the mesa-users
mailing list