GPU use

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
Selrak
Posts: 4
Joined: 26. Feb 2014, 16:44

GPU use

Post by Selrak »

Hey all,

So I am the (lucky) owner of both a Mac, and Photoshop for Windows. That makes Virtual Box the perfect tool - I already have a 64-bit (like my Mac) W7 VM.
Now, Photoshop could use my GPU - yet VB seemingly can't handle that ... So Photoshop says "Nope, you ain't got any GPU." But I actually have two (like any MacBook Pro from 2011) : a low-consumption one (integrated Intel HD Graphics 3000), and a powerful one (AMD Radeon HD 6750M via PCIe). I use VB 4.3.6 r91406.
Any suggestions ? Probably a driver or plugin ?
Other VB users recommend PCI passthrough, but they're talking about Linux. Is it available and efficient for Mac ?

Thanks in advance for your help,

Charles
Last edited by Selrak on 26. Feb 2014, 16:59, edited 1 time in total.
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: GPU use

Post by mpack »

A VM runs on emulated hardware, and the VBox emulation doesn't include a GPU.

Install the GAs to get faster graphics, though I won't promise that'll make Photoshop any happier.
Selrak
Posts: 4
Joined: 26. Feb 2014, 16:44

Re: GPU use

Post by Selrak »

Done that already - before even installing Photoshop on my VM.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: GPU use

Post by socratis »

Let me reiterate what mpack said:
Your virtual machine is using virtual hardware, including virtual graphics card which is not as powerful as an actual graphics card. Programs like Photoshop tend to push the physical hardware to their limit. Applications that have high requirements on the GPU (drawing, 3D, games) are expected to not work as good as on the real hardware, if they work at all.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Selrak
Posts: 4
Joined: 26. Feb 2014, 16:44

Re: GPU use

Post by Selrak »

Thank you for the clarification. I understand now how it theoretically is.
But, one question :the graphical workload can still be redirected by VB to the GPU, as requested by the guest OS (and whatever app it's running), right ? Now, there has to be a cost to that redirection algorithm, but I'm hoping it would still be worth the while.
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: GPU use

Post by mpack »

Yes, if you install the GAs, with 3D acceleration, then 3D ops in the guest are actually executed in the hosts OpenGL library, which usually map to GPU calls though that obviously depends on the library.

What the guest software can't ever do is use or sense the GPU directly. And, if it insists, then you can't use it in a VM.
Post Reply