[Mesa-dev] [Bug 109958] Xorg memory leak when using llvmpipe/softpipe

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 11 11:11:29 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=109958

            Bug ID: 109958
           Summary: Xorg memory leak when using llvmpipe/softpipe
           Product: Mesa
           Version: 18.3
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: Drivers/Gallium/vmwgfx
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: j.eymann at gmx.net
        QA Contact: mesa-dev at lists.freedesktop.org

Hello,

there seems to be a major memory leak in Xorg in combination with the VMware
driver and the llvmpipe/softpipe renderer. It can be easily reproduced using
glxgears. This works even on some real hardware systems when forcing software
rendering (depending on the graphics driver which is used):

export GALLIUM_DRIVER="llvmpipe"
export LIBGL_ALWAYS_SOFTWARE="true"
glxgears -info

When glxgears is using llvmpipe or softpipe as renderer, it should be
reproducible. Grab a corner of the glxgears window and quickly move it around
(i.e., resize the window continuously) while watching Xorg memory which rapidly
starts to grow. When stopping the resizing, memory usage stays constant and
drops again after closing the window.

On my systems running in VirtualBox and vSphere, llvmpipe was used by default,
so the exports are not necessary and the problem always occurs. In VirtualBox,
the problem did not occur when I enabled 3D acceleration (VM settings ->
Display -> Screen) as then SVGA3D is used as renderer.

I could observe this behavior on Ubuntu 18.04 (with stock Mesa 18.2.2 and also
using the Ubuntu-X team PPA with Mesa 18.3.3), Ubuntu 18.10, Fedora 29
(Xwayland) and Debian 9, so I suspect it might be something in Mesa. I could
not find an existing bug report that seems to match this problem so I opened
this one.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190311/0ad1d21b/attachment-0001.html>


More information about the mesa-dev mailing list