From: bugzilla-daemon@freedesktop.org Subject: [Bug 84663] high cpu usage, poor performance in Borderlands 2 with radeonsi, PRIME Date: Mon, 06 Oct 2014 11:48:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1069602374==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2B3FA892B7 for ; Mon, 6 Oct 2014 04:48:17 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1069602374== Content-Type: multipart/alternative; boundary="1412596097.Bc83AC70.28848"; charset="UTF-8" --1412596097.Bc83AC70.28848 Date: Mon, 6 Oct 2014 11:48:17 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D84663 Christoph Haag changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #107328|0 |1 is obsolete| | --- Comment #2 from Christoph Haag --- Created attachment 107418 --> https://bugs.freedesktop.org/attachment.cgi?id=3D107418&action=3Dedit sysprof (In reply to Michel D=C3=A4nzer from comment #1) > (In reply to Christoph Haag from comment #0) > > sysprof recording from borderlands 2 only >=20 > Can you create another profile including all processes? >=20 > BTW, if you can make sure that at least Mesa and libdrm are compiled with > -fno-omit-frame-pointer (after any other compiler flags implying > -fomit-frame-pointer, such as -O), that might improve the quality of the > callgraphs in the profile. Ok, so in my first sysprof profile I had mesa compiled with -O0 -ggdb and --enable-debug. That was probably overkill, but it had hardly any effect on perceived performance. Now this is probably more realistic. mesa is *not* compiled with --enable-d= ebug and it *is* compiled with with "-Og -ggdb". Also libdrm is compiled with "-= Og -ggdb". If I'm reading this correctly now it unfortunately looks like Borderlands 2 is consuming most of the CPU time itself now... It's still the same cpu consumption: 112-114% CPU. So far I really have only to go on that my cpu should be good enough to not bottleneck the game this much... --=20 You are receiving this mail because: You are the assignee for the bug. --1412596097.Bc83AC70.28848 Date: Mon, 6 Oct 2014 11:48:17 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <= span class=3D"fn">Christoph Haag changed bug 84663<= /a>
What Removed Added
Attachment #107328 is obsolete   1

Comment= # 2 on bug 84663<= /a> from Christoph Haag
Created attachment 107418 [details]<=
/a>
sysprof

(In reply to Michel D=C3=A4nzer from comment #1)
> (In reply to Christoph Haag from comment #0)
> > sysprof recording from borderlands 2 only
>=20
> Can you create another profile including all processes?
>=20
> BTW, if you can make sure that at least Mesa and libdrm are compiled w=
ith
> -fno-omit-frame-pointer (after any other compiler flags implying
> -fomit-frame-pointer, such as -O), that might improve the quality of t=
he
> callgraphs in the profile.

Ok, so in my first sysprof profile I had mesa compiled with -O0 -ggdb and
--enable-debug. That was probably overkill, but it had hardly any effect on
perceived performance.

Now this is probably more realistic. mesa is *not* compiled with --enable-d=
ebug
and it *is* compiled with with "-Og -ggdb". Also libdrm is compil=
ed with "-Og
-ggdb". If I'm reading this correctly now it unfortunately looks like
Borderlands 2 is consuming most of the CPU time itself now...
It's still the same cpu consumption: 112-114% CPU.

So far I really have only to go on that my cpu should be good enough to not
bottleneck the game this much...


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1412596097.Bc83AC70.28848-- --===============1069602374== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1069602374==--