From: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org>
Cc: "mesa-dev-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org"
<mesa-dev-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>,
"nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org"
<nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
Subject: Re: [PATCH mesa 4/4] nv30: Disable msaa on nv4x because it causes gpu lockups
Date: Fri, 4 Sep 2015 15:14:03 +0200 [thread overview]
Message-ID: <55E9991B.7080702@redhat.com> (raw)
In-Reply-To: <CAKb7Uvhh3rcLa2f4vMi19=SagnKtQhh+wzJYrZALA2EF5o8V2Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Hi,
On 03-09-15 19:33, Ilia Mirkin wrote:
> On Thu, Sep 3, 2015 at 7:25 AM, Hans de Goede <hdegoede@redhat.com> wrote:
>> On nv4x with a msaa visual after a while the gpu locks up, attach gdb to
>> impress shows it is hanging waiting for a fence which never comes.
>>
>> Killing ooimpress at this point works exactly once, trying to do any
>> 3d operations after killing impress will lockup the entire system.
>>
>> This needs further investigation, but for now disable msaa because no
>> msaa is better then crashing the system.
>
> That's an argument I'm willing to live with -- can you generate such a
> patch without your previous patch?
>
> However if we do this, this is basically saying that MSAA will never
> work on nv3x/nv4x, since it's unlikely that anyone will look further
> into it. It'd be nice to put a little effort in first to make sure
> there isn't something simple we can fix.
My plan was for me to commit to at least taking a serious attempt
at fixing this, see my mail in the "nv3x libreoffice impress opengl
animations not working" thread.
In the mean time I think it would be good to have a patch such as this
one upstream, so that things will just work for nv30 family users and
we can also Cc such a patch to
"10.6 11.0" <mesa-stable@lists.freedesktop.org>
Where as the fix may not be suitable for stable.
Regards,
Hans
>
>>
>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>> ---
>> src/gallium/drivers/nouveau/nv30/nv30_screen.c | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/src/gallium/drivers/nouveau/nv30/nv30_screen.c b/src/gallium/drivers/nouveau/nv30/nv30_screen.c
>> index 69acc38..57262b8 100644
>> --- a/src/gallium/drivers/nouveau/nv30/nv30_screen.c
>> +++ b/src/gallium/drivers/nouveau/nv30/nv30_screen.c
>> @@ -321,7 +321,8 @@ nv30_screen_is_format_supported(struct pipe_screen *pscreen,
>> {
>> struct nv30_screen *screen = nv30_screen(pscreen);
>>
>> - if (screen->eng3d->oclass >= NV40_3D_CLASS) {
>> + /* MSAA visuals work somwhat on nv4x, but cause gpu lockups */
>> + if (0 && screen->eng3d->oclass >= NV40_3D_CLASS) {
>> if (sample_count > 4)
>> return false;
>> } else {
>> --
>> 2.4.3
>>
>> _______________________________________________
>> 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
next prev parent reply other threads:[~2015-09-04 13:14 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-03 11:25 [PATCH mesa 0/4] nv30: Various fixes Hans de Goede
[not found] ` <1441279509-7147-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-09-03 11:25 ` [PATCH mesa 1/4] nv30: Fix creation of scanout buffers Hans de Goede
2015-09-03 17:23 ` [Nouveau] " Ilia Mirkin
2015-09-03 11:25 ` [PATCH mesa 2/4] nv30: Implement color resolve for msaa Hans de Goede
[not found] ` <1441279509-7147-3-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-09-03 17:29 ` Ilia Mirkin
2015-09-03 11:25 ` [PATCH mesa 3/4] nv30: Do not export msaa capabable visuals on nv3x Hans de Goede
[not found] ` <1441279509-7147-4-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-09-03 17:32 ` Ilia Mirkin
[not found] ` <CAKb7UvjSMb_c8yYwERbmN0Gkk9DkcmtetRAakZXg16PRtwt7KQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-09-04 13:10 ` Hans de Goede
[not found] ` <55E99847.70707-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-09-04 17:09 ` Ilia Mirkin
2015-09-03 11:25 ` [PATCH mesa 4/4] nv30: Disable msaa on nv4x because it causes gpu lockups Hans de Goede
[not found] ` <1441279509-7147-5-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-09-03 17:33 ` Ilia Mirkin
[not found] ` <CAKb7Uvhh3rcLa2f4vMi19=SagnKtQhh+wzJYrZALA2EF5o8V2Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-09-04 13:14 ` Hans de Goede [this message]
2015-09-03 17:14 ` [PATCH mesa 0/4] nv30: Various fixes Ilia Mirkin
2015-09-04 12:44 ` [Nouveau] " Hans de Goede
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55E9991B.7080702@redhat.com \
--to=hdegoede-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org \
--cc=mesa-dev-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.