On 2018-03-06 02:27 PM, Emil Velikov wrote: > On 6 March 2018 at 12:57, Gert Wollny <gw.foss...@gmail.com> wrote: >> Am Dienstag, den 06.03.2018, 13:10 +0100 schrieb Germano Massullo: >>> Il 06/03/2018 09:06, Gert Wollny ha scritto: >>>> Am Dienstag, den 06.03.2018, 01:10 +0100 schrieb Germano Massullo: >>>>> Question: is LIBGL_DRIVERS_PATH enough to let Firefox use a >>>>> different >>>>> Mesa version? >>>> >>>> You will also need to set LIBGL_DRIVERS_PATH >>> >>> Maybe it is a typo? I already mentioned LIBGL_DRIVERS_PATH in my >>> message >> Sorry I kind of mixed that up, you should also set LD_LIBRARY_PATH to >> use the mesa libraries related to the drivers. This will probably do: >> >> LD_LIBRARY_PATH= \ >> /home/user/mesa-dri-drivers-18.0.0-0.1.rc4.fc27.x86_64/usr/lib64 >> > A few things that come to mind: > > a) A 32/64 bit issue > > For example: one is pointing to 32bit binaries, while 64bit ones are > needed, or vice-versa. > > Have _both_ present and use $LIB. The variable will expand accordingly > - be that lib, lib32, lib64, lib/x86_64-linux-gnu or other > > b) Missing/wrong dependency - libstdc++, llvm, other > The debug hints below will help here. > > > Note that the issue (one here or bugzilla) can be in either the > frontend libraries or the backend DRI driver. > > * For normal libraries - libGL/libEGL/libglapi, libgbm > LD_LIBRARY_PATH=/some/chroot/usr/$LIB/ > to debug > LD_DEBUG=libs > > * For the backend DRI module - foo_dri.so > LIBGL_DRIVERS_PATH=/some/chroot/usr/$LIB/dri > to debug > LIBGL_DEBUG=verbose
FWIW, I recommend using single quotes around $LIB: LD_LIBRARY_PATH='/some/chroot/usr/$LIB/' LIBGL_DRIVERS_PATH='/some/chroot/usr/$LIB/dri' Otherwise the shell will substitute it with the wrong thing. -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev