<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Memory leak on kernel 5.0 using Vulkan applications, fixed on drm-tip and 5.1-rc1"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110276">110276</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Memory leak on kernel 5.0 using Vulkan applications, fixed on drm-tip and 5.1-rc1
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>leozinho29_eu@hotmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=143800" name="attach_143800" title="Video showing the 4 MB leak in 25 seconds">attachment 143800</a> <a href="attachment.cgi?id=143800&action=edit" title="Video showing the 4 MB leak in 25 seconds">[details]</a></span>
Video showing the 4 MB leak in 25 seconds

It was found that the kernel 5.0 has a memory leak when Vulkan applications are
used. It seems this leak can be even more intense than the one from <a class="bz_bug_link 
          bz_status_CLOSED  bz_closed"
   title="CLOSED FIXED - ANV driver doesn't release memory"
   href="show_bug.cgi?id=107899">bug 107899</a>.

On drm-tip and linux-git, the commit 61a98b1b9a8c7a21a2d666a090dcf5f1c70c659f
fixes this leak. However, the leak is present on the kernel 5.0.5, currently
the latest stable.

vulkan-smoketest is enough to trigger the leak. On slabtop, it shows:

80275  80275 100%    0,62K   3211       25     51376K i915_request

Steps to reproduce:

1) Open a Vulkan application, for example, vulkan-smoketest.

System information:

OS: Xubuntu 18.04;
Kernel: 5.0.0-8 (Disco Dingo) to 5.0.5;
CPU: Intel Core i3-6100U;
GPU: Intel HD Graphics 520;
Memory: 8 GB.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>