Solution Dogsbody 2 Posted March 6, 2023 Solution Share Posted March 6, 2023 TL;DR Ubuntu actually make it really easy to install the right nvidia drivers however there are separate packages for NVDEC & NVENC so you need to find the right packages. The magic sauce (at the time of writing) is... sudo apt install nvidia-headless-525-server nvidia-settings nvidia-utils-525-server libnvidia-decode-525-server libnvidia-encode-525-server Background I'm running Emby in a VM (on TrueNAS SCALE). I decided to add a GPU and PCI passthrough for hardware accelerated transcoding. All the advice on the Emby pages say that you should install the nvidia driver from the nvidia homepage and NOT from the package manager. I couldn't get this to work and it felt wrong as I wouldn't get automatic security patches. There seemed to be other users on the forums that had installed an entire xserver dekstop on their VM's just to get the drivers to work. I was adamant that I wanted to use the package manager. Nvidia drivers can typically be installed with a simple... sudo apt install nvidia-headless-525-server ...however that obviously didn;t work. You have to specifically install the nvidia libraries for NVDEC & NVENC... sudo apt install libnvidia-decode-525-server libnvidia-encode-525-server ... the rest is just gravy which give you tools like `nvidia-smi`... sudo apt install nvidia-settings nvidia-utils-525-server I hope this is of use to someone else. 2 Link to comment Share on other sites More sharing options...
Luke 37066 Posted March 8, 2023 Share Posted March 8, 2023 Hi, thanks for sharing. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now