From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 98239] saints row 3: performance is limited by flushes
Date: Fri, 09 Dec 2016 19:08:12 +0000 [thread overview]
Message-ID: <bug-98239-502-2pbNl2tXVB@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-98239-502@http.bugs.freedesktop.org/>
[-- Attachment #1.1: Type: text/plain, Size: 1919 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98239
--- Comment #4 from almos <aaalmosss@gmail.com> ---
(In reply to Marek Olšák from comment #3)
> Things to try:
>
> 1) You can try increasing the IB size in radeon_drm_cs.h:
> struct radeon_cs_context {
> uint32_t buf[16 * 1024]; // HERE
>
> 2) Add buffer-wait-time to the HUD and see if it corresponds with the
> flushes.
I tried it with 4x larger buf. The flushes are reduced to 4-5 instead of around
15, but the performance and gpu-load remained mostly the same. It feels a bit
smoother, and the fps seems more consistent, but I didn't compare it
thoroughly. It seems the flush count is not a cause, but a symptom.
With 8x larger buf all textures are missing.
I also tried to monitor other data sources (e.g. dma), but nothing seems to be
as correlated with the fps as the gpu-load is. The buffer-wait-time somewhat
resembles, but not always.
BTW sr3 produces other interesting things, for example when starting up I get
15fps in the main menu, but after loading a game, and exiting to the main menu
I get 120fps.
I also checked other games for gpu-load, and here are the results (none of them
are cpu-bound):
- furmark: 100% load, fps 105-115 sinusoid (its period is different from the
rotation of the doughnut, might be worth checking this out)
- amnesia: solid 60fps regardless of the vsync setting, load is 20-30%
- heaven 4: the load is 80-100% perfectly correlated to fps
- quake wars: base fps is 30, jumping to higher numbers with high frequency (on
windows I get rock solid 60fps), load is 20-30%
- doom 3: fps is usually 55-60, in some areas it drops to 40 (should be rock
solid 60), while the load is 8-11% uncorrelated to fps
- tf2: fps has huge variance between 40-140, load is 30-60% correlated to fps
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2780 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2016-12-09 19:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-13 21:59 [Bug 98239] saints row 3: performance is limited by flushes bugzilla-daemon
2016-11-25 11:14 ` bugzilla-daemon
2016-11-25 20:06 ` bugzilla-daemon
2016-11-26 13:51 ` bugzilla-daemon
2016-12-09 19:08 ` bugzilla-daemon [this message]
2016-12-09 19:11 ` bugzilla-daemon
2016-12-09 19:24 ` bugzilla-daemon
2016-12-10 0:44 ` bugzilla-daemon
2017-03-12 13:24 ` bugzilla-daemon
2017-07-26 20:45 ` bugzilla-daemon
2017-07-26 21:31 ` bugzilla-daemon
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=bug-98239-502-2pbNl2tXVB@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox