Runnig the 7th tutorial

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Runnig the 7th tutorial

alex.lavriv
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@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
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]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Runnig the 7th tutorial

Nicolas Dufresne-5
Le mardi 06 août 2019 à 16:06 +0300, Alex Lavriv a écrit :

> 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@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
> libva info: Found init function __vaDriverInit_0_39
> libva info: va_openDriver() returns 0

looks like you hit a bug in VAAPI, can you try removing that plugins
for now ? Someone should try and see if this is still an issue with
1.16 or master.

>
> ** (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]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Runnig the 7th tutorial

Yan Wang
In reply to this post by alex.lavriv


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@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]
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 [hidden email]
To unsubscribe from GStreamer-devel, click here.
NAML

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel