Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jan 2011 15:26:18 +0100
From:      =?ISO-8859-1?Q?Micka=EBl_Maillot?= <mickael.maillot@gmail.com>
To:        Anonymous <swell.k@gmail.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: XBMC crash with vaapi vdpau
Message-ID:  <AANLkTi=TgYf3hbDWeqmD1rAhH1amneiiV6wPygdxAP_7@mail.gmail.com>
In-Reply-To: <86oc7rcwe4.fsf@gmail.com>
References:  <AANLkTina7ScTL5AYvX%2B=L=TBm-Bm%2BWyR1fKm=P98qG30@mail.gmail.com> <86wrmfcwo2.fsf@gmail.com> <86oc7rcwe4.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <swell.k@gmail.com>:
> Anonymous <swell.k@gmail.com> writes:
>
>> Micka=EBl Maillot <mickael.maillot@gmail.com> 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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=TgYf3hbDWeqmD1rAhH1amneiiV6wPygdxAP_7>