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

2017-01-15 Thread Kenneth Graunke
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 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 > >>> > >>> ~/.drirc

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

2017-01-09 Thread Michel Dänzer
On 09/01/17 08:08 PM, Christian König wrote: > Am 09.01.2017 um 11:58 schrieb Marek Olšák: >> On Mon, Jan 9, 2017 at 7:25 AM, Michel Dänzer 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

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

2017-01-09 Thread Edmondo Tommasina
On Mon, Jan 9, 2017 at 12:37 PM, Marek Olšák wrote: > On Mon, Jan 9, 2017 at 12:16 PM, Edmondo Tommasina > wrote: >> Could be a patch like this useful for power users? >> >> Load custom drirc only when specified in env variable. > > Yes, that sounds

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

2017-01-09 Thread Marek Olšák
On Mon, Jan 9, 2017 at 12:16 PM, Edmondo Tommasina wrote: > Could be a patch like this useful for power users? > > Load custom drirc only when specified in env variable. Yes, that sounds like a good alternative. Marek > > Patch untested, not even compiled. > >

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

2017-01-09 Thread Edmondo Tommasina
Could be a patch like this useful for power users? Load custom drirc only when specified in env variable. Patch untested, not even compiled. edmondo (on mobile phone) diff --git a/docs/envvars.html b/docs/envvars.html index cf57ca5..a404ced 100644 --- a/docs/envvars.html +++

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

2017-01-09 Thread Christian König
Am 09.01.2017 um 11:58 schrieb Marek Olšák: On Mon, Jan 9, 2017 at 7:25 AM, Michel Dänzer 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 ~/.drirc is created by the driconf tool (GPL

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

2017-01-09 Thread Nicolai Hähnle
On 09.01.2017 11:58, Marek Olšák wrote: On Mon, Jan 9, 2017 at 7:25 AM, Michel Dänzer 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 ~/.drirc is created by the driconf tool (GPL license)

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

2017-01-09 Thread Marek Olšák
On Mon, Jan 9, 2017 at 7:25 AM, Michel Dänzer 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 >>> >>> ~/.drirc is created by the driconf tool (GPL license) and it overrides >>> system

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

2017-01-08 Thread Michel Dänzer
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 >> >> ~/.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

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

2017-01-08 Thread Michel Dänzer
On 07/01/17 11:46 PM, Marek Olšák wrote: > From: Marek Olšák > > ~/.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

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

2017-01-07 Thread Jacek Konieczny
On 2017-01-07 15:46, Marek Olšák wrote: > > -The filters can be toggled per-app via driconf, or per-session via the > -corresponding environment variables. > +The filters can be via the corresponding environment variables. > I think you have missed a word here. Jacek

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

2017-01-07 Thread Axel Davy
Here are screenshots of how far I got with that driconf replacement https://drive.google.com/open?id=0B5-qhFoZtgKPZmR2LVg0X3pOZnM It was more than two years ago, hadn't had time to work on it since. Screenshot 1, 2 and 3: There is a list of apps with settings in system drirc or user drirc.

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

2017-01-07 Thread Kai Wasserbäch
Hey Marek, thanks for the changes to the documentation! You can have my Reviewed-by: Kai Wasserbäch Cheers, Kai Marek Olšák wrote on 07.01.2017 15:46: > From: Marek Olšák > > ~/.drirc is created by the driconf tool (GPL license) and it

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

2017-01-07 Thread Kai Wasserbäch
Hey Axel, Axel Davy wrote on 07.01.2017 14:28: > Expecting the user to use env vars it ok for power users, but not very > user-friendly for newbies, or just people who don't like using the command > line. > And that's exactly these users who are likely to use something like driconf. I would

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

2017-01-07 Thread Marek Olšák
From: Marek Olšák ~/.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

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

2017-01-07 Thread Axel Davy
Expecting the user to use env vars it ok for power users, but not very user-friendly for newbies, or just people who don't like using the command line. And that's exactly these users who are likely to use something like driconf. Axel On 07/01/2017 14:23, Kai Wasserbäch wrote: Hey Marek,

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

2017-01-07 Thread Kai Wasserbäch
Hey Marek, maybe should be updated then as well? Just so the page doesn't recommend using driconf? Apart from that, the page is basically useless anyway so maybe deleting it altogether would be best? (What would be nicer to have would be a page listing

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

2017-01-07 Thread Axel Davy
I find ~/.drirc useful. You can add hacks missing in system drirc, or use device_id to set the card to use for the given game for dual gpu systems. Nine also has some drirc settings that are not hacks, but user options. I think it's driconf that should be fixed. It shouldn't copy the system

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

2017-01-07 Thread Marek Olšák
From: Marek Olšák ~/.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