PCI Passthrough Questions

This is for discussing general topics about how to use VirtualBox.
Post Reply
RandomColourzzz
Posts: 1
Joined: 10. Jan 2017, 07:30

PCI Passthrough Questions

Post by RandomColourzzz »

Hi, I'm pretty new to visualization. But I've played around with it for awhile. I'm running Ubuntu as a host machine, Kubuntu if you want to be precise trying run Windows 10 as a guest machine. I've gotten Windows 10 setup in and its running fine, But I want to be able to full screen Windows 10 but tab back out to Linux when needed. I am trying to pass my AMD Radeon R9 380 to the virtual machine. I'm trying to run Kubuntu on integrated graphics and Windows on my graphics card. I've plugged my monitor into my motherboard. But I'm having trouble with the guide in the manual.

I've ran " lspci" and I presume this is my graphics card.
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga PRO [Radeon R9 285/380] (rev f1)
. So I ran
VBoxManage modifyvm Test --pciattach 02:00.0@01:00.0
but it just pops up with an error saying "The VM session was aborted." I've been tinkering with this all night. Quite new to visualization and passing hardware to vms so just trying to get a grasp, Thanks.
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Any and all
Contact:

Re: PCI Passthrough Questions

Post by michaln »

RandomColourzzz wrote:Hi, I'm pretty new to visualization.
That's OK, the rest of us are so new to it that we aren't even sure what visualization is, exactly.

Now if you were talking about virtualization, that would be something else. And then we'd tell you to forget that PCI passthrough exists, because it almost certainly doesn't do what you want.
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: PCI Passthrough Questions

Post by mpack »

RandomColourzzz wrote:But I want to be able to full screen Windows 10 but tab back out to Linux when needed.
VirtualBox has a built in feature for that, assuming you installed the GAs in the guest Win10. Is there some reason why you want to go a more complex route?

As to your plans, if you got two graphics cards going then you'd have two separately managed monitors, and Linux would know nothing about the redirected one, so I'm not sure what "tab back out to Linux" would mean in that case?

Anyway, are you sure that the onboard graphics are still working? AFAIK, in many/most modern motherboards, if you install a graphics card in a PCI slot then the onboard graphics are disabled.


Is the point of all this to play games? If so then you'll probably find performance an issue even if you got it working. If you desperately need Windows with native graphics then perhaps you should consider dual booting instead?
Post Reply