imx6q ubuntu 12.04(armel) can not use hardware acceleration (gstreamer)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6q ubuntu 12.04(armel) can not use hardware acceleration (gstreamer)

1,630 Views
yenchao
Contributor IV

Hi,

I'm working on imx6q + kernel 3.0.35 + ubuntu 12.04(armel) which was upgraded from ubuntu 11(oneiric, downloaded from https://www.freescale.com/webapp/sps/download/license.jsp?colCode=L3.0.35_4.1.0_UBUNTU_RFS_BSP&appTy...)

Hardware acceleration with gstreamer works fine on ubuntu 11

but when I upgraded to unbuntu 12.04

I can' play video by using hardware acceleration.

On ubuntu 11, gstreamer and freescale gstreamer packages version are as below

gstreamer 0.10.35

kernel header 3.0.35

firmware-imx 3.0.35

imx-lib 3.0.35

fsl-alsa-plugins 1.0.25

libfslcodec 3.0.7

libfslparser 3.0.7

libfslvpuwrap 1.0.35

gst-fsl-plugins 3.0.7

when I upgraded to ubuntu 12.04

gstreamer becomes to gstreamer 0.10.36

and hardware acceleration can't work(also can't use gplay to play video)

I have tried to  install

kernel header 3.0.35

firmware-imx 3.0.35

imx-lib 3.0.35

fsl-alsa-plugin 1.0.25

libfslcodec 3.0.7

libfslparser 3.0.7

libfslvpuwrap 1.0.35

gst-fsl-plugins 3.0.7

again (these packages were downloaded from https://www.freescale.com/webapp/sps/download/license.jsp?colCode=L3.0.35_4.1.0_MM_CODECS&appType=fi...),

and gplay works fine, but totem still can't play video by hardware acceleration.

According to this web site(http://boundarydevices.com/mx6-video-acceleration-raring-debian/)

if I install

kernel header 3.0.35

firmware-imx 3.5.7

imx-lib 3.5.7

fsl-alsa-plugin 3.5.7

libfslcodec 3.5.7

libfslparser 3.5.7

libfslvpuwrap 3.5.7

gst-fsl-plugins 3.5.7

on ubuntu 12.04

it can't run gplay and will show error message as below

------------------------------------------------------------------------------------------------

(gplay:4185): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libmfw_gst_aiur_demux.so': /usr/lib/gstreamer-0.10/libmfw_gst_aiur_demux.so: undefined symbol: gst_debug_log2

(gplay:4185): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libmfw_vpu.so': /usr/lib/gstreamer-0.10/libmfw_vpu.so: undefined symbol: gst_debug_log2

(gplay:4185): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libmfw_gst_h264dec.so': /usr/lib/gstreamer-0.10/libmfw_gst_h264dec.so: undefined symbol: gst_debug_log2

------------------------------------------------------------------------------------------------

does anyone knows how can I let hardware acceleration work on ubuntu 12.04?

any advices and suggestions will be greatly appreciated!!

thx

Labels (1)
4 Replies

672 Views
daiane_angolini
NXP Employee
NXP Employee

make sure the PATH shown in your error is exactly the PATH your file is.

Sometimes, it´s a matter of a missing dash, or other character

(I don't have ubuntu expertise, so, I don't think I'm going to be able to help further if my tip does not help"

672 Views
yenchao
Contributor IV

Hi Daiane,

I have confirmed that these files were exist at the correct path.

I don't know why gstreamer can't load the plugin

maybe cause by different gstreamer version

thanks for your reply!!

Yen

672 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Yen,

Please refer to How to create ubuntu hardfloat rootfs for imx6d/q

Hope this helps

672 Views
yenchao
Contributor IV

Hi Bio_TICFSL,

I have tried the method which you provided.

But it still can't work.

On ubuntu 11.10, freescale had provide gstreamer0.10-plugins-base_0.10.35-1-0ubuntu0+ppa1_armel.deb.

When I upgraded to ubuntu 12.04, it seems like need gstreamer0.10-plugins-base_0.10.36.deb

Do you know where can i get  gstreamer0.10-plugins-base_0.10.36.deb?

thanks for your reply

Yen

0 Kudos