<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Borderlands 2: Constant frame rate drops while playing; really bad with additionl lighting"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84570#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Borderlands 2: Constant frame rate drops while playing; really bad with additionl lighting"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84570">bug 84570</a>
              from <span class="vcard"><a class="email" href="mailto:kai@dev.carbon-project.org" title="Kai <kai@dev.carbon-project.org>"> <span class="fn">Kai</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=107417" name="attach_107417" title="Screenshot with GALLIUM_HUD=fps showing FPS drops (DynamicLights=false)">attachment 107417</a> <a href="attachment.cgi?id=107417&action=edit" title="Screenshot with GALLIUM_HUD=fps showing FPS drops (DynamicLights=false)">[details]</a></span>
Screenshot with GALLIUM_HUD=fps showing FPS drops (DynamicLights=false)

(In reply to Tapani Pälli from <a href="show_bug.cgi?id=84570#c3">comment #3</a>)
<span class="quote">> For Intel, you can try to run game with environment variable
> 'INTEL_DEBUG=perf' to see some hints what might be going on, as example you
> can see if shader recompilation happens and lots of other useful
> information. A log output from that and apitrace would be the most ideal to
> start debugging this.</span >

I can't do the INTEL_DEBUG part, since I've got a Radeon GPU, but I did make an
Apitrace (without DynamicLights). That is however 1.5 GB in size and the
apitrace trim command is now running for > 20 minutes (I checked with qapitrace
which frames are outside the menu and passed that with --frames=<START>-<END>
to apitrace trim). Is there a way to get a reasonably sized chunk, that would
help you, in a speedier manner? Otherwise, this might take a bit longer,
especially since I guess you'll want an Apitrace with DynamicLights as well.

In the meantime, I've attached a screenshot, which shows the framerate drops.
It seems to get worse, the longer you play, but that might just be imagination.
The screenshot is scaled down from my native resolution, because the bug
tracker won't allow the larger file.</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>