<table><tr><td style="">alexeymin added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D23105">View Revision</a></tr></table><br /><div><div><div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">/home/lexx/dev/kde/kwin/plugins/platforms/x11/standalone/glxbackend.cpp: In member function ‘void KWin::GlxBackend::setVsync(bool)’:
/home/lexx/dev/kde/kwin/plugins/platforms/x11/standalone/glxbackend.cpp:252:32: warning: unused parameter ‘enable’ [-Wunused-parameter]
 void GlxBackend::setVsync(bool enable)
                           ~~~~~^~~~~~</pre></div>



<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>If you have a git checkout of KWin you can test now already (with arc do arc patch <a href="https://phabricator.kde.org/D23105" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">D23105</a> to easily apply the diff to your local checkout). It should work just fine.</p></blockquote>

<p>Im running latsest released versions of KF5/Plasma, so it turned out that I also need KWayland master because of <a href="https://phabricator.kde.org/D10747" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: line-through;">D10747</a> and kscreenlocker master because AboutToQuit in <a href="https://phabricator.kde.org/D20804" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: line-through;">D20804</a> .</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">lexx ~/dev/kde/kwin/build [arcpatch-D23105] $ KWIN_USE_INTEL_SWAP_EVENT=1 kwin_x11 --replace
OpenGL vendor string:                   X.Org
OpenGL renderer string:                 Radeon RX 560 Series (POLARIS11, DRM 3.32.0, 5.2.8-gentoo, LLVM 8.0.1)
OpenGL version string:                  4.5 (Compatibility Profile) Mesa 19.1.4
OpenGL shading language version string: 4.50
Driver:                                 RadeonSI
GPU class:                              Arctic Islands
OpenGL version:                         4.5
GLSL version:                           4.50
Mesa version:                           19.1.4
X server version:                       1.20.5
Linux kernel version:                   5.2.8
Requires strict binding:                yes
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no

GlxBackend::init true true true</pre></div>

<p>With <tt style="background: #ebebeb; font-size: 13px;">KWIN_USE_INTEL_SWAP_EVENT=1</tt> all seems to work fine.</p>

<p>But with <tt style="background: #ebebeb; font-size: 13px;">KWIN_USE_INTEL_SWAP_EVENT=0</tt> or when unset, I see serious "lags" when dragging the window, it becomes very hard to drag window on screen, looks like some mouse movements are dropped(?) Resizing for example is still fine:</p>

<p><a href="https://phabricator.kde.org/F7256203" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F7256203: kwin-D23105-2019-08-17_19.41.45.mkv</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D23105">https://phabricator.kde.org/D23105</a></div></div><br /><div><strong>To: </strong>romangg, KWin, fredrik<br /><strong>Cc: </strong>nicolasfella, alexeymin, kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, mart<br /></div>