Directx on a windows 7 guest

Discussions related to using VirtualBox on Mac OS X hosts.
Locked
buscon
Posts: 4
Joined: 9. Jul 2013, 14:24

Directx on a windows 7 guest

Post by buscon »

Hi,

I have installed a virtualbox on a macbook with a windows 7 guest.

Now I need to use the graphic card with directx drivers but the graphic card is recognized as virtualbox graphic card.
I don't need 3d features, I just need that the video card is recognized by the directx drivers.

How can I do that?

Best
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Directx on a windows 7 guest

Post by mpack »

You can't. Virtual Machine == a simulation of a PC, not a real PC.

If you turn on 2D or 3D acceleration then some features of the host graphics will become available. However the guest will never see the host hardware directly.
buscon
Posts: 4
Joined: 9. Jul 2013, 14:24

Re: Directx on a windows 7 guest

Post by buscon »

ok, so if I am using a software that need Direct X drivers, I won't be able to use it?
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Directx on a windows 7 guest

Post by mpack »

No, the guest will see DirectX drivers - provided you install and enable the appropriate VM features, it just won't see any hardware that doesn't belong to it.
buscon
Posts: 4
Joined: 9. Jul 2013, 14:24

Re: Directx on a windows 7 guest

Post by buscon »

ok, good to know, but how can let my windows see the Direct X drivers?
what do you mean "install and enable the appropriate VM features"?

I have installed the host extensions without the experimental 3d feature.
What else should I do?
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Directx on a windows 7 guest

Post by mpack »

You need to enable the 3D feature and reinstall the Guest Additions. See the user manual for a detailed howto. Pay particular attention to the difference between the basic and experimental WDDM drivers (the former needs to be installed in safe mode, the latter doesn't). The GAs provide DirectX APIs.
buscon
Posts: 4
Joined: 9. Jul 2013, 14:24

Re: Directx on a windows 7 guest

Post by buscon »

Thanks for your advice, enabling the 3d features directx work as they should :)
teki
Posts: 1
Joined: 20. May 2019, 15:12

Re: Directx on a windows 7 guest

Post by teki »

Solved by changing graphics controller setting from VBOXSVGA to VMSVGA and enabling 3D acceleration.
Hope it helps :wink:
Sorry for my English, I'm from Russia.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Directx on a windows 7 guest

Post by mpack »

teki wrote:Solved by changing graphics controller setting from VBOXSVGA to VMSVGA and enabling 3D acceleration.
I'm afraid that neither of those options existed in 2013.

I'll lock this topic to prevent the dead being disturbed further.
Locked