Re: [Nouveau] [PATCH] Add Option DRI3 to allow to disable DRI3 under EXA.

2015-07-26 Thread Pekka Paalanen
On Sat, 18 Jul 2015 21:09:46 +1000 Dave Airlie airl...@gmail.com wrote: Hm, a total removal would at least make me and my users rather unhappy atm., as without glamor no hw accel at all on = maxwell. modesetting and nouveau are not on par feature-wise atm. E.g., modesetting as of the next

Re: [Nouveau] [PATCH] Add Option DRI3 to allow to disable DRI3 under EXA.

2015-07-24 Thread Ilia Mirkin
Here's an example of what happens with DRI3: https://bugs.freedesktop.org/show_bug.cgi?id=91445 I'm not equipped to figure out why. On Mon, Jul 13, 2015 at 11:43 PM, Mario Kleiner mario.kleiner...@gmail.com wrote: On 07/07/2015 09:51 PM, Ilia Mirkin wrote: Lastly, from some discussions with

Re: [Nouveau] [PATCH] Add Option DRI3 to allow to disable DRI3 under EXA.

2015-07-21 Thread Dave Airlie
On 19 July 2015 at 18:34, Mario Kleiner mario.kleiner...@gmail.com wrote: On 07/18/2015 01:09 PM, Dave Airlie wrote: We can disable it by default on exa - intel and amd/radeon drivers also disable by default. However, on gpus = maxwell only glamor accel is supported and glamor on nouveau is

Re: [Nouveau] [PATCH] Add Option DRI3 to allow to disable DRI3 under EXA.

2015-07-19 Thread Mario Kleiner
On 07/18/2015 01:09 PM, Dave Airlie wrote: We can disable it by default on exa - intel and amd/radeon drivers also disable by default. However, on gpus = maxwell only glamor accel is supported and glamor on nouveau is either dri3/present or no hw accel at all afaics. You probably saw my

Re: [Nouveau] [PATCH] Add Option DRI3 to allow to disable DRI3 under EXA.

2015-07-18 Thread Dave Airlie
We can disable it by default on exa - intel and amd/radeon drivers also disable by default. However, on gpus = maxwell only glamor accel is supported and glamor on nouveau is either dri3/present or no hw accel at all afaics. You probably saw my patches to just remove glamor from nouveau

Re: [Nouveau] [PATCH] Add Option DRI3 to allow to disable DRI3 under EXA.

2015-07-14 Thread Ilia Mirkin
On Mon, Jul 13, 2015 at 11:43 PM, Mario Kleiner mario.kleiner...@gmail.com wrote: On 07/07/2015 09:51 PM, Ilia Mirkin wrote: Lastly, from some discussions with ajax on IRC, it appears that DRI3 is half-baked at best wrt sync between server and client. I think we should just disable it by

Re: [Nouveau] [PATCH] Add Option DRI3 to allow to disable DRI3 under EXA.

2015-07-14 Thread Ilia Mirkin
On Tue, Jul 14, 2015 at 3:00 PM, Mario Kleiner mario.kleiner...@gmail.com wrote: On 07/14/2015 05:26 PM, Ilia Mirkin wrote: On Mon, Jul 13, 2015 at 11:43 PM, Mario Kleiner mario.kleiner...@gmail.com wrote: On 07/07/2015 09:51 PM, Ilia Mirkin wrote: Lastly, from some discussions with ajax

Re: [Nouveau] [PATCH] Add Option DRI3 to allow to disable DRI3 under EXA.

2015-07-14 Thread Mario Kleiner
On 07/14/2015 05:26 PM, Ilia Mirkin wrote: On Mon, Jul 13, 2015 at 11:43 PM, Mario Kleiner mario.kleiner...@gmail.com wrote: On 07/07/2015 09:51 PM, Ilia Mirkin wrote: Lastly, from some discussions with ajax on IRC, it appears that DRI3 is half-baked at best wrt sync between server and

Re: [Nouveau] [PATCH] Add Option DRI3 to allow to disable DRI3 under EXA.

2015-07-13 Thread Mario Kleiner
On 07/07/2015 09:51 PM, Ilia Mirkin wrote: Lastly, from some discussions with ajax on IRC, it appears that DRI3 is half-baked at best wrt sync between server and client. I think we should just disable it by default for now, until issues are ironed out. (Rather than what this patch has, which is

Re: [Nouveau] [PATCH] Add Option DRI3 to allow to disable DRI3 under EXA.

2015-07-07 Thread Ilia Mirkin
Lastly, from some discussions with ajax on IRC, it appears that DRI3 is half-baked at best wrt sync between server and client. I think we should just disable it by default for now, until issues are ironed out. (Rather than what this patch has, which is default-on for Xorg some version.) On Sat,

Re: [Nouveau] [PATCH] Add Option DRI3 to allow to disable DRI3 under EXA.

2015-07-04 Thread Emil Velikov
The DRI option with the intel ddx can be used to indicate the following - whether dri is disabled - the dri version - dri1, dri2, dri3 - the dri module name - doo_dri.so bar_dri.so I'm not sure how exactly it's supposed to work/works, and I believe most of that is due to legacy reasons. I'm

Re: [Nouveau] [PATCH] Add Option DRI3 to allow to disable DRI3 under EXA.

2015-07-04 Thread Ilia Mirkin
Erm, that's nuts. I also don't really understand what they're talking about there... i915g vs i915? Anyways, I just meant the version numbers :) On Sat, Jul 4, 2015 at 2:23 PM, Emil Velikov emil.l.veli...@gmail.com wrote: That would be great, as long as it does only that and does not go into

Re: [Nouveau] [PATCH] Add Option DRI3 to allow to disable DRI3 under EXA.

2015-07-04 Thread Emil Velikov
That would be great, as long as it does only that and does not go into the drivername territory. As the said driver ;-) A driver name to use can be provided instead of simple boolean value, which will be passed to the GL implementation for it to load the appropriate backend. -Emil On 4 July

Re: [Nouveau] [PATCH] Add Option DRI3 to allow to disable DRI3 under EXA.

2015-07-04 Thread Ilia Mirkin
IMO it'd be nice to keep this compatible with the intel driver, which has a DRI option, which can take the values 1, 2, 3. Obviously for nouveau, 1 makes no sense as that was dropped quite some time ago. See http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/tree/man/intel.man#n68 On Mon,

Re: [Nouveau] [PATCH] Add Option DRI3 to allow to disable DRI3 under EXA.

2015-06-30 Thread Martin Peres
On 30/06/2015 06:30, Mario Kleiner wrote: X-Server versions older than 1.16.3 have bugs in their DRI3/Present implementation which impair nouveau, so it is better to stick to good old DRI2 by default on such servers. E.g., page flipping doesn't work at all under DRI3/Present with older servers,