question

SorinBobariu-9631 avatar image
0 Votes"
SorinBobariu-9631 asked NilsKwade commented

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

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

office-teams-linux-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

NilsKwade avatar image
0 Votes"
NilsKwade answered NilsKwade commented

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @SorinBobariu-9631

Thanks for @NilsKwade-1102 suggestion! Does it work for you?

0 Votes 0 ·

For me this worked
Otherwise I wouldnt have suggested it ^^

I have a Ubuntu 20.04 and a nVidia RTX2080 Super in my System.
Together with Wine its actually really effective to also play games on Linux.
Eventhough AMD is easier because Linux actively supports AMD but not nVidia

0 Votes 0 ·