From: Angolini Daiane-b19406 <b19406@freescale.com>
To: Pierre Eliotec <pierre.eliotec@gmail.com>,
<meta-freescale@yoctoproject.org>
Subject: Re: vpu on imx6 solo
Date: Tue, 12 Aug 2014 08:14:52 -0300 [thread overview]
Message-ID: <53E9F72C.6030602@freescale.com> (raw)
In-Reply-To: <CANZO_84_VucuU81bP6mLm7XVs4K3TrtZ61xR2CxrnaymfdJ7iQ@mail.gmail.com>
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
>
>
next prev parent reply other threads:[~2014-08-12 11:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-12 10:15 vpu on imx6 solo Pierre Eliotec
2014-08-12 11:14 ` Angolini Daiane-b19406 [this message]
2014-08-12 11:47 ` Pierre Eliotec
2014-08-12 13:00 ` Fabio Estevam
2014-08-12 13:14 ` Angolini Daiane-b19406
2014-08-12 13:33 ` Pierre Eliotec
2014-08-12 14:17 ` Angolini Daiane-b19406
2014-08-12 15:18 ` Pierre Eliotec
2014-08-12 15:14 ` Angolini Daiane-b19406
2014-08-12 16:37 ` Angolini Daiane-b19406
2014-08-22 6:48 ` Pierre Eliotec
2014-08-22 13:00 ` Daiane Angolini
2014-08-26 12:59 ` Pierre Eliotec
2014-08-12 13:35 ` Fabio Estevam
2014-08-12 13:40 ` Angolini Daiane-b19406
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53E9F72C.6030602@freescale.com \
--to=b19406@freescale.com \
--cc=meta-freescale@yoctoproject.org \
--cc=pierre.eliotec@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.