[meta-freescale] vpu on imx6 solo
Angolini Daiane-b19406
b19406 at freescale.com
Tue Aug 12 04:14:52 PDT 2014
On 12-08-2014 07:15, Pierre Eliotec wrote:
> Hello,
>
> I am trying to use video acceleration on a imx6 solo based board. The
> setup is the following:
> rootfs built with yocto daisy, image based on fsl-image-multimedia, and
> MACHINE is imx6solosabresd.conf
> linux kernel is 3.10.17.
> I had to modify slightly the device tree file to match my board setup.
> I am using gstreamer 0.10 (which comes with the fsl-image-multimedia) to
> play big-bunny video in HD.
>
> Video playback starts correctly, see traces below but I can get 2 types
> of crashes:
> - user space crash: "Illegal instruction"
I thought this error was fixed. Let me try to reproduce it over here
using imx6sevk.
Only to make sure, you said you're using a custom board, right?
> This user space crash can (but does not necessary) be preceeded by the
> following kernel trace:
> [ 31.676612] mxc_vpu 2040000.vpu: VPU interrupt received.
Can you, please, share the exact gst command line you're using to crash
kernel?
Daiane
>
> - kernel crash:
> trace can be:
> [ 138.399905] note: vqueue:src[703] exited with preempt_count 1
> [ 138.405753] Kernel panic - not syncing: Aiee, killing interrupt handler!
> or somthing like
> [ 92.309311] Unable to handle kernel paging request at virtual address
> 6e63417d
> [ 92.316570] pgd = a859c000
> [ 92.319291] [6e63417d] *pgd=00000000
> [ 92.322908] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
> [ 92.328234] Modules linked in:
> [ 92.331329] CPU: 0 PID: 564 Comm: aiurdemux0:sink Not tainted
> 3.10.17-1.0.0_ga+g232293e #10
> [ 92.339699] task: a86f8780 ti: a8820000 task.ti: a8820000
> [ 92.345129] PC is at do_PrefetchAbort+0x20/0x98
> [ 92.349674] LR is at 0x5
> [ 92.352226] pc : [<80008454>] lr : [<00000005>] psr: 200d0193
> [ 92.352226] sp : a8821de0 ip : 6e63412d fp : 00000098
> [ 92.363720] r10: a8820000 r9 : 8000dd6c r8 : 00000f00
> [ 92.368960] r7 : a8821eb4 r6 : ffffffff r5 : 600d0193 r4 : 00000005
> [ 92.375503] r3 : 00000005 r2 : a8821e80 r1 : 80000005 r0 : 7eb72550
> (follows a large memory dump)
>
> What can cause this kind of problems with the video decoder?
>
> regards,
> Pierre
>
>
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Aiur: 3.0.11
> Core: MPEG4PARSER_06.07.04 build on Dec 5 2013 11:41:38
> mime: video/quicktime; audio/x-m4a; application/x-3gp
> file: /usr/lib/imx-mm/parser/lib_mp4_parser_arm11_elinux.so.3.2
> Content Info:
> URI:
> file:///media/mmcblk1p1/big_buck_bunny_1080p_h264.mov
> Idx File:
>
> /home/root/.aiur/.media.mmcblk1p1.big_buck_bunny_1080p_h264.mov.aidx
> Seekable : Yes
> Size(byte): 725106140
>
> Movie Info:
> Seekable : Yes
> Live : No
> Duration : 0:09:56.461696000
> ReadMode : Track
> Track : 3
>
> Track 00 [video_000000] Enabled
> Duration: 0:09:56.458304000
> Language: und
> Mime:
> video/x-h264, parsed=(boolean)true, width=(int)1920,
> height=(int)1080, framerate
> =(fraction)24/1
> [INFO] Product Info: i.MX6Q/D/S
> vpudec versions :)
> plugin: 3.0.11
> wrapper: 1.0.46(VPUWRAPPER_ARM_LINUX Build on Aug 5 2014 17:10:07)
> vpulib: 5.4.23
> firmware: 3.1.1.46056
> Track 01 [subtitle]: Disabled
> Codec: 0, SubCodec: 0
> Track 02 [audio_000000] Enabled
> Duration: 0:09:56.480000000
> Language: und
> Mime:
> audio/mpeg, mpegversion=(int)4, channels=(int)6,
> rate=(int)48000, bitrate=(int)4
> 48000, framed=(boolean)true, stream-format=(string)raw,
> codec_data=(buffer)11b0
> MFW_GST_V4LSINK_PLUGIN 3.0.11 build on Aug 5 2014 17:11:02.
> [INFO] bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0
> [WARN] VPU iram is less than needed, some parts don't use iram
> Beep: 3.0.11
> Core: AAC decoder Wrapper build on Jan 22 2014 15:42:53
> mime: audio/mpeg, mpegversion=(int){2,4}
> file: /usr/lib/imx-mm/audio-codec/wrap/lib_aacd_wrap_arm12_elinux.so.3
> CODEC: BLN_MAD-MMCODECS_AACD_ARM_03.07.00_CORTEX-A8 build on Sep 18
> 2013 10:29:53.
> [ 41.117628] mxc_v4l2_output v4l2_out.24: Bypass IC.
> >>V4L_SINK: Actually buffer status:
> hardware buffer : 12
> software buffer : 0
> Pipeline is PREROLLED ...
> Setting pipeline to PLAYING ...
> full screen size:1920x1080
> [V4L Update Display]: left=0, top=0, width=1920, height=1080
> set v4l display crop sucessfully
> New clock: GstAudioSinkClock
>
>
More information about the meta-freescale
mailing list