Bug ID 100972
Summary r600g: vaapi encoder SIGFPE
Product Mesa
Version git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/r600
Assignee dri-devel@lists.freedesktop.org
Reporter martin@serafean.cz
QA Contact dri-devel@lists.freedesktop.org

Created attachment 131262 [details] [review]
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


You are receiving this mail because: