Tag Archives: LinuxMint

VDPAU stops working after you upgrade the NVIDIA drivers on debian based distros

The last week or so I’ve been having issues with the NVIDIA drivers on my Acer Apsire Revo and had to reinstall them several times (due to a failed update of the new DKMS package breaking everything). I took the opportunity to also upgrade them to the latest version. Eventually after lots of playing around I got them to work again but my 720p videos weren’t behaving. After a bit of digging I found the vdpauinfo tool and got the following message:

“Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory”

This seemed a bit strange as I knew it was installed as I distinctly remember doing it. A bit more digging turns out that the previous installers add a symlink which what apps use instead [ref]. So it was a simple matter of adding it back in with the flowing command:

1
sudo ln -s /usr/lib/vdpau/libvdpau_nvidia.so.1 /usr/lib/libvdpau_nvidia.so

Hey presto everything was back to normal and the HD gods were smiling down on me! 🙂

Using a symlink to emulate the windows command cls in Linux

Even though the command “clear” is really obvious in Linux (you can also use CTRL+L) I always forget and try and use the windows “cls” command. All you need to do to make it work on Linux is create a symlink (same as a Junction point in windows, NOT a shortcut) pointing back to the clear command. This is actually very simple and is achieved by the following command (Tested on LinuxMint but should work on all versions of Linux):

1
sudo ln -s /usr/bin/clear /usr/bin/cls