From dan at jerber.co.uk Wed Mar 1 16:38:02 2017 From: dan at jerber.co.uk (Dan Allen) Date: Wed, 1 Mar 2017 16:38:02 +0000 Subject: [Mesa-users] Building Alternate Mesa In-Reply-To: <62abcacd-6913-27a9-be4c-e8c7e591829a@jerber.co.uk> References: <4498612d-1585-985d-6b9c-609ffea94393@jerber.co.uk> <58B04353.9000809@vmware.com> <8af05b41-fac1-5325-92f2-2a14b4bd06ca@jerber.co.uk> <58B08FAD.2060909@vmware.com> <62abcacd-6913-27a9-be4c-e8c7e591829a@jerber.co.uk> Message-ID: <33fe2bc1-12c3-92e4-4671-01bbfb3d4070@jerber.co.uk> 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