Opened 12 years ago
Closed 5 years ago
#11402 closed defect (obsolete)
VirtualBox's guest additions are using WineD3D instead of DirectX
Reported by: | cirrus | Owned by: | |
---|---|---|---|
Component: | 3D support | Version: | VirtualBox 4.2.6 |
Keywords: | DirectX, WineD3D | Cc: | |
Guest type: | Windows | Host type: | Linux |
Description
Hello,
during the using the VirtualBox I have got fatal error in one game (KalOnline, producer: InixSoft). The application log has showed up that the game is using Wine's Direct3D libraries instead of Microsoft Direct3D. Because the Wine Direct3D isn't full, it leads to the crash.
I have tried running other game (SimCity 4 Deluxe), it shows up "Could not initialize DirectDraw" error, but runs anyway and is fully functional.
My guest is Windows XP, but the situation is the same under Windows 7. I have installed guest additions and the latest DirectX and 3D acceleration in the settings is enabled.
I include screenshot of the import section from VBoxD3D9.dll (deasemblation made by IDA Pro 5.0), which shows that VBoxD3D9.dll imports WineD3D.dll, VBox.log both from Windows XP and Windows 7 machines, crash log of the game which includes backtrace of the stack and the config log of SimCity 4 Deluxe - both generated on Windows XP installation. I also include hardware configuration from my host, generated by Syslinux.
PS: I know that it's not good idea to use virtual machines for gaming, but there are applications that are using DirectX, for example media players, and they can be affected aswell
Attachments (6)
Change History (14)
by , 12 years ago
comment:1 by , 12 years ago
Using wineded by VBox D3D components is expected behavior, since VBox D3D is using wined3d for D3D->opengl conversion for executing them by the host opengl backend.
It should not crash though ofcourse. Let me try to reproduce it here and see what we can do to fix this.
comment:2 by , 12 years ago
Component: | guest additions → 3D support |
---|
comment:3 by , 12 years ago
try the old guest additions maybe help.
i have a game has the same problem in and ollydbg point the memory error in d3d9.dll
4.2.0 is fine but 4.2.2 will crach
just like https://www.virtualbox.org/ticket/11112
now that game works fine with vbox 4.2.6 and guest additions 4.2.0
if anybody care i can upload the ollydbg screenshots, but if not i just keep using old one.
comment:4 by , 12 years ago
Confirmed, 4.2.0 works, but 4.2.2 doesn't. At least game runs now, but HackShield shows up "undefined hacks" error and points at d3d9.dll. And the game runs at 10 FPS.
comment:5 by , 12 years ago
Please give a try to the test build of VBox Guest Additions posted here: https://www.virtualbox.org/ticket/11369#comment:3 and let me know if it solves your crash problem.
Please use it with VBox 4.2.6 host installation.
comment:6 by , 12 years ago
Now amount of FPS is decent, but HackShield still gives "undefined hacks" error while pointing at d3d9.dll. Maybe HackShield calculates d3d9.dll's MD5 and compares it with normal Windows one?
comment:8 by , 5 years ago
Resolution: | → obsolete |
---|---|
Status: | new → closed |
Log from the machine with Windows XP