[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#920307: kodi: Kodi crashes when attempting to play video via VDPAU



Package: kodi
Version: 2:17.6+dfsg1-4
Severity: normal

Dear Maintainer,

Following what looks like an upgrade of mesa earlier today, XBMC/kodi started crashing when attempting to play videos; disabling VDPAU allowed the videos to play, although hardware decoding is then not used (kodi shows ff-h264 in use as the decoder). Kodi starts up fine but when you attempt to play a video it crashes straight back to desktop and there's no explicit error message in the log. This error only seems to occur in kodi - for instance mpv is able to play back via VDPAU just fine if I use the --hwdec switch.

Hardware involves an AMD 2400G (Raven Ridge) with the VCN hardware decode block which was working fine up until this morning.

21:00:47.939 T:139828740391680  NOTICE: Running on Debian GNU/Linux buster/sid testing, kernel: Linux x86 64-bit version 4.19.0-1-amd64 21:00:47.939 T:139828740391680  NOTICE: Host CPU: AMD Ryzen 5 2400G with Radeon Vega Graphics, 8 cores available 21:00:48.640 T:139828740391680  NOTICE: GL_RENDERER = AMD RAVEN (DRM 3.27.0, 4.19.0-1-amd64, LLVM 7.0.1)

Not a big problem as falling back to software decode is a viable option for me but it might cause grief for others.

Attached are:
1) excerpt from kodi.log showing a crash when VDPAU is enabled
2) another log showing the same file being played through software when VDPAU is disabled and VAAPI is enabled
3) aptitude log detailing the upgrades prior to this problem appearing


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kodi depends on:
ii  kodi-bin   2:17.6+dfsg1-4
ii  kodi-data  2:17.6+dfsg1-4

Versions of packages kodi recommends:
ii  kodi-repository-kodi [kodi-repository]  2:17.6+dfsg1-4
pn  kodi-visualization-spectrum             <none>

kodi suggests no packages.

-- no debconf information
20:17:27.581 T:140632108638976  NOTICE: VideoPlayer: Opening: /srv/Calibration.mkv
20:17:27.581 T:140632108638976 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
20:17:27.582 T:140629224969984  NOTICE: Creating InputStream
20:17:27.628 T:140629224969984  NOTICE: Creating Demuxer
20:17:27.634 T:140629224969984  NOTICE: Opening stream: 0 source: 256
20:17:27.634 T:140629224969984  NOTICE: Creating video codec with codec id: 27
20:17:27.634 T:140629224969984  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
20:17:27.635 T:140629224969984  NOTICE: Creating video thread
20:17:27.635 T:140629224969984  NOTICE: Opening stream: 1 source: 256
20:17:27.635 T:140629224969984  NOTICE: Finding audio codec for: 86076
20:17:27.635 T:140629224969984  NOTICE: Creating audio thread
20:17:27.635 T:140629224969984  NOTICE: Opening stream: 2 source: 256
20:17:27.635 T:140628604204800  NOTICE: running thread: CVideoPlayerAudio::Process()
20:17:27.635 T:140628092503808  NOTICE: running thread: video_thread
20:17:27.635 T:140628092503808  NOTICE: VAAPI::Close
20:17:27.640 T:140628092503808  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
20:17:27.645 T:140628604204800  NOTICE: Creating audio stream (codec id: 86076, channels: 2, sample rate: 48000, no pass-through)
20:17:27.711 T:140632108638976  NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
20:17:27.711 T:140632108638976  NOTICE: GL: NPOT texture support detected
20:17:27.711 T:140632108638976  NOTICE: GL: Using GL_ARB_pixel_buffer_object
20:17:27.711 T:140632108638976  NOTICE: Using GL_TEXTURE_2D
20:17:27.718 T:140632108638976  NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
20:17:27.718 T:140632108638976  NOTICE: GL: NPOT texture support detected
20:17:27.718 T:140632108638976  NOTICE: GL: Using GL_ARB_pixel_buffer_object
20:17:28.277 T:140628092503808  NOTICE: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 40000
20:17:47.377 T:140632108638976  NOTICE: CVideoPlayer::CloseFile()
20:17:47.377 T:140632108638976  NOTICE: VideoPlayer: waiting for threads to exit
20:17:47.377 T:140629224969984  NOTICE: CVideoPlayer::OnExit()
20:17:47.377 T:140629224969984  NOTICE: Closing stream player 1
20:17:47.377 T:140629224969984  NOTICE: Waiting for audio thread to exit
20:17:47.415 T:140628604204800  NOTICE: thread end: CVideoPlayerAudio::OnExit()
20:17:47.415 T:140629224969984  NOTICE: Closing audio device
20:17:47.465 T:140629224969984  NOTICE: Deleting audio codec
20:17:47.465 T:140629224969984  NOTICE: Closing stream player 2
20:17:47.465 T:140629224969984  NOTICE: waiting for video thread to exit
20:17:47.476 T:140628092503808  NOTICE: thread end: video_thread
20:17:47.477 T:140629224969984  NOTICE: deleting video codec
20:17:47.482 T:140629224969984  NOTICE: Closing stream player 3
20:17:47.483 T:140632108638976  NOTICE: VideoPlayer: finished waiting
20:17:47.526 T:140632108638976  NOTICE: CVideoPlayer::CloseFile()
20:17:47.526 T:140632108638976  NOTICE: VideoPlayer: waiting for threads to exit
20:17:47.526 T:140632108638976  NOTICE: VideoPlayer: finished waiting
20:17:47.526 T:140632108638976  NOTICE: CVideoPlayer::CloseFile()
20:17:47.526 T:140632108638976  NOTICE: VideoPlayer: waiting for threads to exit
20:17:47.526 T:140632108638976  NOTICE: VideoPlayer: finished waiting
===============================================================================

Aptitude 0.8.11: log report
Wed, Jan 23 2019 10:42:12 +0000

  IMPORTANT: this log only lists intended actions; actions which fail
  due to dpkg problems may not be completed.

Will install 30 packages, and remove 0 packages.
55.6 MB of disk space will be used
========================================
[INSTALL, DEPENDENCIES] libsensors5:i386 1:3.5.0-3
[UPGRADE] libcupsfilters1:amd64 1.21.6-2+b1 -> 1.21.6-3
[UPGRADE] libegl-mesa0:amd64 18.2.8-2 -> 18.3.2-1
[UPGRADE] libegl1-mesa:amd64 18.2.8-2 -> 18.3.2-1
[UPGRADE] libgbm1:amd64 18.2.8-2 -> 18.3.2-1
[UPGRADE] libgl1-mesa-dri:amd64 18.2.8-2 -> 18.3.2-1
[UPGRADE] libgl1-mesa-dri:i386 18.2.8-2 -> 18.3.2-1
[UPGRADE] libgl1-mesa-glx:i386 18.2.8-2 -> 18.3.2-1
[UPGRADE] libglapi-mesa:amd64 18.2.8-2 -> 18.3.2-1
[UPGRADE] libglapi-mesa:i386 18.2.8-2 -> 18.3.2-1
[UPGRADE] libglx-mesa0:amd64 18.2.8-2 -> 18.3.2-1
[UPGRADE] libglx-mesa0:i386 18.2.8-2 -> 18.3.2-1
[UPGRADE] libosmesa6:amd64 18.2.8-2 -> 18.3.2-1
[UPGRADE] libosmesa6:i386 18.2.8-2 -> 18.3.2-1
[UPGRADE] libpython-stdlib:amd64 2.7.15-3 -> 2.7.15-4
[UPGRADE] libpython2-stdlib:amd64 2.7.15-3 -> 2.7.15-4
[UPGRADE] libvkd3d1:amd64 1.1-1 -> 1.1-2
[UPGRADE] libvkd3d1:i386 1.1-1 -> 1.1-2
[UPGRADE] mesa-common-dev:i386 18.2.8-2 -> 18.3.2-1
[UPGRADE] mesa-va-drivers:amd64 18.2.8-2 -> 18.3.2-1
[UPGRADE] mesa-va-drivers:i386 18.2.8-2 -> 18.3.2-1
[UPGRADE] mesa-vdpau-drivers:amd64 18.2.8-2 -> 18.3.2-1
[UPGRADE] mesa-vdpau-drivers:i386 18.2.8-2 -> 18.3.2-1
[UPGRADE] mesa-vulkan-drivers:amd64 18.2.8-2 -> 18.3.2-1
[UPGRADE] pxz:amd64 4.999.99~beta5+gitfcfea93-4 -> 4.999.99~beta5+gitfcfea93-5
[UPGRADE] python:amd64 2.7.15-3 -> 2.7.15-4
[UPGRADE] python-minimal:amd64 2.7.15-3 -> 2.7.15-4
[UPGRADE] python2:amd64 2.7.15-3 -> 2.7.15-4
[UPGRADE] python2-minimal:amd64 2.7.15-3 -> 2.7.15-4
[UPGRADE] python3-pkg-resources:amd64 40.6.2-1 -> 40.6.3-1
========================================

Log complete.
20:12:25.701 T:140219622937344  NOTICE: VideoPlayer: Opening: /srv/Calibration.mkv
20:12:25.701 T:140219622937344 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
20:12:25.702 T:140216948553472  NOTICE: Creating InputStream
20:12:25.751 T:140216948553472  NOTICE: Creating Demuxer
20:12:25.811 T:140216948553472  NOTICE: Opening stream: 0 source: 256
20:12:25.811 T:140216948553472  NOTICE: Creating video codec with codec id: 27
20:12:25.811 T:140216948553472  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
20:12:25.811 T:140216948553472  NOTICE: Creating video thread
20:12:25.811 T:140216948553472  NOTICE: Opening stream: 1 source: 256
20:12:25.811 T:140216948553472  NOTICE: Finding audio codec for: 86076
20:12:25.811 T:140216513849088  NOTICE: running thread: video_thread
20:12:25.811 T:140216948553472  NOTICE: Creating audio thread
20:12:25.811 T:140216948553472  NOTICE: Opening stream: 2 source: 256
20:12:25.811 T:140216480278272  NOTICE: running thread: CVideoPlayerAudio::Process()
20:12:25.812 T:140216513849088  NOTICE: CDVDVideoCodecFFmpeg::GetFormat - Creating VDPAU(1280x692)
20:12:25.812 T:140216513849088  NOTICE: VDPAU::CreateContext - creating decoder context
20:12:25.822 T:140216480278272  NOTICE: Creating audio stream (codec id: 86076, channels: 2, sample rate: 48000, no pass-through)
20:12:25.835 T:140216513849088  NOTICE: vdp_device = 0x00000001 vdp_st = 0x00000000
20:12:25.835 T:140216513849088  NOTICE: VDPAU Decoder capabilities:
20:12:25.835 T:140216513849088  NOTICE: name          level macbs width height
20:12:25.835 T:140216513849088  NOTICE: ------------------------------------
20:12:25.835 T:140216513849088  NOTICE: MPEG2_SIMPLE      3 65536  4096  4096
20:12:25.835 T:140216513849088  NOTICE: MPEG2_MAIN        3 65536  4096  4096
20:12:25.835 T:140216513849088  NOTICE: H264_BASELINE    52 65536  4096  4096
20:12:25.835 T:140216513849088  NOTICE: H264_MAIN        52 65536  4096  4096
20:12:25.835 T:140216513849088  NOTICE: H264_HIGH        52 65536  4096  4096
20:12:25.835 T:140216513849088  NOTICE: VC1_SIMPLE        1 65536  4096  4096
20:12:25.835 T:140216513849088  NOTICE: VC1_MAIN          2 65536  4096  4096
20:12:25.835 T:140216513849088  NOTICE: VC1_ADVANCED      4 65536  4096  4096
20:12:25.835 T:140216513849088  NOTICE: MPEG4_PART2_ASP   5 65536  4096  4096
20:12:25.835 T:140216513849088  NOTICE: HEVC_MAIN        186 65536  4096  4096
20:12:25.835 T:140216513849088  NOTICE: ------------------------------------
20:12:25.835 T:140216513849088  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_NOISE_REDUCTION
20:12:25.835 T:140216513849088  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_SHARPNESS
20:12:25.835 T:140216513849088  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL
20:12:25.835 T:140216513849088  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1
20:12:25.842 T:140216513849088  NOTICE:  (VDPAU) screenWidth:1280 vidWidth:1280 surfaceWidth:1280
20:12:25.842 T:140216513849088  NOTICE:  (VDPAU) screenHeight:692 vidHeight:692 surfaceHeight:704
20:12:25.866 T:140216956946176  NOTICE: COutput::OnStartup: Output Thread created
20:12:25.871 T:140216956946176  NOTICE: VDPAU::COutput::CreateGlxContext - created context
20:12:25.871 T:140216956946176  NOTICE: VDPAU::COutput: vdpau gl interop initialized
20:12:25.871 T:140216505456384  NOTICE: CMixer::OnStartup: Output Thread created
20:12:25.871 T:140216505456384  NOTICE:  (VDPAU) Creating the video mixer
20:12:25.871 T:140216956946176  NOTICE: VDPAU::COutput::InitBufferPool - Output Surface created
20:12:25.886 T:140216956946176  NOTICE: Previous line repeats 6 times.
20:12:25.886 T:140216956946176  NOTICE: VDPAU::COutput registered output surfaces
20:12:25.924 T:140219622937344  NOTICE: Previous line repeats 1 times.
20:12:25.924 T:140219622937344  NOTICE: GL: Using VDPAU render method
20:12:25.924 T:140219622937344  NOTICE: GL: NPOT texture support detected
20:12:25.924 T:140219622937344  NOTICE: GL: Using GL_ARB_pixel_buffer_object
20:12:25.924 T:140219622937344  NOTICE: Using GL_TEXTURE_2D

Reply to: