You are not logged in.

#1 2014-06-12 15:39:38

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,424

Firefox 30 + vaapi crashes on html5 videos

As soon as i try to play a video on youtube in html5 mode, this happens:

# firefox    

(process:13879): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

(firefox:13879): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised

(firefox:13879): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised

(firefox:13879): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised

(firefox:13879): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised

(process:13879): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

(firefox:13879): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised

(firefox:13879): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised

(firefox:13879): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised

(firefox:13879): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised
[2014-06-12T15:30:04.451Z] [NONE]: addon_version=[2.3.1], app: name=[Firefox], version=[30.0], appBuildId=[20140611075517], ID=[{ec8030f7-c20a-464f-9b0e-13a3a9e97384}], vendor=[Mozilla], platformBuildID=[20140611075517], platformVersion=[30.0]
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0

** (firefox:13879): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (firefox:13879): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (firefox:13879): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (firefox:13879): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
Errore di segmentazione (core dump creato)

Uninstalling gst-vaapi fixes it.
This is on 64bit after pacman -Suy on nvidia 9800gt gpu
edit:
uninstalling libva-vdpau-driver does NOT fix it.

-edit:
sorry, just found a similar bug report here:
https://bugs.archlinux.org/task/40807
...but even if my va_openDriver() returns 0, i still got the crash!

Last edited by kokoko3k (2014-06-12 15:47:50)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#2 2014-06-12 20:46:43

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: Firefox 30 + vaapi crashes on html5 videos

Uninstall gst-vaapi

Offline

#3 2014-06-12 21:36:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Firefox 30 + vaapi crashes on html5 videos

ijanos wrote:

Uninstall gst-vaapi

https://bugs.archlinux.org/task/40807

Offline

#4 2014-06-13 07:15:33

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,424

Re: Firefox 30 + vaapi crashes on html5 videos

kokoko3k wrote:

Uninstalling gst-vaapi fixes it.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#5 2014-06-19 00:49:06

HarlemSquirrel
Member
From: US-East
Registered: 2014-01-22
Posts: 130
Website

Re: Firefox 30 + vaapi crashes on html5 videos

I can confirm that this works for me as well when trying to play the video for the new Amazon phone on amazon.com. Before uninstalling gst-vaapi firefox crashes when attempting to visit the page with auto-playing video. After uninstalling this package firefox works as expected and the video plays.


"Melody reigns supreme!"
    -J. J. Johnson

Offline

#6 2014-06-20 19:59:04

Potomac
Member
Registered: 2011-12-25
Posts: 529

Re: Firefox 30 + vaapi crashes on html5 videos

I get the same error, this bug still exists hmm

I have an amd radeon HD4650, and the package libva-vdpau-driver-0.7.4-1

the output :

export LIBVA_DRIVER_NAME=vdpau
           
             
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0

** (firefox:3303): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (firefox:3303): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (firefox:3303): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (firefox:3303): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
Erreur de segmentation (core dumped)

Last edited by Potomac (2014-06-20 19:59:39)

Offline

#7 2014-06-20 23:13:50

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,171

Re: Firefox 30 + vaapi crashes on html5 videos

Potomac, what version of libva?

Offline

#8 2014-06-21 01:54:23

progandy
Member
Registered: 2012-05-17
Posts: 5,269

Re: Firefox 30 + vaapi crashes on html5 videos

I get the same error, but I can reproduce the error with pure gstreamer without firefox. Somehow gstreamer can work with vaapi in some pipeline configurations while others crash.
The situation has somewhat improved with libva 1.3.1-2. Now using LIBVA_DRIVER_NAME=_NONE_ results in a warning, but playback continues without acceleration instead of crashing as before. Is this now a bug in gstreamer, gst-vaapi, libva-vdpau-driver, or libva?

My environment is this:

# Graphics: 
    ATI Mobility Radeon HD 5470
# Driver: mesa-git repository version 63453.39cdf16-1
    mesa ati-dri gallium r600

# Some packages:
gst-vaapi 0.5.8-1
firefox 30.0-1
libva 1.3.1-2
libva-vdpau-driver 0.7.4-1
gstreamer 1.2.4-1
ati-dri-git 63453.39cdf16-1
glamor-egl-git 302.a4fbc77-1
lib32-ati-dri-git 63453.39cdf16-1
lib32-libdrm-git 5245.d4083dc-1
lib32-llvm-libs-svn 211341-1
lib32-mesa-git 63453.39cdf16-1
lib32-mesa-libgl-git 63453.39cdf16-1
libdrm-git 5252.5126fcb-1
llvm-libs-svn 211323-1
mesa-git 63453.39cdf16-1
mesa-libgl-git 63453.39cdf16-1
xf86-video-ati-git 3128.48d3dbc-1


$ vainfo
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.35 (libva 1.3.1)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264Baseline           : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD

$ vdpauinfo 
display: :0.0   screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0

Video surface:

name   width height types
-------------------------------------------
420    16384 16384  NV12 YV12 
422    16384 16384  UYVY YUYV 
444    16384 16384  Y8U8V8A8 V8U8Y8A8 

Decoder capabilities:

name               level macbs width height
-------------------------------------------
MPEG1                 0  9216  2048  1152
MPEG2_SIMPLE          3  9216  2048  1152
MPEG2_MAIN            3  9216  2048  1152
H264_BASELINE        41  9216  2048  1152
H264_MAIN            41  9216  2048  1152
H264_HIGH            41  9216  2048  1152
VC1_SIMPLE            1  9216  2048  1152
VC1_MAIN              2  9216  2048  1152
VC1_ADVANCED          4  9216  2048  1152

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
R8G8B8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
R10G10B10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
B10G10R10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 

Bitmap surface:

name              width height
------------------------------
B8G8R8A8         16384 16384
R8G8B8A8         16384 16384
R10G10B10A2      16384 16384
B10G10R10A2      16384 16384
A8               16384 16384

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     -
INVERSE_TELECINE                 -
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         -
HIGH QUALITY SCALING - L1        -
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y        48     2048
VIDEO_SURFACE_HEIGHT             y        48     1152
CHROMA_TYPE                      y  
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y  
CSC_MATRIX                       y  
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y  
LUMA_KEY_MAX_LUMA                y  

The video files I got from the nvidia/vdpau test cases: ftp://download.nvidia.com/XFree86/vdpau … README.txt

This works:

progandy@pamobile ~/Videos/vdpau-test % LIBVA_DRIVER_NAME=vdpau gst-launch-1.0 playbin uri=file://$PWD/Grey.ts
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
No accelerated IMDCT transform found
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
Got context from element 'vaapisink0': gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL;
Got context from element 'vaapidecode0': gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL;
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstPulseSinkClock
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:05.469107242
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

This crashes after a few seconds:

progandy@pamobile ~/Videos/vdpau-test % LIBVA_DRIVER_NAME=vdpau gst-launch-1.0 filesrc location="./Grey.ts" ! decodebin name=demux demux. ! autovideosink demux. ! autoaudiosink

Setting pipeline to PAUSED ...
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
Pipeline is PREROLLING ...
No accelerated IMDCT transform found
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstPulseSinkClock

** (gst-launch-1.0:16822): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (gst-launch-1.0:16822): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (gst-launch-1.0:16822): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (gst-launch-1.0:16822): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (gst-launch-1.0:16822): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (gst-launch-1.0:16822): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (gst-launch-1.0:16822): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed

** (gst-launch-1.0:16822): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed

** (gst-launch-1.0:16822): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed

[...]
The error block above occurs another 46 times here.
[...]

Got EOS from element "pipeline0".
Execution ended after 0:00:03.652011757
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

Last edited by progandy (2014-06-21 01:55:18)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#9 2014-06-21 17:28:03

Potomac
Member
Registered: 2011-12-25
Posts: 529

Re: Firefox 30 + vaapi crashes on html5 videos

Scimmia wrote:

Potomac, what version of libva?

the last version libva 1.3.1-2

Offline

#10 2014-06-25 20:30:49

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: Firefox 30 + vaapi crashes on html5 videos

I played a bit with it and here is what i got on a r600 (6850)

edit because of PEBKAC

export LIBVA_DRIVER_NAME=vdpau
$ vainfo
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.35 (libva 1.3.1)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG4Simple            : VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    : VAEntrypointVLD
      VAProfileH264Baseline           : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
$ gst-play-1.0 Grey.ts
Now playing /home/toliz/Desktop/Grey.ts
No accelerated IMDCT transform found
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
0:00:33.5 / 0:00:32.1
Reached end of play list.

Seems to work ok.

Firefox on the other hand hmm

$ firefox

(process:8130): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0

** (firefox:8130): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (firefox:8130): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (firefox:8130): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (firefox:8130): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
Segmentation fault

Last edited by 89c51 (2014-06-25 21:05:17)

Offline

#11 2014-06-27 22:16:47

conorbev
Member
Registered: 2014-06-27
Posts: 6

Re: Firefox 30 + vaapi crashes on html5 videos

Not sure if it's the right place but I created a bug for this issue on gstreamer bugzilla at: https://bugzilla.gnome.org/show_bug.cgi?id=732368

There are also related Arch bugs:

https://bugs.archlinux.org/task/40989
https://bugs.archlinux.org/task/40807

I believe it's the same underlying issue whether firefox with html5 or totem (as progandy points out you can trigger it just with gst-launch-1.0 even)

Offline

#12 2014-06-28 14:16:30

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: Firefox 30 + vaapi crashes on html5 videos

Using propagandys method:

gst-launch-1.0 filesrc location="The Simpsons Movie - 1080p Trailer.mp4" ! decodebin name=demux demux. ! autovideosink demux. ! autoaudiosink
Setting pipeline to PAUSED ...
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
Pipeline is PREROLLING ...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstPulseSinkClock
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed
** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed
** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed
** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed
** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed
** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed
** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed
** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed
** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed
** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed
** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed

** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed

** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed

** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed

** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed

** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed

** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (gst-launch-1.0:847): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed

** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed

** (gst-launch-1.0:847): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:01:14.928420274
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  155 (DRI2)
  Minor opcode of failed request:  8 (DRI2SwapBuffers           )
  Resource id in failed request:  0x1c00003
  Serial number of failed request:  45
  Current serial number in output stream:  49

I get a blank window.

Offline

#13 2014-06-29 08:08:24

_abraxas
Member
Registered: 2010-11-23
Posts: 43

Re: Firefox 30 + vaapi crashes on html5 videos

as i don't have gst-vaapi installed, only libva, and firefox crashes regularly, i assume, the bug may be in libva 1.3.1-2

Offline

#14 2014-06-29 22:31:51

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: Firefox 30 + vaapi crashes on html5 videos

_abraxas wrote:

as i don't have gst-vaapi installed, only libva, and firefox crashes regularly, i assume, the bug may be in libva 1.3.1-2

For me on the other hand without using HWA it works just fine. And it should work fine -for video related stuff- without HWA. There might be other reasons for the crashes.

Offline

#15 2014-07-04 16:34:22

ColinMT
Member
From: The Western Hemisphere
Registered: 2013-12-31
Posts: 8

Re: Firefox 30 + vaapi crashes on html5 videos

This is the output I get when I try to run firefox 30 with gst-vaapi, version 0.5.8-1:

(process:3474): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0

** (firefox:3474): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (firefox:3474): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (firefox:3474): CRITICAL **: gst_vaapi_image_get_plane: assertion '_gst_vaapi_image_is_mapped(image)' failed

** (firefox:3474): CRITICAL **: gst_vaapi_image_get_pitch: assertion '_gst_vaapi_image_is_mapped(image)' failed
[3541] ###!!! ABORT: Aborting on channel error.: file /build/firefox/src/mozilla-release/ipc/glue/MessageChannel.cpp, line 1522
[3541] ###!!! ABORT: Aborting on channel error.: file /build/firefox/src/mozilla-release/ipc/glue/MessageChannel.cpp, line 1522
Segmentation fault

I am running an AMD Radeon HD7970 with the radeon open-source driver.

vainfo:

libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.35 (libva 1.3.1)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG4Simple            : VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    : VAEntrypointVLD
      VAProfileH264Baseline           : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD

vdpauinfo:

display: :0   screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0

Video surface:

name   width height types
-------------------------------------------
420    16384 16384  NV12 YV12 
422    16384 16384  
444    16384 16384  Y8U8V8A8 V8U8Y8A8 

Decoder capabilities:

name               level macbs width height
-------------------------------------------
MPEG1                 0  9216  2048  1152
MPEG2_SIMPLE          3  9216  2048  1152
MPEG2_MAIN            3  9216  2048  1152
H264_BASELINE        41  9216  2048  1152
H264_MAIN            41  9216  2048  1152
H264_HIGH            41  9216  2048  1152
VC1_ADVANCED          4  9216  2048  1152
MPEG4_PART2_SP        3  9216  2048  1152
MPEG4_PART2_ASP       5  9216  2048  1152

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8         16384 16384    y  NV12 YV12 Y8U8V8A8 V8U8Y8A8 
R8G8B8A8         16384 16384    y  NV12 YV12 Y8U8V8A8 V8U8Y8A8 
R10G10B10A2      16384 16384    y  NV12 YV12 Y8U8V8A8 V8U8Y8A8 
B10G10R10A2      16384 16384    y  NV12 YV12 Y8U8V8A8 V8U8Y8A8 

Bitmap surface:

name              width height
------------------------------
B8G8R8A8         16384 16384
R8G8B8A8         16384 16384
R10G10B10A2      16384 16384
B10G10R10A2      16384 16384
A8               16384 16384

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     -
INVERSE_TELECINE                 -
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         -
HIGH QUALITY SCALING - L1        -
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y        48     2048
VIDEO_SURFACE_HEIGHT             y        48     1152
CHROMA_TYPE                      y  
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y  
CSC_MATRIX                       y  
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y  
LUMA_KEY_MAX_LUMA                y  

Last edited by ColinMT (2014-07-04 16:36:25)

Offline

#16 2014-07-28 07:40:00

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: Firefox 30 + vaapi crashes on html5 videos

Bumping this because the latest gst-vaapi doesn't seem to crash firefox. However the CPU usage isn't as low as someone would expect. I get around 60% without 40% with it enabled. hmm

Also when i try gst-play on a file that worked flawlesly with the previous version i get:

ERROR debug information: qtdemux.c(4434): gst_qtdemux_loop (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0:
streaming stopped, reason not-negotiated
Reached end of play list.

Also the image quality seems far worst with gst-vaapi enabled.

Vimeo doesn't work & if you change to large player in YT you have to refresh the page a few times to see the video. Not nice.

Last edited by 89c51 (2014-07-28 07:56:52)

Offline

#17 2014-07-28 14:23:40

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,424

Re: Firefox 30 + vaapi crashes on html5 videos

I'm able to play this video in SD definition:
http://www.youtube.com/watch?v=9vZvqNBGagw

But as soon as i switch to hd, 720p:

[2014-07-28T14:20:56.557Z] [NONE]: addon_version=[2.3.1], app: name=[Firefox], version=[31.0], appBuildId=[20140722064054], ID=[{ec8030f7-c20a-464f-9b0e-13a3a4}], vendor=[Mozilla], platformBuildID=[20140722064054], platformVersion=[31.0]
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
Errore di segmentazione <------------------------------------------- (means segmentation fault)

gst-vaapi 0.5.9pre-2


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#18 2014-07-29 17:01:38

mar04
Member
From: Poland
Registered: 2010-02-08
Posts: 117

Re: Firefox 30 + vaapi crashes on html5 videos

Updated to gst-vaapi 0.5.9 and it's no longer crashing, at least on youtube and vimeo. Everything seems to work fine, although CPU usage is quite high - between 50% and 75%. I'm on intel sandybridge.

Offline

#19 2014-07-29 17:59:45

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: Firefox 30 + vaapi crashes on html5 videos

0.5.9

Youtube seems to work fine althought the CPU seems kind of high. Vimeo works. A trailer of the Dawn of the planet of the apes showed only a blank screen with gst-play-1.0. The simpsons trailer played on the first try it only showed the first frame the next. But i'll test more. On radeon r600 with open drivers.

One thing though is that everytime i start a video my screen kind of flickers.


Word of warning in case some of you use VLC. If you have set up VLC to use VDPAU in Tools>Preferences>Input/Codecs change it to VAAPI. If you are watching a YT video and play a video in VLC nasty things happen.

Last edited by 89c51 (2014-07-29 20:35:52)

Offline

#20 2014-07-30 08:06:48

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: Firefox 30 + vaapi crashes on html5 videos

Has anyone with a radeon card toyed around with gst-omx?? It is supposed to work with the open drivers.

Offline

#21 2014-07-30 14:11:09

darkraven
Member
Registered: 2009-06-08
Posts: 29

Re: Firefox 30 + vaapi crashes on html5 videos

With 0.5.9, I can play videos on youtube now. But when I try to seek, firefox crashes.

Offline

Board footer

Powered by FluxBB