How do I add NVIDIA GPU to a Linux virtual machine?

Sorin Bobariu 1 Reputation point
2021-10-26T13:43:27.71+00:00

Just created a Linux Ubuntu VM, but I also need to have NVIDIA GPU on this machine

Skype for Business Linux
Skype for Business Linux
Skype for Business: A Microsoft communications service that provides communications capabilities across presence, instant messaging, audio/video calling, and an online meeting experience that includes audio, video, and web conferencing.Linux: A family of open-source Unix-like operating systems.
458 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Pope_Innocent_3rd 316 Reputation points
    2021-10-26T14:32:53.147+00:00

    Open Terminal

    1. $ apt search nvidia-driver
    2. $ apt-cache search nvidia-driver
    3. $ sudo apt update
    4. $ sudo apt upgrade
    5. $ sudo apt install nvidia-driver-<the number it shows you. In my case 460$ >
    6. reboot
    7. Verify the installation with: nvidia-smi

    Hope it was helpful


  2. F1 Admin 1 Reputation point
    2022-08-26T14:49:06.857+00:00

    This caused a boot loop failure in a Standard NV36ads A10 v5 (36 vcpus, 440 GiB memory)

    235245-image.png

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.