From: "Xiang, Haihao" Subject: Re: Crash in Gstreamer Vaapi Application for playing multiple videos Date: Thu, 24 Feb 2011 10:46:25 +0800 Message-ID: <1298515585.31150.35.camel@xhh-ctg32> References: <4D64CDA3.8060901@tataelxsi.co.in> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id D5E649E826 for ; Wed, 23 Feb 2011 18:47:02 -0800 (PST) In-Reply-To: <4D64CDA3.8060901@tataelxsi.co.in> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Jyotsana Cc: "intel-gfx@lists.freedesktop.org" List-Id: intel-gfx@lists.freedesktop.org Hi, I tried to reproduce the issue with your sample code but failed. No window is created even with single video file. With gdb's help, I found the sample doesn't receive 'prepare-xwindow-id' message. After building the sample code ( I modified the variable 'Filename'), I directly run MultiVideo $> ./MultiVideo Did I miss something? Thanks Haihao > Hi, > > I am trying to play multiple videos simultaneously using > GStreamer(vaapidecode and vaapisink plugins) and libVA-1.0.7. > In the sample application I am creating multiple windows using > "XCreateWindow" and passing the generated window ID to vaapisink. > There are two problems I am facing: > > 1. The first video is getting rendered but the other videos are not > getting rendered. > > 2. The application crashes randomly. > None of the gstreamer calls return a failure and the state is getting > changed to play successfully. Tried the application with different > container formats. > Also from the command line using "gst-launch" I am able to playback > multiple videos simultaneously. > > The backtrace of the gdb log is attached "CrashLog.txt". The log > suggests the crash is in "i965_PutSurface". > > I am using the following packages as mentioned on Intel Linux graphics > site "http://intellinuxgraphics.org/2010Q4.html": > > 2D driver: xf86-video-intel 2.14.0 release > > > 3D driver: mesa 7.10 > Libdrm: libdrm-2.4.23 release > > Kernel: 2.6.37 release > > Cairo: cairo-1.10.2 release > Libva: libva-1.0.7 release > > xserver: 1.9.3 > > Apart from this I have installed the following gstreamer packages: > gstreamer-0.10.31 > gst-plugins-base-0.10.29 > gst-plugins-good-0.10.22 > gst-plugins-bad-0.10.19 > gst-plugins-ugly-0.10.15 > gst-ffmpeg-0.10.10. > > For reference attaching the sample application "MultiVideo.c". > > I am not sure if it is application problem or plugin or driver > limitation or X? As the same application runs with "ximagesink"and > decoder like ffmpeg. > What could be the problem? > > PS : OS : Fedora Core 13. Platform: Sandy Bridge.Kernel : 2.6.37. > > Regards, > Jyotsana. >