From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96343] oom since st/mesa: implement PBO downloads for ReadPixels Date: Thu, 02 Jun 2016 18:46:20 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0714231234==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E811E6EC22 for ; Thu, 2 Jun 2016 18:46:20 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0714231234== Content-Type: multipart/alternative; boundary="14648931800.50A1Aa.19147"; charset="UTF-8" --14648931800.50A1Aa.19147 Date: Thu, 2 Jun 2016 18:46:20 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D96343 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@lists.freedesktop.org Reporter: adf.lists@gmail.com QA Contact: dri-devel@lists.freedesktop.org Created attachment 124282 --> https://bugs.freedesktop.org/attachment.cgi?id=3D124282&action=3Dedit oom Tonga with xserver 1.8.3, agd5f drm-next-4.8-wip, git mesa/llvm/libdrm/xf86-video-amdgpu. Desktop is fluxbox =3D non-compositing. Since - commit ed0e9862c56d13381f0414b5a835fd31960edfe6 Author: Nicolai H=C3=A4hnle 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 s= ome 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 m= ouse 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 o= om. --=20 You are receiving this mail because: You are the assignee for the bug.= --14648931800.50A1Aa.19147 Date: Thu, 2 Jun 2016 18:46:20 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
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@lists.freedesktop.org
Reporter adf.lists@gmail.com
QA Contact dri-devel@lists.freedesktop.org

Created attachment 124282 [details]
oom

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

Desktop is fluxbox =3D non-compositing.

Since -

commit ed0e9862c56d13381f0414b5a835fd31960edfe6
Author: Nicolai H=C3=A4hnle <nicolai.haehnle@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 s=
ome
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 m=
ouse
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 o=
om.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14648931800.50A1Aa.19147-- --===============0714231234== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0714231234==--