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

Zamundaaa <xaver.h...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/c79ef9055f |ma/kwin/-/commit/da5e9b02da
                   |3b6717d0660998c1997dac9199e |cacdeea274a6214660f646268ed
                   |abb                         |29a

--- Comment #6 from Zamundaaa <xaver.h...@gmail.com> ---
Git commit da5e9b02dacacdeea274a6214660f646268ed29a by Xaver Hugl.
Committed on 10/02/2025 at 17:21.
Pushed by zamundaaa into branch 'Plasma/6.3'.

backends/drm: asynchronously wait for idle before doing modesets

The previous code relied on waitIdle() *always* working, which isn't the case.
Sometimes,
weird kernel bugs can make the timeout trigger wrongly, and sometimes, the
kernel just
doesn't send a pageflip event in a reasonable time frame or at all.

This should fix at least most cases from
https://crash-reports.kde.org/share/issue/c27bccb6794a48349b42b70a4e655619/


(cherry picked from commit c79ef9055f3b6717d0660998c1997dac9199eabb)

Co-authored-by: Xaver Hugl <xaver.h...@gmail.com>

M  +24   -11   src/backends/drm/drm_gpu.cpp
M  +4    -2    src/backends/drm/drm_gpu.h
M  +3    -2    src/backends/drm/drm_output.cpp
M  +5    -2    src/backends/drm/drm_pipeline.cpp
M  +1    -1    src/backends/drm/drm_pipeline.h

https://invent.kde.org/plasma/kwin/-/commit/da5e9b02dacacdeea274a6214660f646268ed29a

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

Reply via email to