All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 84663] New: high cpu usage, poor performance in Borderlands 2 with radeonsi, PRIME
@ 2014-10-04 15:19 bugzilla-daemon
  2014-10-06  8:41 ` [Bug 84663] " bugzilla-daemon
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: bugzilla-daemon @ 2014-10-04 15:19 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 2495 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=84663

            Bug ID: 84663
           Summary: high cpu usage, poor performance in Borderlands 2 with
                    radeonsi, PRIME
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: haagch@frickel.club

Created attachment 107328
  --> https://bugs.freedesktop.org/attachment.cgi?id=107328&action=edit
sysprof recording from borderlands 2 only

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor
Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Wimbledon XT [Radeon HD 7970M] (rev ff)

xorg stable, mesa git, linux 3.17-rc7.

I have had something similar in some games I think, but most recently with
Borderlands 2.

Here is a random screenshot with the HUD fps display from someone with a HD
7870 that shows that it runs mostly with 60 fps:
https://i.imgur.com/qH0sBkl.jpg

And here is a short clip of how it runs for me that shows it runs with 20-30
fps: https://www.youtube.com/watch?v=ZeZreRntt3k
Radeontop says that the gpu is only used to ~30%.
While running Borderlands 2 the CPU usage is always at 100+% on my i7 3632qm.


I was undecided whether to report this here, but the difference is quite large
so I thought I'd give it a try because I think the game itself is not supposed
to use this much cpu time, so maybe it has something to do with the driver.

Theories:

< glennk> guessing from that output that the game engine uses a lot of
occlusion queries and is stalling on them

I haven't really found anything to test that yet.

< agd5f> haagch, hybrid laptops have to do a lot of extra copying to get the
frame from the rendering GPU to the display GPU

I hope that the overhead is not *that* large because losing 70+% of gpu time
would make it kind of useless for the affected games.

Fortunately many (most?) games run much better, for example unigine valley
shows good gpu usage: https://www.youtube.com/watch?v=sLWvYJlfvWM
which makes me believe that there is a specific bottleneck.

Attached is a sysprof profile of borderlands 2 but I don't know which of it is
normal (like 25% total cpu time for glDrawRangeElements?).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 4074 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-03-13 20:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-04 15:19 [Bug 84663] New: high cpu usage, poor performance in Borderlands 2 with radeonsi, PRIME bugzilla-daemon
2014-10-06  8:41 ` [Bug 84663] " bugzilla-daemon
2014-10-06 11:48 ` bugzilla-daemon
2014-10-07  1:58 ` bugzilla-daemon
2014-10-07 11:04 ` bugzilla-daemon
2014-10-08  2:50 ` bugzilla-daemon
2014-10-09  7:54 ` bugzilla-daemon
2014-10-10  2:41 ` bugzilla-daemon
2014-10-10 13:46 ` bugzilla-daemon
2014-11-10 15:21 ` bugzilla-daemon
2017-03-12 11:11 ` bugzilla-daemon
2017-03-13 20:04 ` bugzilla-daemon

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.