From: "João Paulo Gonçalves" <jpaulo.silvagoncalves@gmail.com>
To: Lucas Stach <l.stach@pengutronix.de>
Cc: etnaviv@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
mesa-dev@lists.freedesktop.org, Marek Vasut <marex@denx.de>,
Russell King <linux+etnaviv@armlinux.org.uk>,
Christian Gmeiner <christian.gmeiner@gmail.com>,
Philipp Zabel <p.zabel@pengutronix.de>,
joao.goncalves@toradex.com
Subject: Re: NXP i.MX8MM GPU performances
Date: Wed, 8 May 2024 11:32:52 -0300 [thread overview]
Message-ID: <20240508143252.kacr3fmrhcx4jkjn@joaog-nb> (raw)
In-Reply-To: <3ac1eadc86772deb12af77e890b2a59a34fa847a.camel@pengutronix.de>
Hi Lucas,
On Wed, May 08, 2024 at 10:16:24AM +0200, Lucas Stach wrote:
> That's a problem. This will prevent TS from being used, which has a
> large performance impact. But it shouldn't be necessary to disable it
> on the i.MX8MM GPU, as all memory accesses aside from the initial MMU
> commandstream go through MMU translation, so the issue with MC1.0 will
> not be hit. Can you try patching out the check in the kernel and see if
> it helps?
>
> I'll also send a proper patch for this.
I patched the kernel and enabled TS. The performance improved slightly,
but it still seems lower than the NXP driver. Here are some of the
results:
In screen (weston + DSI) test results:
glmark2 command:
glmark2-es2-wayland -b shading:duration=5.0 -b refract -b build -b texture -b shadow -b bump -s 640x480 2>&1
| | glmark2 tests |
| sw ver |shading|build|texture|refract|shadow|bump|
|-----------------|-------|-----|-------|-------|------|----|
| etnaviv (no TS) | 263 | 334 | 291 | 22 | 63 | 328|
| etnaviv | 340 | 549 | 460 | 18 | 84 | 560|
| vivante | 544 | 956 | 790 | 26 | 225 | 894|
Enabling TS, etnaviv scores improved by around 30-60% compared to
when it is disabled. However, it still remains approximately 40% lower
than galcore.
Offscreen test results:
glmark2 command:
glmark2-es2-wayland --off-screen -b shading:duration=5.0 -b refract -b build -b texture -b shadow -b bump -s 640x480 2>&1
| | glmark2 tests |
| sw ver |shading|build|texture|refract|shadow|bump|
|-----------------|-------|-----|-------|-------|------|----|
| etnaviv (no TS) | 348 | 541 | 466 | 24 | 81 | 498|
| etnaviv | 434 | 901 | 832 | 19 | 106 | 871|
| vivante | 544 | 956 | 790 | 26 | 225 | 894|
With TS enabled, offscreen scores improved considerably in some
individual benchmarks.
Regards,
João Paulo
next prev parent reply other threads:[~2024-05-08 14:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-07 18:17 NXP i.MX8MM GPU performances João Paulo Gonçalves
2024-05-08 8:16 ` Lucas Stach
2024-05-08 14:32 ` João Paulo Gonçalves [this message]
2024-05-10 12:49 ` João Paulo Gonçalves
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=20240508143252.kacr3fmrhcx4jkjn@joaog-nb \
--to=jpaulo.silvagoncalves@gmail.com \
--cc=christian.gmeiner@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=etnaviv@lists.freedesktop.org \
--cc=joao.goncalves@toradex.com \
--cc=l.stach@pengutronix.de \
--cc=linux+etnaviv@armlinux.org.uk \
--cc=marex@denx.de \
--cc=mesa-dev@lists.freedesktop.org \
--cc=p.zabel@pengutronix.de \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).