AnsweredAssumed Answered

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

Question asked by Yen Chao on Feb 1, 2015
Latest reply on Feb 4, 2015 by Yen Chao

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&appType=file1&location=null&DOWNLOAD_ID=null)

 

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=file1&location=null&DOWNLOAD_ID=null),

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

Outcomes