[Libva] VA Initialize hangs frequently
Kurt Hoffmann
kurt.hoffmann5897 at googlemail.com
Fri Feb 17 02:29:08 PST 2012
Hi,
i am using xine player for watching live TV. Xine runs TV playback by using
the xine-lib-vaapi plugin provided at
https://github.com/huceke/xine-lib-vaapi., branch vaapi-testing. When
switching channels, I'am frequently (but not always) facing a kind of
deadlock situation. The Player hangs and does not proceed. The system
itself does not hang or stop in any way. When pressing a keyboard button or
moving the mouse, the player proceeds immediately with TV stream rendering.
When checking the log I figured out that the hanger happens around
vaInitialize call from code fragment below. Are there any suggestions why
this happens? Or what actions I might take to avoid this stupid bug.
I'm testing on SNB system and I'm using libva and i965 from git/vaapi-ext
branch and latest libcxb. I checked also with different kernels (3.2 and
3.3.) without success.
Any help is appreciated
Kurt
static VAStatus vaapi_init_internal(vo_driver_t *this_gen, int
va_profile, int width, int height, int softrender) {
vaapi_driver_t *this = (vaapi_driver_t *)this_gen;
ff_vaapi_context_t *va_context = this->va_context;
VAConfigAttrib va_attrib;
int maj, min, i;
VAStatus vaStatus;
vaapi_close(this_gen);
vaapi_init_va_context(this);
this->va_context->va_display = vaapi_get_display(this->display,
this->opengl_render);
if(!this->va_context->va_display)
goto error;
vaStatus = vaInitialize(this->va_context->va_display, &maj, &min);
if(!vaapi_check_status((vo_driver_t *)this, vaStatus, "vaInitialize()"))
goto error;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libva/attachments/20120217/e369ff17/attachment.htm>
More information about the Libva
mailing list