After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 725058 - Critical errors and corruption when using multiple vaapi element in the same pipeline
Critical errors and corruption when using multiple vaapi element in the same ...
Status: RESOLVED FIXED
Product: gstreamer-vaapi
Classification: Other
Component: general
git master
Other Linux
: Normal critical
: ---
Assigned To: gstreamer-vaapi maintainer(s)
gstreamer-vaapi maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-02-24 12:36 UTC by Adrien SCH.
Modified: 2015-10-12 09:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test case (5.29 KB, text/x-csrc)
2014-02-24 12:36 UTC, Adrien SCH.
Details

Description Adrien SCH. 2014-02-24 12:36:53 UTC
Created attachment 270113 [details]
Test case

Observations : 
When the linked application is started, the VAAPI plugin always reports critical errors and somethings corrupt the environment. 

Error output Case 1 :
libva-glx error: failed to release pixmap
0:00:00.208042032 vaapivideomemory gstvaapivideomemory.c:167:gst_video_meta_map_vaapi_memory: unsupported map flags (0x1)
0:00:00.208113376 default video-frame.c:136:gst_video_frame_map_id: failed to map video frame plane 0
0:00:00.208133481 glupload gstglupload.c:647:gst_gl_upload_perform_with_buffer:<GstGLUpload@0x7fe67000e9d0> Failed to map memory


Error output Case 2 (part only) :
http://pastebin.com/LhLVSBby

Environment : 
Processor : Intel(R) Celeron(R) CPU G1610 @ 2.60GHz
OS : Debian
Gstreamer-vaapi : e52d394b9e1e7124a141cc26675068e6fc2446a9
Intel-driver : 54cb60f3d973ce6a908ea57f5aa7481803fe653a
Libva : 6d4f0934f7bef5fe3475c4947be44b10cbabaf44

Rate : 
Critical errors : 100%
Corruption : 50%

Attached : 
The test application.

Video sample : 
http://www.auby.no/files/video_tests/h264_1080p_hp_4.1_10mbps_dts_unstyled_subs_monsters.mkv
Comment 1 Mehmet Giritli 2014-04-02 20:18:24 UTC
I see these when totem uses subtitles and the seg fault does not happen until the moment subtitles are shown in the movie. If movie has no subs, it doesnt crash...

gst-plugins-vaapi is 0.5.8 on gentoo.

$ totem
No accelerated IMDCT transform found
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_34
libva info: va_openDriver() returns 0

** (totem:8334): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (totem:8334): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (totem:8334): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (totem:8334): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
Segmentation fault
Comment 2 sreerenj 2015-06-19 12:09:24 UTC
Could you please check with the current git master?
Comment 3 sreerenj 2015-10-12 09:13:34 UTC
Closing..Please re-open if issue persists.