From owner-freebsd-multimedia@FreeBSD.ORG Sun Jan 9 14:26:21 2011 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FD5C106564A for ; Sun, 9 Jan 2011 14:26:21 +0000 (UTC) (envelope-from mickael.maillot@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id EAEAE8FC13 for ; Sun, 9 Jan 2011 14:26:20 +0000 (UTC) Received: by qyk8 with SMTP id 8so634409qyk.13 for ; Sun, 09 Jan 2011 06:26:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=WJDZpd9YwUOaYM35Oqmvv8tHYnqH4b4OnPyqWR9DSvo=; b=dZjv1zwv6GI53ZX4nw6RCbEJTaWVKjCfwIHDzmugaKu8ysYoMtZR+BK3bSD5TQ6v62 et2r8CdhzWTJkK7hhP8EHFTSoEPtJj2QiY5xO8xruiqgYwf3V4Z1g512ET116610XcCY rOJO0WqfyJVflBVLnGIUmf8APqXyNI1msfeKY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=MMrX6cPYyDNzg+4Q+E4PC9+wxYVmhLGBd+RzcZX6bPxx1Ej6Kp7X8YeO0glHkUP9xF NrVYHfD+egGx3L39yoXZCWyusc5tAcXAqpwgqAlluPI+mEAb3OhjrrUVYHC8TBwDgTah nr94Vb7kT69ZxQwtBx/iggwFyHedLpZhdN0NU= MIME-Version: 1.0 Received: by 10.229.215.147 with SMTP id he19mr429061qcb.79.1294583178485; Sun, 09 Jan 2011 06:26:18 -0800 (PST) Received: by 10.229.52.130 with HTTP; Sun, 9 Jan 2011 06:26:18 -0800 (PST) In-Reply-To: <86oc7rcwe4.fsf@gmail.com> References: <86wrmfcwo2.fsf@gmail.com> <86oc7rcwe4.fsf@gmail.com> Date: Sun, 9 Jan 2011 15:26:18 +0100 Message-ID: From: =?ISO-8859-1?Q?Micka=EBl_Maillot?= To: Anonymous Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org Subject: Re: XBMC crash with vaapi vdpau X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jan 2011 14:26:21 -0000 Hi, i recompiled libva & vdpau-video WITH_DEBUG but no more usefull information in bt: (gdb) bt #0 0x0000000812e14349 in __vaDriverInit_0_31 () from /usr/local/lib/va/nvidia_drv_video.so #1 0x0000000812e11794 in __vaDriverInit_0_31 () from /usr/local/lib/va/nvidia_drv_video.so #2 0x0000000812e119a7 in __vaDriverInit_0_31 () from /usr/local/lib/va/nvidia_drv_video.so #3 0x0000000812e11ad2 in __vaDriverInit_0_31 () from /usr/local/lib/va/nvidia_drv_video.so #4 0x0000000801344b63 in vaCopySurfaceGLX () from /usr/local/lib/libva-glx= .so.1 #5 0x000000080134315f in vaCopySurfaceGLX () from /usr/local/lib/libva-glx= .so.1 #6 0x0000000000b38179 in CLinuxRendererGL::UploadVAAPITexture (this=3D0x811dd0800, index=3DVariable "index" is not available. ) at LinuxRendererGL.cpp:2348 #7 0x0000000000b399dc in CLinuxRendererGL::Render (this=3D0x811dd0800, flags=3DVariable "flags" is not available. ) at LinuxRendererGL.cpp:1118 #8 0x0000000000b35856 in CLinuxRendererGL::RenderUpdate (this=3D0x811dd0800, clear=3Dtrue, flags=3D0, alpha=3D255) at LinuxRendererGL.cpp:606 #9 0x0000000000b2fa95 in CXBMCRenderManager::PresentSingle (this=3D0x1297d20) at RenderManager.cpp:479 #10 0x0000000000b3070f in CXBMCRenderManager::Present (this=3D0x1297d20) at RenderManager.cpp:463 #11 0x000000000071097b in CApplication::RenderNoPresent (this=3D0x1298ee0) at Application.cpp:1791 #12 0x000000000070a567 in CApplication::Render (this=3D0x1298ee0) at Application.cpp:2048 #13 0x00000000009f83ab in CXBApplicationEx::Run (this=3D0x1298ee0) at XBApplicationEx.cpp:138 #14 0x00000000009f8988 in main (argc=3D1, argv=3D0x7fffffffe870) at xbmc.cp= p:172 it crash when i want to read a 1080p mkv file which run fine with VDPAU. vainfo run fine: libva: libva version 0.31.1 Xlib: extension "XFree86-DRI" missing on display ":0.0". libva: va_getDriverName() returns 0 libva: Trying to open /usr/local/lib/va/nvidia_drv_video.so libva: va_openDriver() returns 0 vainfo: VA API version: 0.31 vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.3.pre4 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264High : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD but vatest_10 and 11 failed: *** vatest_10: Create and destroy buffers libva: libva version 0.31.1 Xlib: extension "XFree86-DRI" missing on display ":0.0". libva: va_getDriverName() returns 0 libva: Trying to open /usr/local/lib/va/nvidia_drv_video.so libva: va_openDriver() returns 0 Assertion failed: (VA_STATUS_SUCCESS =3D=3D va_status), function test, file test_10.c, line 112. *** vatest_11: Map and unmap buffers libva: libva version 0.31.1 Xlib: extension "XFree86-DRI" missing on display ":0.0". libva: va_getDriverName() returns 0 libva: Trying to open /usr/local/lib/va/nvidia_drv_video.so libva: va_openDriver() returns 0 --- vaCreateBuffer created buffer 04000000 of type 0 --- vaCreateBuffer created buffer 04000001 of type 1 --- vaCreateBuffer created buffer 04000002 of type 2 Assertion failed: (VA_STATUS_SUCCESS =3D=3D va_status), function test, file test_11.c, line 129. 2011/1/8 Anonymous : > Anonymous writes: > >> Micka=EBl Maillot writes: >> >>> Hi, >>> >>> i just tried the VAAPI / VDPAU option in XBMC (trunk) but i can't play >>> video without crash and i don't know what can i do: >>> >>> (gdb) bt >>> #0 =A00x0000000812e0e079 in __vaDriverInit_0_31_1_sds () from >>> /usr/local/lib/va/nvidia_drv_video.so >>> #1 =A00x0000000812e0cd8b in __vaDriverInit_0_31_1_sds () from >>> /usr/local/lib/va/nvidia_drv_video.so >> >> Does vainfo crash too? > > Not sure but vdpau-video may crash if you have an nvidia card that > doesn't support VDPAU features, e.g. > > =A0http://forums.freebsd.org/showthread.php?t=3D16366 >