Please Help: My Ubuntu(VirtualBox machine) Does not detect my GPU NVIDIA

I want to install nvidia drivers CUDA, Cudnn (for Deaplearning), on Ubuntu (Virtual Machine). and I have 2 GPU installed in my physical machine(windows OS) and you can see them in my device manager :

-Intel(R) UHD Graphics 620
-NVIDIA GeoForce MX110

Here is the screenshot:
GPUs on my system

I already succeeded in the installation of NVIDIA drivers (by switching from an Intel card to Nvidia using the NVIDIA control panel), then the installation of CUDA and Cudnn (for Tensorflow), on Windows and it is perfect: I can now use Tensorflow on my local machine using Anaconda, Pycharm...

But, now I need CUDA and Cudnn installed on my virtual machine VirtualBox (Ubuntu), because I have to use the linux command line (for a tokenizer...)

The problem is that I tried all the methods (for example, this link)

But the problem is: Ubuntu doesn’t recognize my graphic cards (especially NVIDIA card that I need to install CUDA and Cudnn...)

and when I query my own graphics card model, it doesn’t recognize the NVIDIA card. Here's a screenshot:
Screenshot it does not recognize my GPUs

And when I type : sudo ubuntu-drivers devices this is the result:
No GPU detected

And when I go to "Additional drivers", it shows me this (that my cards are not working), and even when I try to check "continue using a manullay installed driver", I can’t save the changes.Here a screenshot:
Additional drivers not working

in other words : How to enable the passthrough from Windows as Host Operating System to Linux (ubuntu) as guest OP (on VirtualBox Machine) and Thanks. Thanks in advance!

1 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like