* RFC: drop glamor from nouveau ddx
@ 2015-07-07 20:06 Ilia Mirkin
[not found] ` <CAKb7UvgFKDgy9nJO7c8bLLPnGNM_ZbyrRrkc_AcNd4-=-7y=qA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Ilia Mirkin @ 2015-07-07 20:06 UTC (permalink / raw)
To: Ben Skeggs,
nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
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
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RFC: drop glamor from nouveau ddx
[not found] ` <CAKb7UvgFKDgy9nJO7c8bLLPnGNM_ZbyrRrkc_AcNd4-=-7y=qA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-07-07 21:05 ` Ben Skeggs
[not found] ` <CACAvsv5Qc9zfsYyhhCn1_=ZfS3Keb03XyirhUqO8mwEymRQp6Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Ben Skeggs @ 2015-07-07 21:05 UTC (permalink / raw)
To: Ilia Mirkin
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
Ben Skeggs
On 8 July 2015 at 06:06, Ilia Mirkin <imirkin@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@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nouveau
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RFC: drop glamor from nouveau ddx
[not found] ` <CACAvsv5Qc9zfsYyhhCn1_=ZfS3Keb03XyirhUqO8mwEymRQp6Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-07-07 21:09 ` Ilia Mirkin
[not found] ` <CAKb7UvgdYAjVs8rBBC_hv1mJMSgvQzzoZDgtagDAi6K0XC7AmQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-08 7:18 ` poma
1 sibling, 1 reply; 6+ messages in thread
From: Ilia Mirkin @ 2015-07-07 21:09 UTC (permalink / raw)
To: Ben Skeggs
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
Ben Skeggs
On Tue, Jul 7, 2015 at 5:05 PM, Ben Skeggs <skeggsb@gmail.com> wrote:
> On 8 July 2015 at 06:06, Ilia Mirkin <imirkin@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
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RFC: drop glamor from nouveau ddx
[not found] ` <CAKb7UvgdYAjVs8rBBC_hv1mJMSgvQzzoZDgtagDAi6K0XC7AmQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-07-07 21:16 ` Ben Skeggs
[not found] ` <CACAvsv4pE0Z6XDw18HveERzir0JUaToU_2Di0bpMAczaJhUi+w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Ben Skeggs @ 2015-07-07 21:16 UTC (permalink / raw)
To: Ilia Mirkin
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
Ben Skeggs
On 8 July 2015 at 07:09, Ilia Mirkin <imirkin@alum.mit.edu> wrote:
> On Tue, Jul 7, 2015 at 5:05 PM, Ben Skeggs <skeggsb@gmail.com> wrote:
>> On 8 July 2015 at 06:06, Ilia Mirkin <imirkin@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.
The reality is that this is what people will be using when the big
switch to wayland by default happens, and the idea is to limit the
number of codepaths we have to care about and maintain. I'm aware
that there are a few rendering issues left in glamor (I'm not sure if
it's glamor, or our 3D driver having some bugs), but we should
probably just fix those :)
I believe Dave plans on doing something similar in Intel/Radeon too.
Ben.
>
> -ilia
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RFC: drop glamor from nouveau ddx
[not found] ` <CACAvsv4pE0Z6XDw18HveERzir0JUaToU_2Di0bpMAczaJhUi+w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-07-07 23:44 ` Ilia Mirkin
0 siblings, 0 replies; 6+ messages in thread
From: Ilia Mirkin @ 2015-07-07 23:44 UTC (permalink / raw)
To: Ben Skeggs
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
Ben Skeggs
On Tue, Jul 7, 2015 at 5:16 PM, Ben Skeggs <skeggsb@gmail.com> wrote:
> On 8 July 2015 at 07:09, Ilia Mirkin <imirkin@alum.mit.edu> wrote:
>> On Tue, Jul 7, 2015 at 5:05 PM, Ben Skeggs <skeggsb@gmail.com> wrote:
>>> On 8 July 2015 at 06:06, Ilia Mirkin <imirkin@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.
> The reality is that this is what people will be using when the big
> switch to wayland by default happens, and the idea is to limit the
> number of codepaths we have to care about and maintain.
Yeah, in 100 years when it actually works :p
> I'm aware
> that there are a few rendering issues left in glamor (I'm not sure if
> it's glamor, or our 3D driver having some bugs), but we should
> probably just fix those :)
I'm all for fixing bugs in the 3D drivers. But until that happens, no
reason that users should suffer. [I also definitely know some people
specially don't have mesa installed so that they get 2d accel but no
3d accel since nouveau can be so hang-y.]
>
> I believe Dave plans on doing something similar in Intel/Radeon too.
I think those kernel drivers tend to be a lot more stable. The nouveau
kernel driver hangs left and right though under any actual 3d load.
And yeah, the "2d" accel is all 3d anyways, but it's a lot less code
and it's been way more tested.
-ilia
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RFC: drop glamor from nouveau ddx
[not found] ` <CACAvsv5Qc9zfsYyhhCn1_=ZfS3Keb03XyirhUqO8mwEymRQp6Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-07 21:09 ` Ilia Mirkin
@ 2015-07-08 7:18 ` poma
1 sibling, 0 replies; 6+ messages in thread
From: poma @ 2015-07-08 7:18 UTC (permalink / raw)
To: Ben Skeggs, Ilia Mirkin
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
Ben Skeggs
On 07.07.2015 23:05, Ben Skeggs wrote:
> On 8 July 2015 at 06:06, Ilia Mirkin <imirkin@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.
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-07-08 7:18 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-07 20:06 RFC: drop glamor from nouveau ddx Ilia Mirkin
[not found] ` <CAKb7UvgFKDgy9nJO7c8bLLPnGNM_ZbyrRrkc_AcNd4-=-7y=qA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-07 21:05 ` Ben Skeggs
[not found] ` <CACAvsv5Qc9zfsYyhhCn1_=ZfS3Keb03XyirhUqO8mwEymRQp6Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-07 21:09 ` Ilia Mirkin
[not found] ` <CAKb7UvgdYAjVs8rBBC_hv1mJMSgvQzzoZDgtagDAi6K0XC7AmQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-07 21:16 ` Ben Skeggs
[not found] ` <CACAvsv4pE0Z6XDw18HveERzir0JUaToU_2Di0bpMAczaJhUi+w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-07 23:44 ` Ilia Mirkin
2015-07-08 7:18 ` poma
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.