<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 - [radeonsi] Failed to find memory space for buffer eviction when calling glTexSubImage2D with 16384 / 2"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100024">100024</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[radeonsi] Failed to find memory space for buffer eviction when calling glTexSubImage2D with 16384 / 2
</td>
</tr>
<tr>
<th>Product</th>
<td>DRI
</td>
</tr>
<tr>
<th>Version</th>
<td>XOrg git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (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/Radeon
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>julien.isorce@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=130005" name="attach_130005" title="new piglit test max-texture-size2 to reproduce the problem">attachment 130005</a> <a href="attachment.cgi?id=130005&action=edit" title="new piglit test max-texture-size2 to reproduce the problem">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=100024&attachment=130005'>[review]</a>
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 = GL_RGBA8, Largest Texture Size = 16384
radeon: Not enough memory for command submission.
[drm:radeon_cs_ioctl [radeon]] *ERROR* Failed to parse relocation -12! (ENOMEM)
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=false DISPLAY=:0 PIGLIT_SOURCE_DIR=/home/julien/dev/piglit/
PIGLIT_PLATFORM=mixed_glx_egl ./bin/max-texture-size -fbo -auto
I set RADEON_THREAD=false to make it easier since the problem also appears 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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>