Page 1 of 1

NVIDIA GPU not used for linux guest

Posted: 13. Oct 2017, 10:49
by msr80
Hi together,

I have the problem that VirtualBox doesn't use the NVIDIA GPU on my Lenovo T540p Notebook.
I'm using VirtualBox (5.1.28) on Win7 (64bit).

Intel HD 4600 and GeForce GT 730M available; newest driver from Lenovo Homepage installed.

Using NVIDIA GPU in NVIDIA system settings is set (as global preferred processor).
But NVIDIA GPU will not be used for my Fedora guest. (3D option is set!)

Attached you can see the log output from VBoxTestOGL.exe
--> NVIDIA is recognised

But when i start my Fedora (also tried with SUSE Leap), Intel will be used...
Is there any way to force using NVIDIA GPU?
(i tried GPU passthrough - doesn't work)

Logs are attached.

Thanks for your help & BR,
martin

Re: NVIDIA GPU not used for linux guest

Posted: 13. Oct 2017, 12:15
by mpack
AFAIK, the VM will use whatever graphics card owns the display the VM is launched on.

VMs don't have GPUs (max GL version is 2.1), so the guest OS will not be able to access the host GPU.