[Mesa-dev] [PATCH] dri: don't load .drirc from $HOME

Kenneth Graunke kenneth at whitecape.org
Mon Jan 16 00:19:28 UTC 2017


On Monday, January 9, 2017 11:58:45 AM PST Marek Olšák wrote:
> On Mon, Jan 9, 2017 at 7:25 AM, Michel Dänzer <michel at daenzer.net> wrote:
> > On 09/01/17 03:13 PM, Michel Dänzer wrote:
> >> On 07/01/17 11:46 PM, Marek Olšák wrote:
> >>> From: Marek Olšák <marek.olsak at amd.com>
> >>>
> >>> ~/.drirc is created by the driconf tool (GPL license) and it overrides
> >>> system drirc settings and can't be changed by Mesa updates.
> >>> This drops support for the tool. It has been a source of major pain
> >>> for us and it continues to cause problems.
> >>>
> >>> If people wanna keep this and enjoy the pain, I will make a v2 that
> >>> applies it to radeon drivers only.
> >>>
> >>> v2: update comments and docs
> >>
> >> The problem is the driconf application (and possibly documentation
> >> recommending its use), not the ~/.drirc file. This is throwing out the
> >> proverbial baby with the bathwater. Fix the problem instead.
> >
> > As for something that could be done about this issue in Mesa, how about
> > adding terminal output about which driconf options are set to what
> > values from where, enabled e.g. via LIBGL_DEBUG=verbose ?
> 
> That would have no effect on anything whatsoever. The idea is to drop
> support for driconf. That can be done by not loading ~/.drirc and
> either:
> - not loading anything, or
> - load a different file from HOME instead (e.g. ~/.mesarc)
> 
> driconf uses GPL, which is not compatible with X.Org and Mesa.
> 
> Marek

If we move it, we should use $XDG_CONFIG_HOME/drirc (~/.config/drirc).

--Ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170115/bc651361/attachment.sig>


More information about the mesa-dev mailing list