https://bugs.kde.org/show_bug.cgi?id=523805
Bug ID: 523805
Summary: Notification results in writing Qt RHI qtpipelinecache
to disk, every time
Classification: Plasma
Product: plasmashell
Version First 6.7.3
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Notifications
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
DESCRIPTION
Each time pop-up notification disappears, it results in saving Qt RHI pipeline
cache file, which results in 217 KB writes to the disk every time.
The file which is saved:
~/.cache/plasmashell/qtpipelinecache-x86_64-little_endian-lp64/qqpc_opengl
Saved by plasmashell process inside Qt:
Thread 30 (Thread 0x7f400ec936c0 (LWP 187737) "QSGRenderThread"):
#0 0x00007f406aad317e in
QSaveFile::open(QFlags<QIODeviceBase::OpenModeFlag>) () at
/lib64/libQt6Core.so.6
#1 0x00007f406c85206e in QSGRhiSupport::finalizePipelineCache(QRhi*,
QQuickGraphicsConfiguration const&) () at /lib64/libQt6Quick.so.6
#2 0x00007f406c8524ee in QSGRhiSupport::destroyRhi(QRhi*,
QQuickGraphicsConfiguration const&) () at /lib64/libQt6Quick.so.6
#3 0x00007f406c9c0d48 in
QSGRenderThread::invalidateGraphics(QQuickWindow*, bool) () at
/lib64/libQt6Quick.so.6
#4 0x00007f406c9c6051 in QSGRenderThread::event(QEvent*) () at
/lib64/libQt6Quick.so.6
#5 0x00007f406c9c22b9 in QSGRenderThread::processEventsAndWaitForMore() ()
at /lib64/libQt6Quick.so.6
#6 0x00007f406c9c24c2 in QSGRenderThread::run() () at
/lib64/libQt6Quick.so.6
#7 0x00007f406acd406e in QThreadPrivate::start(void*) () at
/lib64/libQt6Core.so.6
STEPS TO REPRODUCE
1. strace -y -fe trace=write -p `pidof plasmashell` 2>&1 | grep --line-buffered
-F qtpipelinecache
2. notify-send -t 1000 test
OBSERVED RESULT
File is written when popup disappears, every time
[pid 175606]
write(120</home/valdikss/.cache/plasmashell/qtpipelinecache-x86_64-little_endian-lp64/#90965445>(deleted),
"\3\n\6\2\10\0\0\0\25\0\0\0QO\3\0Intel Mesa Intel"..., 217169) = 217169
EXPECTED RESULT
No file is written.
SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 43
KDE Plasma Version: 6.7.3
KDE Frameworks Version: 6.28.0
Qt Version: 6.10.3
Kernel Version: 7.1.5-101.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
ADDITIONAL INFORMATION
Similar bugs in kwin:
bug 487043
bug 465270
Kwin Patch:
https://invent.kde.org/plasma/kwin/-/commit/f700de56f8ae6c15c7fd7d18bdaf47bf1e21b219
Similar should be done in plasmashell.
--
You are receiving this mail because:
You are watching all bug changes.