From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 100024] [radeonsi] Failed to find memory space for buffer eviction when calling glTexSubImage2D with 16384 / 2 Date: Wed, 01 Mar 2017 17:45:25 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1814016388==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id D481B6E9B5 for ; Wed, 1 Mar 2017 17:45:25 +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 --===============1814016388== Content-Type: multipart/alternative; boundary="14883903250.fe9323d83.16823"; charset="UTF-8" --14883903250.fe9323d83.16823 Date: Wed, 1 Mar 2017 17:45:25 +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=3D100024 Bug ID: 100024 Summary: [radeonsi] Failed to find memory space for buffer eviction when calling glTexSubImage2D with 16384 / 2 Product: DRI Version: XOrg git Hardware: All OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/Radeon Assignee: dri-devel@lists.freedesktop.org Reporter: julien.isorce@gmail.com Created attachment 130005 --> https://bugs.freedesktop.org/attachment.cgi?id=3D130005&action=3Dedit new piglit test max-texture-size2 to reproduce the problem / [AMD/ATI] Cape Verde PRO [FirePro W600] / The piglit test max-texture-size2 prints: GL_TEXTURE_RECTANGLE, Internal Format =3D GL_RGBA8, Largest Texture Size = =3D 16384 radeon: Not enough memory for command submission. [drm:radeon_cs_ioctl [radeon]] *ERROR* Failed to parse relocation -12! (ENO= MEM) PIGLIT: {"subtest": {"GL_TEXTURE_RECTANGLE-GL_RGBA8" : "pass"}} It says it passes but internally it fails. It looks like a bug from the TTM= GPU memory manager subsystem in the linux kernel. To reproduce just run: RADEON_THREAD=3Dfalse DISPLAY=3D:0 PIGLIT_SOURCE_DIR=3D/home/julien/dev/pig= lit/ PIGLIT_PLATFORM=3Dmixed_glx_egl ./bin/max-texture-size -fbo -auto I set RADEON_THREAD=3Dfalse to make it easier since the problem also appear= s with true. I attached a new and more minimal piglit test "max-texture-size2" that reproduces the problem. A workaround of the problem is to use GL fence as the new test also demonstrates setting the env var USE_FENCE. --=20 You are receiving this mail because: You are the assignee for the bug.= --14883903250.fe9323d83.16823 Date: Wed, 1 Mar 2017 17:45:25 +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 100024
Summary [radeonsi] Failed to find memory space for buffer eviction wh= en calling glTexSubImage2D with 16384 / 2
Product DRI
Version XOrg git
Hardware All
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/Radeon
Assignee dri-devel@lists.freedesktop.org
Reporter julien.isorce@gmail.com

Created attachment 130005 [details] [review]
new piglit test max-texture-size2 to reproduce the problem

/ [AMD/ATI] Cape Verde PRO [FirePro W600] /

The piglit test max-texture-size2 prints:

GL_TEXTURE_RECTANGLE, Internal Format =3D GL_RGBA8, Largest Texture Size =
=3D 16384
radeon: Not enough memory for command submission.
[drm:radeon_cs_ioctl [radeon]] *ERROR* Failed to parse relocation -12! (ENO=
MEM)
PIGLIT: {"subtest": {"GL_TEXTURE_RECTANGLE-GL_RGBA8" : =
"pass"}}

It says it passes but internally it fails. It looks like a bug from the TTM=
 GPU
memory manager subsystem in the linux kernel.

To reproduce just run:
RADEON_THREAD=3Dfalse DISPLAY=3D:0 PIGLIT_SOURCE_DIR=3D/home/julien/dev/pig=
lit/
PIGLIT_PLATFORM=3Dmixed_glx_egl ./bin/max-texture-size -fbo -auto

I set RADEON_THREAD=3Dfalse to make it easier since the problem also appear=
s with
true.

I attached a new and more minimal piglit test "max-texture-size2"=
 that
reproduces the problem.
A workaround of the problem is to use GL fence as the new test also
demonstrates setting the env var USE_FENCE.


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