Runnig the 7th tutorial

Yan Wang yan.wang at linux.intel.com
Wed Aug 7 06:29:47 UTC 2019


On 8/7/2019 12:10 AM, Alex Lavriv [via GStreamer-devel] wrote:
> Hello, I have compiled succesfuly the 7th tutorial, but when I am 
> trying to run it, nothing happens, andĀ  there are errors in the 
> terminal :
>
> alex at alex-PORTEGE-Z30-A:~/phantomInternship/gstHell/gst-docs/examples/tutorials$ 
> ./basic-tutorial-7
> Obtained request pad src_0 for audio branch.
> Obtained request pad src_1 for video branch.
> libva info: VA-API version 0.39.0
> libva info: va_getDriverName() returns 0
> libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so

I tried it on my KBL machine.

it will get segment fault when use i965 driver.

LIBVA_DRIVER_NAME=i965 ./basic-titorial-7

But it works fineĀ  when use iHD driver. I can see yellow wave in window.

LIBVA_DRIVER_NAME=iHD ./basic-titorial-7

Could you please try:

https://github.com/intel/media-driver/

Yan Wang
> libva info: Found init function __vaDriverInit_0_39
> libva info: va_openDriver() returns 0
>
> ** (basic-tutorial-7:21268): CRITICAL **: 
> gst_video_calculate_display_ratio: assertion 'num > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **: 
> gst_vaapi_window_new_internal: assertion 'width > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **: 
> gst_video_calculate_display_ratio: assertion 'num > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **: 
> gst_vaapi_window_new_internal: assertion 'width > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **: 
> gst_video_calculate_display_ratio: assertion 'num > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **: 
> gst_vaapi_window_new_internal: assertion 'width > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **: 
> gst_video_calculate_display_ratio: assertion 'num > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **: 
> gst_vaapi_window_new_internal: assertion 'width > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **: 
> gst_video_calculate_display_ratio: assertion 'num > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **: 
> gst_vaapi_window_new_internal: assertion 'width > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **: 
> gst_video_calculate_display_ratio: assertion 'num > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **: 
> gst_vaapi_window_new_internal: assertion 'width > 0' failed
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email] </user/SendEmail.jtp?type=node&node=4691605&i=0>
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the 
> discussion below:
> http://gstreamer-devel.966125.n4.nabble.com/Runnig-the-7th-tutorial-tp4691605.html 
>
> To start a new topic under GStreamer-devel, email 
> ml+s966125n966125h86 at n4.nabble.com
> To unsubscribe from GStreamer-devel, click here 
> <http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=966125&code=eWFuLndhbmdAbGludXguaW50ZWwuY29tfDk2NjEyNXwxMDk4MzUzMzA=>.
> NAML 
> <http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190807/1da0374a/attachment-0001.html>


More information about the gstreamer-devel mailing list