Ben, Looks like the reality is that glamor is just not hooked up properly in the nouveau DDX. Mainly it's missing DRI2, which in turn means no core GL contexts, and probably lots of other issues. While this could probably be fixed somehow, I doubt there's any advantage to using the nouveau DDX over something like modesetting nowadays. How would you feel about dropping glamor support from the nouveau ddx and failing to load for GPUs that don't have EXA support (unless AccelMode = none is forced for them). That way it'll fall back to loading modesetting which should be properly set up for DRI2 and so on. Cheers, -ilia
On 8 July 2015 at 06:06, Ilia Mirkin <imirkin at alum.mit.edu> wrote:> Ben, > > Looks like the reality is that glamor is just not hooked up properly > in the nouveau DDX. Mainly it's missing DRI2, which in turn means no > core GL contexts, and probably lots of other issues. While this could > probably be fixed somehow, I doubt there's any advantage to using the > nouveau DDX over something like modesetting nowadays. > > How would you feel about dropping glamor support from the nouveau ddx > and failing to load for GPUs that don't have EXA support (unless > AccelMode = none is forced for them). That way it'll fall back to > loading modesetting which should be properly set up for DRI2 and so > on.I have no objections to this. In fact, in Fedora at least (I floated the idea in #nouveau a while back too), in the near future I plan on having the DDX fail to load on all GPUs where modesetting+glamor can be used (unless overridden by a config option). So, this seems like a good step towards that goal. Ben.> > Cheers, > > -ilia > _______________________________________________ > Nouveau mailing list > Nouveau at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/nouveau
On Tue, Jul 7, 2015 at 5:05 PM, Ben Skeggs <skeggsb at gmail.com> wrote:> On 8 July 2015 at 06:06, Ilia Mirkin <imirkin at alum.mit.edu> wrote: >> Ben, >> >> Looks like the reality is that glamor is just not hooked up properly >> in the nouveau DDX. Mainly it's missing DRI2, which in turn means no >> core GL contexts, and probably lots of other issues. While this could >> probably be fixed somehow, I doubt there's any advantage to using the >> nouveau DDX over something like modesetting nowadays. >> >> How would you feel about dropping glamor support from the nouveau ddx >> and failing to load for GPUs that don't have EXA support (unless >> AccelMode = none is forced for them). That way it'll fall back to >> loading modesetting which should be properly set up for DRI2 and so >> on. > I have no objections to this. In fact, in Fedora at least (I floated > the idea in #nouveau a while back too), in the near future I plan on > having the DDX fail to load on all GPUs where modesetting+glamor can > be used (unless overridden by a config option).IMHO that's a little strong (I assume you mean nv50+ here?). In fact I'm planning to complete my Maxwell EXA impl. The current reality is that modesetting+glamor doesn't render correctly at least on maxwell, but possibly others as well. The EXA paths are very well tested and are stable. I think not relying on mesa in the DDX is a nice advantage too. -ilia
On 07.07.2015 23:05, Ben Skeggs wrote:> On 8 July 2015 at 06:06, Ilia Mirkin <imirkin at alum.mit.edu> wrote: >> Ben, >> >> Looks like the reality is that glamor is just not hooked up properly >> in the nouveau DDX. Mainly it's missing DRI2, which in turn means no >> core GL contexts, and probably lots of other issues. While this could >> probably be fixed somehow, I doubt there's any advantage to using the >> nouveau DDX over something like modesetting nowadays. >> >> How would you feel about dropping glamor support from the nouveau ddx >> and failing to load for GPUs that don't have EXA support (unless >> AccelMode = none is forced for them). That way it'll fall back to >> loading modesetting which should be properly set up for DRI2 and so >> on. > I have no objections to this. In fact, in Fedora at least (I floated > the idea in #nouveau a while back too), in the near future I plan on > having the DDX fail to load on all GPUs where modesetting+glamor can > be used (unless overridden by a config option). >Shouldn't the priority always be what is proven to work. NV50 works OK with the EXA. Besides, can it be set "color vibrance", "vibrant hue" and other props via "modeset"? When people get hit by sunstroke, a real summer has begun.
Possibly Parallel Threads
- RFC: drop glamor from nouveau ddx
- [PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
- [PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
- [PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
- nouveau: DRM: GPU lockup - switching to software fbcon