Kodi starts very slow, but works

Hi everyone, a new member to this forum and manjaro (less than 1 week), coming from Ubuntu. The transition was smooth and the performance of my XPS 13 9300 drastically improved.

Problem: Kodi starts very slow, and generates the following message when started from the terminal:
“Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory”

I have searched the net and the forum and found that inserting the following in the /etc/environment:
DRI_PRIME=1
LIBVA_DRIVER_NAME=i915

may help. I’ve looked at the /usr/lib/dri and changed i915 for i965 or iris, however, it not helped. I’m looking for some advice. Since this was brand new install, kodi start it slow starts only after some time, so probably some software I’ve installed (Virtualbox???) must have cause the conflict.

Here is the system info:
I have installed manjaro with Xface, and then installed vanilla i3wm.
OS: Manjaro Linux x86_64
Host: XPS 13 9300
Kernel: 5.8.18-1-MANJARO
Packages: 1250 (pacman), 2 (snap)
Shell: bash 5.0.18
Resolution: 3840x2400
WM: i3
Theme: Adwaita [GTK3]
Icons: Adwaita [GTK3]
Terminal: xfce4-terminal
Terminal Font: Monospace 10
CPU: Intel i7-1065G7 (8) @ 3.900GHz
GPU: Intel Iris Plus Graphics G7
Memory: 2454MiB / 15593MiB

Here is the output of the: $ vdpauinfo
display: :0 screen: 0
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1

I would appreciate any help, as I ran out of ideas (and google searches :slight_smile: ).
Thanks,
tekker

i have installed vidcutter today and during runtime, i have seen this missing .so too:

$ vidcutter
Cannot load libcuda.so.1
VLC media player 3.0.11.1 Vetinari (revision 3.0.11.1-0-g52483f3ca2)
[0000564ac81d4660] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0000564ac82af6b0] main audio output error: too low audio sample frequency (0)
[00007fef8cd53c80] main decoder error: failed to create audio output
[0000564ac82af6b0] vlcpulse audio output error: digital pass-through stream connection failure: Not supported
[0000564ac82af6b0] main audio output error: module not functional
[00007fef8cd53c80] main decoder error: failed to create audio output
[00007fef90074980] vaapi generic error: profile(3) is not supported
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
[mpeg4 @ 0x7fef8cd40500] get_buffer() failed
[mpeg4 @ 0x7fef8cd40500] thread_get_buffer() failed
[mpeg4 @ 0x7fef8cd40500] get_buffer() failed (-12 (nil))
QObject::~QObject: Timers cannot be stopped from another thread
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 18051, resource id: 8873923, major code: 40 (TranslateCoords), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 21381, resource id: 8814443, major code: 40 (TranslateCoords), minor code: 0

$ pamac search -a libvdpau
        lib32-libvdpau-va-gl                                                                                                                                              0.4.2-2           AUR 
            VDPAU driver with OpenGL/VAAPI backend
        lib32-libvdpau [Installed]                                                                                                                                       [Installed] 1.4-1             multilib 
            Nvidia VDPAU library
        libvdpau-va-gl-i965                                                                                                                                               1-1               AUR 
            VDPAU driver with OpenGL/VAAPI backend for i965 chipset
        libvdpau-va-gl                                                                                                                                                    0.4.2-3           community 
            VDPAU driver with OpenGL/VAAPI backend
        libvdpau-tegra-git                                                                                                                                                r110.6a17ba7-2    AUR 
            VDPAU backend driver for NVIDIA Tegra 20/30 SoC's
        libvdpau-sunxi-git                                                                                                                                                0.4.r6.c2fb693-1  AUR 
            VDPAU driver for Allwinner sunxi SoCs
        libvdpau-sunxi                                                                                                                                                    0.4-1             AUR 
            VDPAU driver for Allwinner sunxi SoCs
        libvdpau [Installed]                                                                                                                                             [Installed] 1.4-1             extra 
            Nvidia VDPAU library

$ locate libvdpau_va_gl.so

> ..nothing found..

$ find / -mount -type f -iname *.so 2>/dev/null|grep -v timeshift|grep vdp
/usr/lib32/dri/vdpau_drv_video.so
/usr/lib/vlc/plugins/vdpau/libvdpau_sharpen_plugin.so
/usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so
/usr/lib/vlc/plugins/vdpau/libvdpau_display_plugin.so
/usr/lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.so
/usr/lib/vlc/plugins/vdpau/libvdpau_deinterlace_plugin.so
/usr/lib/vlc/plugins/vdpau/libvdpau_adjust_plugin.so
/usr/lib/vlc/plugins/video_output/libglconv_vdpau_plugin.so
/usr/lib/subtitleeditor/plugins/subtitleformats/libadobeencoredvdpal.so
/usr/lib/dri/vdpau_drv_video.so

$ find /lib/modules/ -type f|grep vdp

/lib/modules/5.8.18-1-MANJARO/kernel/drivers/virtio/virtio_vdpa.ko.xz
/lib/modules/5.8.18-1-MANJARO/kernel/drivers/vdpa/ifcvf/ifcvf.ko.xz
/lib/modules/5.8.18-1-MANJARO/kernel/drivers/vdpa/vdpa.ko.xz
/lib/modules/5.8.18-1-MANJARO/kernel/drivers/vdpa/vdpa_sim/vdpa_sim.ko.xz
/lib/modules/5.8.18-1-MANJARO/kernel/drivers/vhost/vhost_vdpa.ko.xz
/lib/modules/5.8.18-1-MANJARO/build/include/linux/vdpa.h
/lib/modules/5.8.18-1-MANJARO/build/include/config/vdpa.h
/lib/modules/5.8.18-1-MANJARO/build/include/config/virtio/vdpa.h
/lib/modules/5.8.18-1-MANJARO/build/include/config/vdpa/sim.h
/lib/modules/5.8.18-1-MANJARO/build/include/config/vhost/vdpa.h
/lib/modules/5.8.18-1-MANJARO/build/drivers/vdpa/Kconfig