From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 88FB1E007A0; Tue, 12 Aug 2014 04:24:21 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [207.46.163.212 listed in list.dnswl.org] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2lp0212.outbound.protection.outlook.com [207.46.163.212]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 8785FE0078E for ; Tue, 12 Aug 2014 04:24:19 -0700 (PDT) Received: from BN3PR0301CA0071.namprd03.prod.outlook.com (25.160.152.167) by BLUPR03MB567.namprd03.prod.outlook.com (10.141.78.20) with Microsoft SMTP Server (TLS) id 15.0.1005.10; Tue, 12 Aug 2014 11:24:11 +0000 Received: from BL2FFO11FD046.protection.gbl (2a01:111:f400:7c09::155) by BN3PR0301CA0071.outlook.office365.com (2a01:111:e400:401e::39) with Microsoft SMTP Server (TLS) id 15.0.1005.10 via Frontend Transport; Tue, 12 Aug 2014 11:24:11 +0000 Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD046.mail.protection.outlook.com (10.173.161.208) with Microsoft SMTP Server (TLS) id 15.0.1010.11 via Frontend Transport; Tue, 12 Aug 2014 11:24:10 +0000 Received: from [10.29.244.85] ([10.29.244.85]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id s7CBO6oK024423; Tue, 12 Aug 2014 04:24:07 -0700 Message-ID: <53E9F72C.6030602@freescale.com> Date: Tue, 12 Aug 2014 08:14:52 -0300 From: Angolini Daiane-b19406 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Pierre Eliotec , References: In-Reply-To: X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(6009001)(52164004)(189002)(24454002)(377424004)(51234002)(51704005)(199003)(68736004)(44976005)(20776003)(50986999)(99396002)(50466002)(59896001)(80316001)(64126003)(46102001)(77982001)(6806004)(83072002)(19580395003)(92566001)(79102001)(84676001)(85852003)(80022001)(76482001)(64706001)(26826002)(92726001)(106466001)(97736001)(74502001)(4396001)(74662001)(31966008)(81542001)(36756003)(23746002)(33656002)(85306004)(83322001)(87936001)(21056001)(47776003)(65816999)(87266999)(54356999)(65806001)(76176999)(102836001)(83506001)(105606002)(107886001)(65956001)(107046002)(81342001)(104016003)(95666004)(19627235001); DIR:OUT; SFP:; SCL:1; SRVR:BLUPR03MB567; H:tx30smr01.am.freescale.net; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;UriScan:; X-Forefront-PRVS: 0301360BF5 Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=Daiane.Angolini@freescale.com; X-OriginatorOrg: freescale.com Subject: Re: vpu on imx6 solo X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2014 11:24:21 -0000 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit 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 > >