LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 08-18-2013, 02:57 AM   #1
fkasmani
Member
 
Registered: Dec 2007
Posts: 178

Rep: Reputation: 17
Installing Nvidia Drivers on a guest VM


Hello,

I have Linux Mint 15 as the Host OS and Win Vista as the guest through VirtualBox.

My PC has an Nvidia GT610 and when I try to install the drivers into the guest Vista, the Nvidia CD that came along with the card says there's no compatible hardware in my system.

Would really appreciate some help on this, pls.

Thanks in anticipation.
 
Old 08-18-2013, 06:46 AM   #2
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
The reason you get that message is that there is no compatible hardware on your system. The video card that Vista is using is the VirtualBox video adaptor which is a virtual device provided to guest OSs. The video drivers required for this are present in the guest extensions that can be installed from the menu of VirtualBox's window.
 
1 members found this post helpful.
Old 08-18-2013, 06:46 AM   #3
naitso
LQ Newbie
 
Registered: Aug 2010
Posts: 14

Rep: Reputation: 2
Installing Nvidia Drivers on a guest VM

Hi, Virtualbox create a specific hardware and you must install guest add-on to install the correct driver for Vista VM. Virtualbox do not use the real hardware installed on your system
 
1 members found this post helpful.
Old 08-18-2013, 02:24 PM   #4
fkasmani
Member
 
Registered: Dec 2007
Posts: 178

Original Poster
Rep: Reputation: 17
Thanks.

I've already installed guest add-on's; now do I need to get some nvidia add-ons?
 
Old 08-18-2013, 02:37 PM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by fkasmani View Post
Thanks.

I've already installed guest add-on's; now do I need to get some nvidia add-ons?
No, the guest operating system (Windows in your case) does not see the NVIDIA hardware so does not need any drivers for it.
 
Old 08-19-2013, 02:21 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
In only some of the most advanced VM's might you need any driver for the host video card.

A virtual machine is a software version of a single type of computer. It is independent from most of your hosts hardware. It has a software video card. As such, you support the software video card and not the hosts video card.


Mint may already have a virtual video card driver installed.
 
1 members found this post helpful.
Old 08-20-2013, 02:51 AM   #7
fkasmani
Member
 
Registered: Dec 2007
Posts: 178

Original Poster
Rep: Reputation: 17
I'm looking at it this way:
I'm using linux Mint and at times need to use certain Windows software - for this, I'm going the VM way as opposed to dual-boot, but some of the Windows software may require the use of the PCI graphics card and that's the reason I actually bought an Nvidia card.
At the moment some Windows apps tell me I don't have the required graphics capabilities.
 
Old 08-20-2013, 05:32 AM   #8
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Quote:
Originally Posted by fkasmani View Post
some of the Windows software may require the use of the PCI graphics card and that's the reason I actually bought an Nvidia card.
At the moment some Windows apps tell me I don't have the required graphics capabilities.
Then you will want to dual boot.
You cannot use the nvidia card from within thed VM.
 
Old 08-20-2013, 08:53 AM   #9
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
linux does have video drivers for nvidia, open src and closed

linux has wine which may allow certain ms software to be installed onto a linux OS.

Have you considered these options?

wine with open source nouveau
wine with closed source nvidia
 
Old 08-20-2013, 11:29 AM   #10
fkasmani
Member
 
Registered: Dec 2007
Posts: 178

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by aus9 View Post
linux does have video drivers for nvidia, open src and closed
yes, the Nvidia drivers are working fine in Linux, but how do I get them to work in the guestOS (Win7) - that's where I'm stuck.
 
Old 08-20-2013, 01:09 PM   #11
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by fkasmani View Post
yes, the Nvidia drivers are working fine in Linux, but how do I get them to work in the guestOS (Win7) - that's where I'm stuck.
As descendant_command says, you can't. The OS inside a virtual machine has no idea of the real hardware on which it is run and only sees the virtual hardware given to it by the VM.
That is, at least, without playing with PCIE passthrough which I haven't read of anyone doing successfully yet:
http://www.virtualbox.org/manual/ch0...pcipassthrough
https://forums.virtualbox.org/viewtopic.php?f=7&t=46450
 
1 members found this post helpful.
Old 08-20-2013, 02:51 PM   #12
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Some computers and some virtual machines are starting to be able to allow you to attach a pci card to the client directly. I'd guess that maybe a spare video card might be able to be attached but if you think about it, the primary video card is really using the host's OS directly. I doubt you could ever attach it to a client.
 
1 members found this post helpful.
Old 10-04-2013, 11:22 AM   #13
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Not with virtualbox, but with Xen and a second card there are reports of success; eg
http://forums.linuxmint.com/viewtopi...744210#p743979
 
2 members found this post helpful.
Old 10-04-2013, 04:05 PM   #14
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
for " some windows programs" you could use WINE , maybe
or dual boot depending on just what the program is
or xen
or i like KVM , but for that you NEED TWO 3d cards !!!!
one for the os hosting kvm and one FOR the virtual os
 
1 members found this post helpful.
Old 10-05-2013, 07:05 AM   #15
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by mostlyharmless View Post
Not with virtualbox, but with Xen and a second card there are reports of success; eg
http://forums.linuxmint.com/viewtopi...744210#p743979
Thanks for that, if I upgrade my graphics card to something less puny I might keep the puny GT 640 in my second slot and try that.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing Nvidia 180.51 drivers for Nvidia Quadro 290 njfife Linux - Newbie 7 05-26-2011 04:45 AM
After installing nvidia drivers, nvidia.ko not found robogymnast Linux - Software 7 11-08-2008 01:28 PM
UNinstalling proprietry mandriva nVidia drivers and installing new nVidia drivers deathman Linux - Hardware 3 11-18-2006 05:10 AM
Installing nvidia drivers from nvidia website on mepis 3.3 xbennyboy Linux - Hardware 4 04-23-2005 09:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration