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

            Bug ID: 357543
           Summary: drmModeSetCrtc not called when presenting GBM buffer
                    (Wayland)
           Product: kwin
           Version: 5.5.2
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: grave
          Priority: NOR
         Component: backend-drm
          Assignee: kwin-bugs-n...@kde.org
          Reporter: j...@jcornwall.me

DrmBuffer uses both DRM (for m_blackBuffer) and GBM to allocate framebuffers.

drmModeSetCrtc is only called when the buffer stride changes. However, the DRM
and GBM buffers have different tiling configurations (with identical strides)
on drm/radeon. It is invalid to call drmModePageFlip when switching between
these two buffer types without first calling drmModeSetCrtc.

This currently results in corrupted visual output with KWin/Wayland. Adding a
call to drmModeSetCrtc when first switching from the DRM buffer to the GBM
buffer fixes the issue.

Reproducible: Always

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

Reply via email to