XBMC crash with vaapi vdpau

Mickaël Maillot mickael.maillot at gmail.com
Sun Jan 9 14:26:21 UTC 2011


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=0x811dd0800, index=Variable "index" is not available.
) at LinuxRendererGL.cpp:2348
#7  0x0000000000b399dc in CLinuxRendererGL::Render (this=0x811dd0800,
flags=Variable "flags" is not available.
) at LinuxRendererGL.cpp:1118
#8  0x0000000000b35856 in CLinuxRendererGL::RenderUpdate
(this=0x811dd0800, clear=true, flags=0, alpha=255) at
LinuxRendererGL.cpp:606
#9  0x0000000000b2fa95 in CXBMCRenderManager::PresentSingle
(this=0x1297d20) at RenderManager.cpp:479
#10 0x0000000000b3070f in CXBMCRenderManager::Present (this=0x1297d20)
at RenderManager.cpp:463
#11 0x000000000071097b in CApplication::RenderNoPresent
(this=0x1298ee0) at Application.cpp:1791
#12 0x000000000070a567 in CApplication::Render (this=0x1298ee0) at
Application.cpp:2048
#13 0x00000000009f83ab in CXBApplicationEx::Run (this=0x1298ee0) at
XBApplicationEx.cpp:138
#14 0x00000000009f8988 in main (argc=1, argv=0x7fffffffe870) at xbmc.cpp: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 == 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 == va_status), function test,
file test_11.c, line 129.


2011/1/8 Anonymous <swell.k at gmail.com>:
> Anonymous <swell.k at gmail.com> writes:
>
>> Mickaël Maillot <mickael.maillot at 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  0x0000000812e0e079 in __vaDriverInit_0_31_1_sds () from
>>> /usr/local/lib/va/nvidia_drv_video.so
>>> #1  0x0000000812e0cd8b 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.
>
>  http://forums.freebsd.org/showthread.php?t=16366
>


More information about the freebsd-multimedia mailing list