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

Vlad Zahorodnii <vlad.zahorod...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/f700de56f8
                   |                            |ae6c15c7fd7d18bdaf47bf1e21b
                   |                            |219

--- Comment #23 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit f700de56f8ae6c15c7fd7d18bdaf47bf1e21b219 by Vlad Zahorodnii, on
behalf of David Edmundson.
Committed on 31/05/2024 at 15:28.
Pushed by vladz into branch 'master'.

core: Disable Qt RHI pipeline cache

The Qt pipeline cache causes a disk sync on every load and save of a
QQuickWindow. This causes a stutter under high disk usage.

The gains from this cache are minimal on our simple scenes on PC
hardware. Especially given mesa has it's own cache, profiling on my
personal laptop showed the pipeline as being 0ms.

There is an upstream patch at
https://codereview.qt-project.org/c/qt/qtdeclarative/+/564411 .
QSaveFile still has a sync, but that should only be hit for the first
non-cached run. I'm also adding a flag to QSaveFile to fix the QML cache
and first run case. 

Tested via running kwin with `strace -e
inject=fdatasync:delay_enter=10000000` to simulate a slow flush.

M  +5    -0    src/main_wayland.cpp
M  +5    -0    src/main_x11.cpp

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

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

Reply via email to