[Mesa-dev] [PATCH 2/2] dri/common: drop loading /etc/drirc
Eero Tamminen
eero.t.tamminen at intel.com
Thu Oct 1 01:12:03 PDT 2015
Hi,
On 10/01/2015 06:07 AM, Michel Dänzer wrote:
> On 01.10.2015 04:35, Marek Olšák wrote:
[...]
>> For your issue, the only way is to remove loading ~/.drirc from Mesa,
>
> I think that would be the proverbial "throwing out the baby with the
> bathwater". :)
>
>
>> making driconf useless. Do we really care about driconf? I don't think
>> so.
>
> ~/.drirc isn't only for driconf, it's also for allowing users (who may
> not have write access to .../etc/drirc) to have their own persistent DRI
> configuration.
One of the original problem was users not telling / knowing that they
have bogus drirc values when providing data to Mesa developers.
What if Mesa would store drirc settings it loads/uses & from which files
it read them, provide API for requesting that info and "glxinfo" would
include that info to its output? Then one needs only to ask for
"glxinfo" output to see relevant Mesa version and settings it uses.
This would allow you to see also bad settings from the global drirc.
Same thing should be output also by Mesa debug options and Mesa could
output a warning about potentially stale user drirc file, if loaded user
drirc is older than global drirc file.
- Eero
More information about the mesa-dev
mailing list