Created attachment 420912 [details] emerge --info SUMMARY libvdpau_nvidia.so is installed in /usr/lib instead of /usr/lib/vdpau Upgraded nvidia-drivers from 340.93 (I think) to 355.11-r2, and found that my graphics card wasn't supported. Downgraded to highest version with support - 340.96. This installed libvdpau_nvidia into /usr/lib and set up appropriate symlinks in that directory. However, vdpau appears to expect driver libraries in /usr/lib/vdpau/ The previous driver remained in /usr/lib/vdpau/ When I fixed up the symlink in vdpau/ to point to the file in lib/ I'm guessing there's some issue in the install script for nvidia-drivers 340.96 or maybe libvdpau. SYMPTOMS However, after reboot, kodi was found to be stuttering. Debug log showed that VDPAU was throwing an error "unable to init VDPAU - vdp_st = 0x1. Falling back." Running vdpauinfo returned an error "ERROR Creating VDPAU device". Tried reinstalling nvidia-drivers and libvdpau, with no effect. When I did "export VDPAU_NVIDIA_DEBUG=3; export VDPAU_TRACE=1; vdpauinfo" it showed that it was using the NVidia vdpau driver version 340.93. When I checked, this didn't match the nvidia driver I was using (340.96). /usr/lib/libvdpau_nvidia.so.340.96 existed, and strings verified it was the correct version. Symlinks in /usr/lib pointed to that file. However, I found a /usr/lib/vdpau/libvdpau_nvidia.so.340.93 with symlink to it from /usr/lib/vdpau/libvdpau_nvidia.so.1 When I changed that symlink to instead point to the 340.96 file, everything started working properly. WORKAROUND rm /usr/lib/vdpau/libvdpau_nvidia.so.1 ln -s /usr/lib/libvdpau_nvidia.so.1 /usr/lib/vdpau/libvdpau_nvidia.so.1
(In reply to gentoobugzilla from comment #0) > Created attachment 420912 [details] > emerge --info > > SUMMARY > libvdpau_nvidia.so is installed in /usr/lib instead of /usr/lib/vdpau > > Upgraded nvidia-drivers from 340.93 (I think) to 355.11-r2, and found that > my graphics card wasn't supported. Downgraded to highest version with > support - 340.96. This installed libvdpau_nvidia into /usr/lib and set up > appropriate symlinks in that directory. However, vdpau appears to expect > driver libraries in /usr/lib/vdpau/ The previous driver remained in > /usr/lib/vdpau/ When I fixed up the symlink in vdpau/ to point to the file > in lib/ > > I'm guessing there's some issue in the install script for nvidia-drivers > 340.96 or maybe libvdpau. > > SYMPTOMS > However, after reboot, kodi was found to be stuttering. Debug log showed > that VDPAU was throwing an error "unable to init VDPAU - vdp_st = 0x1. > Falling back." Running vdpauinfo returned an error "ERROR Creating VDPAU > device". Tried reinstalling nvidia-drivers and libvdpau, with no effect. > > When I did "export VDPAU_NVIDIA_DEBUG=3; export VDPAU_TRACE=1; vdpauinfo" it > showed that it was using the NVidia vdpau driver version 340.93. When I > checked, this didn't match the nvidia driver I was using (340.96). > /usr/lib/libvdpau_nvidia.so.340.96 existed, and strings verified it was the > correct version. Symlinks in /usr/lib pointed to that file. However, I found > a /usr/lib/vdpau/libvdpau_nvidia.so.340.93 with symlink to it from > /usr/lib/vdpau/libvdpau_nvidia.so.1 When I changed that symlink to instead > point to the 340.96 file, everything started working properly. > > WORKAROUND > rm /usr/lib/vdpau/libvdpau_nvidia.so.1 The nvidia-drivers ebuilds do neither install that file there, nor keep old versions of libvdpau_nvidia lingering. You must have been tinkering with it outside package management.