<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:apinheiro@igalia.com" title="Alejandro Piñeiro (freenode IRC: apinheiro) <apinheiro@igalia.com>"> <span class="fn">Alejandro Piñeiro (freenode IRC: apinheiro)</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [IVB/HSW/BYT-M/BDW] GpuTest_v0.5_triangle performance slower by 10%~50% in fullscreen than in windowed & composited mode"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80705">bug 80705</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;">CC</td>
           <td>
                
           </td>
           <td>apinheiro@igalia.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [IVB/HSW/BYT-M/BDW] GpuTest_v0.5_triangle performance slower by 10%~50% in fullscreen than in windowed & composited mode"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80705#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [IVB/HSW/BYT-M/BDW] GpuTest_v0.5_triangle performance slower by 10%~50% in fullscreen than in windowed & composited mode"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80705">bug 80705</a>
              from <span class="vcard"><a class="email" href="mailto:apinheiro@igalia.com" title="Alejandro Piñeiro (freenode IRC: apinheiro) <apinheiro@igalia.com>"> <span class="fn">Alejandro Piñeiro (freenode IRC: apinheiro)</span></a>
</span></b>
        <pre>(In reply to Eero Tamminen from <a href="show_bug.cgi?id=80705#c5">comment #5</a>)
<span class="quote">> (In reply to Alejandro Piñeiro (freenode IRC: apinheiro) from <a href="show_bug.cgi?id=80705#c4">comment #4</a>)
> > (In reply to zhoujian from <a href="show_bug.cgi?id=80705#c0">comment #0</a>)
> > > FYI: In an unrelated test it was noticed that with DRI3, X still does
> > > occasionally Vsync wait although test had zeroed swap interval.
> ...
> > If Vsync were happening with fullscreen, the FPS (that is the measure of
> > performance in this test) would be equal to the refresh rate. So for
> > example, in my case 60FPS.

> Only if it happens for every frame.  Year ago, when Vsync was disabled with
> *DRI3*, I was seeing some tests being synched to 120 or 180 FPS i.e. every
> second or third frame.</span >

Ok. In any case setting LIBGL_DEBUG to verbose I got this:
libGL: Using DRI2 for screen 0

So, as I mentioned this is also happening on DRI2.

<span class="quote">> > But that is not the case, but ~360 FPS.
> >
> > curious thing is that it doesn't matter the resolution, on fullscreen the
> > FPS are always 360FPS.

> This is multiple of 60FPS, and it not changing sounds like some of the
> frames were still synched.  I would suggest checking frame timings for
> individual frames to see whether this is the case.</span >

Doing more tests: my previous numbers were on a gnome-session with metacity. On
a gnome-session with gnome-shell, or without compositor (ctrl+alt+fX, xinit) I
get similar outcome for windowed (slightly better) but tied to a little more of
790fps for the fullscreen case in any resolution.

<span class="quote">> 
> > But on windowed I detected ~380 for 1920x1280, ~860
> > for 1280x720 and so on.

> I haven't seen DRI3 sync-when-vsync-disabled issue in Windowed tests.</span >

Ok.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>