<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 - r600g: vaapi encoder SIGFPE"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100972">100972</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>r600g: vaapi encoder SIGFPE
</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/r600
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>martin@serafean.cz
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=131262" name="attach_131262" title="possible fix (is 0 a valid value?)">attachment 131262</a> <a href="attachment.cgi?id=131262&action=edit" title="possible fix (is 0 a valid value?)">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=100972&attachment=131262'>[review]</a>
possible fix (is 0 a valid value?)
Program received signal SIGFPE, Arithmetic exception.
0x00007fffe5c86f07 in handleVAEncSequenceParameterBufferType
(drv=0x5555557ec2b0, context=0x555555a42c70, buf=0x555555819000)
at
/var/tmp/paludis/media-libs-mesa-9999/work/mesa-9999/src/gallium/state_trackers/va/picture.c:374
374 in
/var/tmp/paludis/media-libs-mesa-9999/work/mesa-9999/src/gallium/state_trackers/va/picture.c
What happens is that h264->intra_idr_period is 0, which with current
parenthesizing results in a division by 0.
Command used :
ffmpeg -loglevel debug -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i
Elephants_Dream_HD.avi -vf format=nv12,hwupload -map 0:0 -map 0:1 -y -f
matroska -bf 0 -c:v h264_vaapi ~/test.mkv</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>