<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:haagch@frickel.club" title="Christoph Haag <haagch@frickel.club>"> <span class="fn">Christoph Haag</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - high cpu usage, poor performance in Borderlands 2 with radeonsi, PRIME"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84663">bug 84663</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Attachment #107328 is obsolete</td>
           <td>
                
           </td>
           <td>1
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - high cpu usage, poor performance in Borderlands 2 with radeonsi, PRIME"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84663#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - high cpu usage, poor performance in Borderlands 2 with radeonsi, PRIME"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84663">bug 84663</a>
              from <span class="vcard"><a class="email" href="mailto:haagch@frickel.club" title="Christoph Haag <haagch@frickel.club>"> <span class="fn">Christoph Haag</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=107418" name="attach_107418" title="sysprof">attachment 107418</a> <a href="attachment.cgi?id=107418&action=edit" title="sysprof">[details]</a></span>
sysprof

(In reply to Michel Dänzer from <a href="show_bug.cgi?id=84663#c1">comment #1</a>)
<span class="quote">> (In reply to Christoph Haag from <a href="show_bug.cgi?id=84663#c0">comment #0</a>)
> > sysprof recording from borderlands 2 only

> Can you create another profile including all processes?

> 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.</span >

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-debug
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...</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>