[Bug 100972] r600g: vaapi encoder SIGFPE

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 8 15:48:38 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=100972

            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 at lists.freedesktop.org
          Reporter: martin at serafean.cz
        QA Contact: dri-devel at lists.freedesktop.org

Created attachment 131262
  --> https://bugs.freedesktop.org/attachment.cgi?id=131262&action=edit
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:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170508/593dd461/attachment.html>


More information about the dri-devel mailing list