Kodi Community Forum

Full Version: VAAPI Unable to Init Display - error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey Guys,

I recently upgraded to a 13.0 (probably not the best idea, but wanted to try it out some). And since doing so, i have issues playing any video file from my library. I have never had issues playing video files (except when my library is unavailable on my NAS - which this isn't the case here). I have posted links to both teh XBMC.log and the Crash log below. The gist of the what i am seeing is below though (the part where playing a video file errors (but the log is useful to see version/hardware etc):

Code:
11:35:21 T:3008001856  NOTICE: DVDPlayer: Opening: smb://192.168.1.9/Media/TV Shows/Arrow/Season 2/Arrow.S02E06.PROPER.HDTV.x264-2HD.mp4
11:35:21 T:3008001856 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
11:35:21 T:2924317504  NOTICE: Thread DVDPlayer start, auto delete: false
11:35:21 T:2924317504  NOTICE: Creating InputStream
11:35:21 T:2924317504  NOTICE: Creating Demuxer
11:35:21 T:2924317504  NOTICE: Opening video stream: 0 source: 256
11:35:21 T:2924317504  NOTICE: Creating video codec with codec id: 28
11:35:21 T:2924317504  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
11:35:21 T:2924317504  NOTICE: Creating video thread
11:35:21 T:2731535168  NOTICE: Thread DVDPlayerVideo start, auto delete: false
11:35:21 T:2924317504  NOTICE: Opening audio stream: 1 source: 256
11:35:21 T:2924317504  NOTICE: Finding audio codec for: 86018
11:35:22 T:2731535168  NOTICE: running thread: video_thread
11:35:22 T:2924317504  NOTICE: Creating audio thread
11:35:22 T:2723142464  NOTICE: Thread DVDPlayerAudio start, auto delete: false
11:35:22 T:2723142464  NOTICE: running thread: CDVDPlayerAudio::Process()
11:35:22 T:2723142464  NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)
11:35:22 T:2731535168   ERROR: VAAPI - unable to initialize display -1 - unknown libva error
11:35:22 T:2731535168  NOTICE: CDVDVideoCodecFFmpeg::GetFormat - Creating VDPAU(720x400)
11:35:22 T:2731535168  NOTICE: VDPAU::CreateContext - creating decoder context
11:35:22 T:2731535168  NOTICE: vdp_device = 0x00000001 vdp_st = 0x00000001
11:35:22 T:2731535168   ERROR: (VDPAU) unable to init VDPAU - vdp_st = 0x1.  Falling back.
11:35:22 T:2731535168  NOTICE:  (VDPAU) Close

Your debug xbmc.log: http://xbmclogs.com/show.php?id=122458
Your XBMC crashlog: http://xbmclogs.com/show.php?id=122459

Please let me know if you need any other information. Thanks so much in advance for your help.
1) You are missing the correct libva-drivers or don't have intel hardware (yeah, nvidia hardware)
2) You are initing vdpau which produces the crash - which was fixed more than 3 months ago. Please update your xbmc.

And as far as I see - your nvidia card is not support for vdpau at all - therefore just disable VDPAU and vaapi
In searching for the way to disable these, i found the following change to teh advancedsettings.xml file, is this correct:

Code:
<allowmpeg4vdpau>true</allowmpeg4vdpau> <!-- allows mpeg4 decoding with vdpau, currently broken -->
  <allowmpeg4vaapi>true</allowmpeg4vaapi> <!-- allows mpeg4 decoding with vaapi, currently broken on Nvidia cards, not implemented on Intel -->

This was this document:

http://wiki.xbmc.org/?title=Advancedsettings.xml

After updating my .xml file (with these options set to 'false') and rebooting the XBMC box - attempting to play a file, this has not resolved it.

And in terms of upgrading XBMC - i ran an apt-get update/upgrade last night and am currently running 13.0.

Thanks for your continued support.
Upgrade your xbmc. You are on alpha9(!)

You GPU does not support any of those ... just disable VDPAU in the Video Playback settings.