From: Lucas Stach <l.stach@pengutronix.de>
To: Fabio Estevam <festevam@gmail.com>
Cc: Sascha Hauer <kernel@pengutronix.de>,
"Wladimir J. van der Laan" <laanwj@gmail.com>,
The etnaviv authors <etnaviv@lists.freedesktop.org>,
DRI mailing list <dri-devel@lists.freedesktop.org>
Subject: Re: Etnaviv crashes on glmark2
Date: Wed, 23 Aug 2017 10:19:19 +0200 [thread overview]
Message-ID: <1503476359.2303.39.camel@pengutronix.de> (raw)
In-Reply-To: <CAOMZO5APYdGn_JgjFXFbCFhtchZHudrqPeMBvg8g80bO29LgJg@mail.gmail.com>
Am Dienstag, den 22.08.2017, 12:59 -0300 schrieb Fabio Estevam:
> On Tue, Aug 22, 2017 at 9:47 AM, Fabio Estevam <festevam@gmail.com> wrote:
> > Hi,
> >
> > I am running kernel 4.12.8 and mesa 17.1.6 on a imx6q, but glmark2
> > never runs successfully until the end. It always crashes like this:
> >
> > ** Failed to set swap interval. Results may be bounded above by refresh rate.
> > [conditionals] fragment-steps=0:vertex-steps=0: FPS: 63 FrameTime: 15.873 ms
> > [ 288.732107] Unable to handle kernel paging request at virtual
> > address 00e71a74
> > [ 288.739394] pgd = ee52c000
> > [ 288.742115] [00e71a74] *pgd=00000000
> > [ 288.745782] Internal error: Oops: 5 [#1] SMP ARM
> > [ 288.750409] Modules linked in:
> > [ 288.753481] CPU: 0 PID: 221 Comm: glmark2-es2-drm Not tainted 4.12.8 #1
> > [ 288.760101] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
> > [ 288.766635] task: ee420c40 task.stack: ee4f0000
> > [ 288.771181] PC is at page_mapping+0xc/0xa4
> > [ 288.775291] LR is at set_page_dirty+0x14/0xc8
>
> If I use the generic drm_gem_cma_free_object() function instead the
> error does not happen anymore:
> https://pastebin.com/edx37jNG
>
> Not sure if this is a valid fix though. Any comments?
Etnaviv isn't CMA based, so this is certainly not a valid fix. It
probably doesn't crash anymore, as it isn't properly freeing the pages
backing the GEM object.
I've seen this crash in the early days of etnaviv a few times, but it
hasn't happened to me in a long time.
Regards,
Lucas
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2017-08-23 8:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-22 12:47 Etnaviv crashes on glmark2 Fabio Estevam
2017-08-22 15:59 ` Fabio Estevam
2017-08-23 8:19 ` Lucas Stach [this message]
2017-08-23 8:46 ` Wladimir J. van der Laan
2017-08-23 12:06 ` Lucas Stach
2017-08-23 13:13 ` Fabio Estevam
2017-08-25 13:00 ` Fabio Estevam
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=1503476359.2303.39.camel@pengutronix.de \
--to=l.stach@pengutronix.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=etnaviv@lists.freedesktop.org \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=laanwj@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox