GNOME Bugzilla – Bug 775689
vaapi: yocto: haswell: random hang
Last modified: 2017-08-09 09:55:24 UTC
This is a little outline of my current investigations: Observed random hang issue while using gstreamer-vaapi plugins(decoder, encoder, postproc and vaapisink) on intel haswell platform. This image was build using krogoth version(kernel-4.4) of yocto. Didn't observe the same when daisy version(kernel-3.10) of yocto get used on same platform. Did the following tests but didn't helped. 1. Tried different version of gstreamer-vaapi that didn't helped. 2. Tried all by copying all the gstreamer-vaapi libs and its depends(libva and intel driver) from daisy to krogoth. I am currently looking for some suggestions from your side. Please let me know if you need more information. Thanks In advance, Veeranna.
We need to figure out the cause of the hang. What does exactly mean "hang"? Do you have a use case where the hang can be reproduced? What is the libva and libva-intel-driver version? what kernel version are you using now? Did you report this to the yocto packagers? Have you tried with debian or fedora?
Observed system hang i.e need to restart it for further usage.I am using 1.7.0 version of libva ,libva-intel driver. kernel version is 4.4. I have tried the kernel version 4.8, observed the same behaviour. Tried only debian and haven't reported to yocto packagers.
Are you using a specific board? How to you reproduce the hang (a specific media with a specific pipeline)? What's in the kernel logs? So far this bug report is very ambiguous.
I was building krogoth version of yocto project for haswell desktop version. Ran the multiple instances of below pipeline to re create this issue. gst-launch-1.0 rtspsrc location=rtsp://192.168.1.109:8558/pp ! rtph264depay ! h264parse ! 'video/x-h264, stream-format=byte-stream' ! vaapidecode ! queue ! vaapih264enc min-qp=20 dct8x8=TRUE ! h264parse ! 'video/x-h264, stream-format=byte-stream' ! filesink name=fs2 location=dump.264 Didn't observe any error logs from kernel.
Sorry for the late reply. It's very difficult to know what is happening in your case without extra information. Or without a way to reproduce easily the problem. Can you get gstreamer logs? GST_DEBUG=*:3,vaapi*:5
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment. Thanks!