[Mesa-dev] [PATCH 1/2] dri/common: embed drirc into driver binaries

Marek Olšák maraeo at gmail.com
Sun Sep 6 13:06:38 PDT 2015


On Sun, Sep 6, 2015 at 8:38 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> On 3 September 2015 at 20:33, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
>> On Thu, Sep 3, 2015 at 3:30 PM, Marek Olšák <maraeo at gmail.com> wrote:
>>>
>>> 2) Using LIBGL_DRIVERS_PATH won't use the correct drirc file. The only
>>> remaining solution to that is to kill LIBGL_DRIVERS_PATH.
>>
> I'm confused ... what does LIBGL_DRIVERS_PATH has to do with the
> location of drirc ? Afaict it has always been solely about the
> location of the dri module(s).

If you install Mesa 10.6, its drirc will go to /etc/drirc. If you
later build Mesa 11.0 and use LIBGL_DRIVERS_PATH, you'll get Mesa 11.0
drivers with drirc from Mesa 10.6. As a result, Unigine Heaven with
tessellation won't work.

> Imho inexperienced users should not thinker with this env var, should
> they ? If they do and things go bad, it's their own fault.

Inexperienced users use whatever they find on the internet. Either
drirc or LIBGL_DRIVERS_PATH must go. They can't co-exist. If people
can use the env var, they will.

Marek


More information about the mesa-dev mailing list