GTX 1050 on VM
-
iomichiamolollo
- Posts: 1
- Joined: 25. Apr 2020, 01:27
GTX 1050 on VM
Hello, I wanted to know if it's possible to use my 1050 as a GPU on a VM
These are my specs:
CPU Intel Core i7 2600k
Motherboard ASUS P8Z68-V PRO/GEN3
GPU XFX Radeon RX 480 GTR 4GB
and I have the GTX 1050 that I want to use on the VM
These are my specs:
CPU Intel Core i7 2600k
Motherboard ASUS P8Z68-V PRO/GEN3
GPU XFX Radeon RX 480 GTR 4GB
and I have the GTX 1050 that I want to use on the VM
-
BillG
- Volunteer
- Posts: 5106
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: GTX 1050 on VM
No. The vm uses its own emulated video card. All peripherals are emulated. Only the CPU is not.
Bill
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: GTX 1050 on VM
Enable 3D acceleration in the VM. That way the VM can benefit from the power of accelerated host graphics. But, as Bill mentions you cannot access host hardware directly. It wouldn't be a VM if you could.
Re: GTX 1050 on VM
Virtualbox and pcie passthrough is still not here. You'd need something like hyper-v or vmware.
Last edited by mpack on 28. Apr 2020, 09:54, edited 2 times in total.
Reason: Remove additional off topic remarks.
Reason: Remove additional off topic remarks.
-
towo2099
- Volunteer
- Posts: 374
- Joined: 18. Aug 2014, 21:53
- Primary OS: Debian Sid
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Android, Linux
Re: GTX 1050 on VM
Aha, i don't see pci passthrough in Hyper-V or vmware.Virtualbox and pcie passthrough is still not here. You'd need something like hyper-v or vmware.
Only in ESXi, qemu and xen i see pci passthrough.
Re: GTX 1050 on VM
Hyper-V on windows server 2016+ can do pci passthrough: just google "deploying-graphics-devices-using-dda"towo2099 wrote: Aha, i don't see pci passthrough in Hyper-V
cant post links...
VMware vsphere.towo2099 wrote: Aha, i don't see pci passthrough in (...) vmware.
towo2099 wrote:
Only in ESXi, qemu and xen i see pci passthrough.
ESXi belongs to the VMWare ecosystem.
QEMU does not allow pci passthrough by itself, it requires kernel access such as KVM. If that was the case then you could just use QEMU on windows for pci passthrough.
Last edited by mpack on 28. Apr 2020, 09:48, edited 2 times in total.
Reason: Remove off topic remarks.
Reason: Remove off topic remarks.
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: GTX 1050 on VM
Not only "not there", the experimental feature which was there has been deleted. It won't be back, because it was never useful. The only people asking about it were gamers hoping it was possible to share a graphics card with the host (it isn't).damineps wrote:Virtualbox and pcie passthrough is still not here.
ESX-i is a type 1 hypervisor, so is Hyper-v. Even there they still mediate access to the hardware (like I said, if the guest had direct access it wouldn't be a VM). However the mediation layer is thin. In any case the Type-1 server style VM platform is not the focus of these forums.
-
scottgus1
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: GTX 1050 on VM
Per damineps request for a clear answer to the OP's question:
Starting in 6.1.x Virtualbox does not have PCI passthrough anymore. PCIe passthrough never existed in any version of Virtualbox, so a GTX 1050, a PCIe card, could never have been inserted into a Virtualbox guest.
So in Virtualbox you cannot insert a PCIe card into a guest.
I do not know what other hypervisors can do PCIe passthrough. That question is good for Google.
One has already been given:iomichiamolollo wrote:I wanted to know if it's possible to use my 1050 as a GPU on a VM
BillG wrote:No.
Some versions of Virtualbox up to 6.0.x had PCI passthrough. And you'd need a Linux host, not a Windows host.mpack wrote:you cannot access host hardware directly.
Starting in 6.1.x Virtualbox does not have PCI passthrough anymore. PCIe passthrough never existed in any version of Virtualbox, so a GTX 1050, a PCIe card, could never have been inserted into a Virtualbox guest.
So in Virtualbox you cannot insert a PCIe card into a guest.
I do not know what other hypervisors can do PCIe passthrough. That question is good for Google.
Last edited by mpack on 28. Apr 2020, 09:52, edited 2 times in total.
Reason: Remove reaction to off topic comments.
Reason: Remove reaction to off topic comments.
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: GTX 1050 on VM
I decided to prune this topic of all off-topic discussion, as it did not serve the OP. Hopefully this now gives damineps a clearer idea of the tone of discussion we expect. All further off topic posts will be deleted (at least).
-
nbanba
- Posts: 24
- Joined: 27. Feb 2023, 10:48
- Primary OS: Debian Sid
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: all efi os
Re: GTX 1050 on VM
Hello
Reading this topic https://docs.oracle.com/en/virtualizati ... rough.html
show that PCIExpress was supported (the attached card of the example is a PCIExpress card, not an oldstyle PCI card)
But this feature had been removed from Virtualbox 6.1
It would be nice if it will be re add in a future release.
Kind regards
nbanba
Reading this topic https://docs.oracle.com/en/virtualizati ... rough.html
show that PCIExpress was supported (the attached card of the example is a PCIExpress card, not an oldstyle PCI card)
But this feature had been removed from Virtualbox 6.1
It would be nice if it will be re add in a future release.
Kind regards
nbanba
-
scottgus1
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: GTX 1050 on VM
nbanba's link and the 6.0.0 Virtualbox manual do in fact say that some PCIe was partially supported.Both, regular PCI and some PCI Express cards, are supported.
6.0 is still available for download.
https://download.virtualbox.org/virtualbox/
https://www.virtualbox.org/wiki/Download_Old_Builds
If one wants to try to get PCIe passthrough going one can still try it. Keep in mind it's "passthrough" not "sharing", so your host also needs a spare device besides the one it is using now. In other words, you can't share the GTX 1050 video card. You'd need an extra video card. And a Linux host, BTW, this is the wrong forum for the wrong host OS for this feature.
You'd have to convince the devs of this on the Bugtracker.nbanba wrote:It would be nice if it will be re add in a future release.