<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 - VCE regression BO to small for addr since winsys/amdgpu: enable buffer allocation from slabs"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97976">97976</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>VCE regression BO to small for addr since winsys/amdgpu: enable buffer allocation from slabs
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</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>Drivers/Gallium/radeonsi
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>adf.lists@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>R9 285 tonga, git llvm, drm-next-4.9-wip.
Since Mesa commit -
commit ffa1c669ddb48c25bab3457b8b2bfcd255acc674
Author: Nicolai Hähnle <<a href="mailto:nicolai.haehnle@amd.com">nicolai.haehnle@amd.com</a>>
Date: Wed Sep 7 10:50:59 2016 +0200
winsys/amdgpu: enable buffer allocation from slabs
Using VCE encode fails (but not instantly) with
[drm:amdgpu_vce_cs_reloc [amdgpu]] *ERROR* BO to small for addr 0x010005fe00
139 138
If you have gstreamer + vce you may be able to reproduce with -
gst-launch-1.0 -f ximagesrc use-damage=0 startx=0 starty=0 endx=1919 endy=1079
! queue ! videoconvert ! video/x-raw,framerate=60/1,format=NV12 ! queue !
vaapih264enc ! video/x-h264,profile=baseline ! fakesink
Which will run forever, it takes a few seconds to trigger for me. It assumes
your screen is 1080p so may need tweaking and I guess may luck out of
triggering at smaller sizes.
Other tests not involving gstreamer/screen grabbing = avconv reading 1080p
rawvid from tmpfs are also affected.</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>