https://bugs.kde.org/show_bug.cgi?id=516197

--- Comment #3 from n0099 <[email protected]> ---
I've tested setting the env var `KWIN_DRM_FORCE_GL_FINISH_PRESENT=1` that
introduced in https://invent.kde.org/plasma/kwin/-/merge_requests/8406 for
`plasmashell` would fix this.
https://invent.kde.org/plasma/kwin/-/blob/cf9a18e8f5ffd560465e8faf5f5aa6d2931c1576/src/backends/drm/drm_egl_layer_surface.cpp#L270-276
> ```cpp
> static const bool s_forcePresentSync = 
> environmentVariableBoolValue("KWIN_DRM_FORCE_GL_FINISH_PRESENT").value_or(false);
> ```

> ```cpp
> glFlush();
> EGLNativeFence sourceFence(m_eglBackend->eglDisplayObject());
> if (!sourceFence.isValid() || s_forcePresentSync) {
>     // llvmpipe doesn't do synchronization properly: 
> https://gitlab.freedesktop.org/mesa/mesa/-/issues/9375
>     // and NVidia doesn't support implicit sync
>     glFinish();
> }
> ```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to