<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Corrupted frame contents with Vulkan version of DOTA2, Talos Principle and Sascha Willems' demos when they're run Vsynched in fullscreen"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99507#c19">Comment # 19</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Corrupted frame contents with Vulkan version of DOTA2, Talos Principle and Sascha Willems' demos when they're run Vsynched in fullscreen"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99507">bug 99507</a>
              from <span class="vcard"><a class="email" href="mailto:eero.t.tamminen@intel.com" title="Eero Tamminen <eero.t.tamminen@intel.com>"> <span class="fn">Eero Tamminen</span></a>
</span></b>
        <pre>(In reply to Denis from <a href="show_bug.cgi?id=99507#c17">comment #17</a>)
<span class="quote">> I am trying to reproduce this with Dota2 now. Also I checked raytracing app:

> ./raytracing --fullscreen --vsync</span >

Correct option for Vsync in these demos is "-vsync", see:
 
<a href="https://github.com/SaschaWillems/Vulkan/blob/master/base/vulkanexamplebase.cpp#L673">https://github.com/SaschaWillems/Vulkan/blob/master/base/vulkanexamplebase.cpp#L673</a>

FYI: option parsing in these demos is *really* broken, see:
  <a href="https://github.com/SaschaWillems/Vulkan/issues/468">https://github.com/SaschaWillems/Vulkan/issues/468</a>

(Feel free the send Sacha a patch to fix it... You could get part of it from
this old comment:
<a href="https://github.com/SaschaWillems/Vulkan/issues/269#issuecomment-276947651">https://github.com/SaschaWillems/Vulkan/issues/269#issuecomment-276947651</a>)


<span class="quote">> It works fine for me on:

> OpenGL: renderer: Mesa DRI Intel HD Graphics 620 (Kaby Lake GT2)
>   v: 4.5 Mesa 18.3.0-develgit-3a9f628
> vulkaninfo | grep 'apiVersion'
>    apiVersion     = 0x401050  (1.1.80)
> 4.17.0-041700-generic
> Ubuntu 16.04</span >

Before concluding it working, please make sure that:
* Program is really Vsynched (FPS equals monitor refresh rate)
* Demo window is NOT composited


<span class="quote">> I don't see any artifacts. Could you please check it also?</span >

Yes, and it's *much* more visible and worse than when I reported this.  Much
more visible also in other demos I tested (except for Triangle).

One reason for this could be that I'm running it now with X server git version
where I've enabled modifier support (-> end-to-end render buffer compression).</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>