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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/c79ef9055f
                   |                            |3b6717d0660998c1997dac9199e
                   |                            |abb
         Resolution|---                         |FIXED

--- Comment #4 from Zamundaaa <xaver.h...@gmail.com> ---
Git commit c79ef9055f3b6717d0660998c1997dac9199eabb by Xaver Hugl.
Committed on 17/01/2025 at 14:22.
Pushed by zamundaaa into branch 'master'.

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/

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/c79ef9055f3b6717d0660998c1997dac9199eabb

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

Reply via email to