Crash if HW rendering not available
#1
Hello,

System information

XBMC 13 Gotham
Linux Mint 13 Maya (= Ubuntu 12.04.4 LTS, Precise Pangolin)
Arch: i686
Kernel: Linux 3.2.0-61-generic #93-Ubuntu SMP Fri May 2 21:33:33 UTC 2014
CPU: Intel Core2Duo
GPU: nVidia 8400M, official drivers v296

Problem description

When I try to read any video, XBMC crashes or freezes completely. After an investigation of the logs, XBMC faces an issue when HW rendering is activated

Code:
22:06:17 T:3078010688  NOTICE: DVDPlayer: Opening: XXXXXXXXXXXX.mp4
22:06:17 T:3078010688 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:06:17 T:2895207232  NOTICE: Thread DVDPlayer start, auto delete: false
22:06:17 T:2895207232  NOTICE: Creating InputStream
22:06:17 T:2895207232  NOTICE: Creating Demuxer
22:06:17 T:2895207232  NOTICE: Opening video stream: 0 source: 256
22:06:17 T:2895207232  NOTICE: Creating video codec with codec id: 28
22:06:17 T:2895207232  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
22:06:17 T:2895207232  NOTICE: Creating video thread
22:06:17 T:2982861632  NOTICE: Thread DVDPlayerVideo start, auto delete: false
22:06:17 T:2982861632  NOTICE: running thread: video_thread
22:06:17 T:2895207232  NOTICE: Opening audio stream: 1 source: 256
22:06:17 T:2895207232  NOTICE: Finding audio codec for: 86018
22:06:17 T:2895207232  NOTICE: Creating audio thread
22:06:17 T:2974468928  NOTICE: Thread DVDPlayerAudio start, auto delete: false
22:06:17 T:2974468928  NOTICE: running thread: CDVDPlayerAudio::Process()
22:06:17 T:2974468928  NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 44100, no pass-through)
22:06:17 T:2982861632   ERROR: VAAPI - unable to initialize display -1 - unknown libva error
22:06:17 T:2982861632  NOTICE: CDVDVideoCodecFFmpeg::GetFormat - Creating VDPAU(1280x720)
22:06:17 T:2982861632  NOTICE: VDPAU::CreateContext - creating decoder context
22:06:18 T:2982861632  NOTICE: vdp_device = 0x00000001 vdp_st = 0x00000001
22:06:18 T:2982861632   ERROR: (VDPAU) unable to init VDPAU - vdp_st = 0x1.  Falling back.
22:06:18 T:2982861632  NOTICE:  (VDPAU) Close
22:06:18 T:2982861632  NOTICE: VDPAU::Close - closing decoder context


############### END LOG FILE ################

On my system, no HW rendering is available (no VDPAU or VAAPI), but it is enabled in the options. If I disable HW rendering and choose SW rendering instead (including multi-threading or not), it works perfectly. I suspect that if no HW rendering is available, XBMC is not able to fall back on the SW rendering.

Note that it was working perfectly with XBMC 12.
Reply
#2
Already fixed in master. Disable VDPAU for now.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
OK, thank you for your prompt reply!
Reply

Logout Mark Read Team Forum Stats Members Help
Crash if HW rendering not available0