https://bugs.freedesktop.org/show_bug.cgi?id=101254
--- Comment #7 from joeri.exelmans@gmail.com --- I used this guide (https://pkg-xorg.alioth.debian.org/howto/build-mesa.html) to build the mesa project with git version 84012262ea70435507d3b88ddbc0f621781ec275 (Mar 21 2017), and I can use VDPAU again in Kodi.
The configure command that I used: ./configure --enable-vdpau --enable-va --with-gallium-drivers=r600 --with-dri-drivers=radeon --enable-llvm --enable-dri3 --with-llvm-prefix=/usr/lib/llvm-4.0 --enable-gles1 --enable-gles2 --enable-glx-tls
The environment variables when running Kodi: export LIBGL_DRIVERS_PATH=lib export LD_LIBRARY_PATH=lib export VDPAU_DRIVER_PATH=lib (lib being in the mesa git project dir)
So Kodi works, VLC already worked, but mpv is still broken. The movie starts playing (cause I can hear the audio), which is an improvement, but the player window is entirely blue + a lot of opengl errors in stdout. Maybe because old mesa + new mpv is a bad idea, or maybe I did something wrong building mesa.
I'll continue to search for the specific commit that broke VDPAU in Kodi.
dri-devel@lists.freedesktop.org