DirectX problem with a software on Windows 7 x86 virtual machine

Discussions related to using VirtualBox on Windows hosts.
Post Reply
TheiApe
Posts: 5
Joined: 28. Mar 2023, 18:52

DirectX problem with a software on Windows 7 x86 virtual machine

Post by TheiApe »

Hello,

On a Windows 7 x86 virtual machine, i have a problem when i launch my software.

First Windows error :
Window title : DirectX application
Message : Switching to the reference rasterizer, a software device that implement the entire Direct 3D feature set, but runs very slowly.
Next message :
Failed Creating the Direct3D device

Does someone knows how to solve this problem.

I've tried to set 3D acceleration on the VM but a black flashing screen appears then.

Thanks for your answers.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: DirectX problem with a software on Windows 7 x86 virtual machine

Post by scottgus1 »

You'll probably at least need 3D acceleration running in the VM's video settings, and probably a uninstall/reboot/reinstall of the Guest Additions.

Note that turning 3D on in 7.0 may make the VM unstable. 7.0 had graphics upgrades and is still in bug-hunt phase over them.

Note also that even with 3D on and the VM running OK, the Direct3D requirements of the app may still no be met. Virtualbox is not a high-intensity-graphics-supporting app.
TheiApe
Posts: 5
Joined: 28. Mar 2023, 18:52

Re: DirectX problem with a software on Windows 7 x86 virtual machine

Post by TheiApe »

Thanks for your answer.
I supposed too that 3D was not extreme in VirtualBox.
I cant try all the purpose you made because i've got a hardware problem to solve before.
I'll try when it will be solved too.
Thanks for you skills.

Rémy
ggirf14
Posts: 16
Joined: 30. Dec 2023, 09:22

Re: DirectX problem with a software on Windows 7 x86 virtual machine

Post by ggirf14 »

Where should I look for updates on directx 11.
This is the most recent post I found.

My setup is:
Host: Windows 11
Guest: Windows 7
Virtualbox ver: 7.0.12
Guest additions: 7.0.12.28412
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: DirectX problem with a software on Windows 7 x86 virtual machine

Post by scottgus1 »

There's no way to "update" DirectX in a Virtualbox VM. Just have the Guest Additions installed, and have 3D Acceleration enabled. That's the best DirectX will get for the version of Virtualbox installed. Try 7.0.14.
Post Reply