Kodi Community Forum
Linux - VAAPI causes freeze on stop on 13.1 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Linux - VAAPI causes freeze on stop on 13.1 (/showthread.php?tid=200511)

Pages: 1 2


RE: Linux - VAAPI causes freeze on stop on 13.1 - FernetMenta - 2014-07-26

the bt does not show all threads. did you type thread apply all?


RE: Linux - VAAPI causes freeze on stop on 13.1 - marco44 - 2014-07-26

Oups, no forgot. Sorry about that.

This one should be better.
http://pastebin.com/vLLBqpwa


RE: Linux - VAAPI causes freeze on stop on 13.1 - FernetMenta - 2014-07-26

You did not hit any vaapi issue in this case but some other very very strange issue. Your system seems to hang in pthread_cond_destroy. the condvar is still in use by some other slice threads which sould not be the case because we are already after the join:

https://github.com/xbmc/FFmpeg/blob/release/2.2-xbmc/libavcodec/pthread_slice.c#L118

After the join all slice threads should have terminated but your bt shows some active ones. I don't have any clue what's going on here yet.


RE: Linux - VAAPI causes freeze on stop on 13.1 - FernetMenta - 2014-07-26

can you try this patch https://github.com/FernetMenta/xbmc/commit/be40c6f1919adb894cf6f5c101f99b75f6e159ee


RE: Linux - VAAPI causes freeze on stop on 13.1 - marco44 - 2014-07-26

This fixes the problem. Is there some more information I can provide ?

Edit: tested it on git head. Should I test it on 13.1 too ?


RE: Linux - VAAPI causes freeze on stop on 13.1 - fritsch - 2014-07-26

Nope - fernet PRd it, so it will most likely hit 13.2: https://github.com/xbmc/xbmc/pull/5101

Thanks for your help, highly appreciated.


RE: Linux - VAAPI causes freeze on stop on 13.1 - marco44 - 2014-07-26

Thanks for XBMC, greatly appreciated too Smile


RE: Linux - VAAPI causes freeze on stop on 13.1 - techmunk - 2014-07-27

Thanks! With a quick test, this appears to also fix my issue at http://forum.xbmc.org/showthread.php?tid=200388&pid=1760139 Smile