VirtualBox

Opened 11 years ago

Closed 4 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)

VBox.log (57.2 KB ) - added by cirrus 11 years ago.
Log from the machine with Windows XP
VBox.2.log (102.7 KB ) - added by cirrus 11 years ago.
Log from the machine running Windows 7
38.png (78.4 KB ) - added by cirrus 11 years ago.
Proof that VBoxD3D9.dll imports wined3d.dll
Exception.txt (8.5 KB ) - added by cirrus 11 years ago.
Log from KalOnline, includes backtrace
MX8PC-config-log.txt (4.1 KB ) - added by cirrus 11 years ago.
Configuration log from SimCity
system.txt (2.4 KB ) - added by cirrus 11 years ago.
Hardware configuration of host

Download all attachments as: .zip

Change History (14)

by cirrus, 11 years ago

Attachment: VBox.log added

Log from the machine with Windows XP

by cirrus, 11 years ago

Attachment: VBox.2.log added

Log from the machine running Windows 7

by cirrus, 11 years ago

Attachment: 38.png added

Proof that VBoxD3D9.dll imports wined3d.dll

by cirrus, 11 years ago

Attachment: Exception.txt added

Log from KalOnline, includes backtrace

by cirrus, 11 years ago

Attachment: MX8PC-config-log.txt added

Configuration log from SimCity

by cirrus, 11 years ago

Attachment: system.txt added

Hardware configuration of host

comment:1 by misha, 11 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 misha, 11 years ago

Component: guest additions3D support

comment:3 by wnssh, 11 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

Version 0, edited 11 years ago by wnssh (next)

comment:4 by cirrus, 11 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 misha, 11 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 cirrus, 11 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:7 by 00prometheus, 9 years ago

Is this still an issue?

comment:8 by aeichner, 4 years ago

Resolution: obsolete
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use