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

            Bug ID: 460912
           Summary: Memory leak when notifications appear or System
                    Monitor is opened
    Classification: Plasma
           Product: plasmashell
           Version: 5.26.1
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Notifications
          Assignee: plasma-b...@kde.org
          Reporter: enigma1052...@gmail.com
                CC: k...@privat.broulik.de
  Target Milestone: 1.0

SUMMARY

A memory leak occurs when certain things are done, mainly when notifications
arrive, they have visual artifacts (mainly blinking) and memory usage begins to
rise.

This happens only when using 3D accelerated drivers (either mesa-amber i915-dri
or mesa i915-gallium), using software renderer (llvmpipe) doesn't cause the
issue. I need to kill plasmashell to recoup said memory.

Something similar was reported at the Manjaro forum
(https://forum.manjaro.org/t/plasma-systemmonitor-broken-in-vm-when-3d-in-vbox-enabled/88990),
just to note, I also have the other issues mentioned there: the red background
in certain items and keeping the system monitor open for a couple minutes fill
up the ram until closed.


STEPS TO REPRODUCE

Trigger a notification or open the System Monitor (best way to see the behavior
is to open them from the terminal and use top in a separate tab to see the
memory usage)

OBSERVED RESULT

Memory usage goes up quickly, notifications take more time to fill up the RAM,
System monitor does it fast.

This is what the terminal outputs when running plasmashell or
plasma-systemmonitor from it: (it just spams this a lot)

shader compilation failed: 
"error: Too many fragment shader default uniform block components\nerror: Too
many fragment shader uniform components\n"
QOpenGLShader::link: error: Too many fragment shader default uniform block
components
error: Too many fragment shader uniform components

QOpenGLShaderProgram::uniformLocation(matrix): shader program is not linked
QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked
QOpenGLShaderProgram::uniformLocation(innerRadius): shader program is not
linked
QOpenGLShaderProgram::uniformLocation(outerRadius): shader program is not
linked
QOpenGLShaderProgram::uniformLocation(aspect): shader program is not linked
QOpenGLShaderProgram::uniformLocation(backgroundColor): shader program is not
linked
QOpenGLShaderProgram::uniformLocation(colors): shader program is not linked
QOpenGLShaderProgram::uniformLocation(segments): shader program is not linked
QOpenGLShaderProgram::uniformLocation(segmentCount): shader program is not
linked
QOpenGLShaderProgram::uniformLocation(smoothEnds): shader program is not linked
QOpenGLShaderProgram::uniformLocation(fromAngle): shader program is not linked
QOpenGLShaderProgram::uniformLocation(toAngle): shader program is not linked
QOpenGLShader::link: error: Too many fragment shader default uniform block
components
error: Too many fragment shader uniform components



EXPECTED RESULT

Memory usage should't increase too much.


SOFTWARE/OS VERSIONS

Operating System: KDE neon 5.26
KDE Plasma Version: 5.26.1
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 5.19.0-16.4-liquorix-amd64 (64-bit)
Graphics Platform: X11
Processors: 2 × Intel® Core™2 Duo CPU E8400 @ 3.00GHz
Memory: 3.8 GiB of RAM
Graphics Processor: i915

ADDITIONAL INFORMATION

I have a G31 IGP, so don't have access to Crocus or another driver, but as I
noted before, llvmpipe doesn't produce this issue.

00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express
Integrated Graphics Controller (rev 10) (prog-if 00 [VGA controller])
        Subsystem: Intel Corporation 82G33/G31 Express Integrated Graphics
Controller

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

Reply via email to