Bug 100972 - r600g: vaapi encoder SIGFPE
Summary: r600g: vaapi encoder SIGFPE
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-08 15:48 UTC by Martin Bednar
Modified: 2019-09-18 19:23 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
possible fix (is 0 a valid value?) (763 bytes, patch)
2017-05-08 15:48 UTC, Martin Bednar
Details | Splinter Review

Description Martin Bednar 2017-05-08 15:48:38 UTC
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
Comment 1 GitLab Migration User 2019-09-18 19:23:13 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/602.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.