[Bug 96343] oom since st/mesa: implement PBO downloads for ReadPixels

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 2 18:46:20 UTC 2016


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

            Bug ID: 96343
           Summary: oom since st/mesa: implement PBO downloads for
                    ReadPixels
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: adf.lists at gmail.com
        QA Contact: dri-devel at lists.freedesktop.org

Created attachment 124282
  --> https://bugs.freedesktop.org/attachment.cgi?id=124282&action=edit
oom

Tonga with xserver 1.8.3, agd5f drm-next-4.8-wip, git
mesa/llvm/libdrm/xf86-video-amdgpu.

Desktop is fluxbox = non-compositing.

Since -

commit ed0e9862c56d13381f0414b5a835fd31960edfe6
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date:   Tue Apr 26 13:19:28 2016 -0500

    st/mesa: implement PBO downloads for ReadPixels

    v2: require PIPE_CAP_SAMPLER_VIEW_TARGET; technically only needed for some
of
        the texture targets, but all hardware that has shader images should
also
        have this cap.

I can provoke an oom on xorg as attached by displaying a couple of 1920 xwds
with display from ImageMagick and flipping between then, plus some middle mouse
clicking (which magnifys a section and gives info on the pixel clicked).

Oom is not instant - may take a couple of minutes clicking/flipping.

Polling free when doing this doesn't indicate any issue until it triggers so
it's not slowly leaking, but goes quickly at some point filling swap then oom.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160602/2280b08c/attachment-0001.html>


More information about the dri-devel mailing list