The Sims 2 no longer running on Windows XP guest (Direct3D issue)

Discussions about using Windows guests in VirtualBox.

The Sims 2 no longer running on Windows XP guest (Direct3D issue)

Postby Mario83w » 24. Aug 2019, 19:54

Hello.

I'm trying to run The Sims 2 on a Windows XP SP3 guest, which worked fine in the past, but I can't get it to work anymore after updating VirtualBox and creating a new Windows XP VM. I have Guest Additions installed with Direct3D support, and 3D acceleration is enabled.

The issue seems to be with Direct3D, as this error appears when I try to run the game.
Code: Select all   Expand viewCollapse view
Direct3D returned an error: D3DERR_INVALIDCALL! The application will now terminate.

I ran dxdiag and tested Direct3D Acceleration, and it works just fine.

Does anyone know what could be causing this issue, and what I can do to fix it?

Thanks for your time
Mario83w
 
Posts: 7
Joined: 12. Jul 2016, 17:39

Re: The Sims 2 no longer running on Windows XP guest (Direct3D issue)

Postby scottgus1 » 24. Aug 2019, 20:44

Version 6 of Virtualbox has new video cards. What was the Virtualbox version and PC OS you had when you were able to run the game? Also, do you still have the old XP guest available?
Human government is like that crazy uncle who hides a quarter in his fist behind his back, then asks you to guess which fist the quarter is in...
No matter which side you choose, Left or Right, both Sides are empty.
scottgus1
Volunteer
 
Posts: 4653
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Win7

Re: The Sims 2 no longer running on Windows XP guest (Direct3D issue)

Postby Mario83w » 24. Aug 2019, 22:13

I don't remember the exact version of VirtualBox I used, but the the VM I recall playing the game on is a Windows XP guest (ran on the same PC with Windows 10), and it was last used in 2017. Unfortunately the virtual hard disk for that VM is corrupted, so I can't start it
Mario83w
 
Posts: 7
Joined: 12. Jul 2016, 17:39

Re: The Sims 2 no longer running on Windows XP guest (Direct3D issue)

Postby scottgus1 » 25. Aug 2019, 00:08

How is this corruption showing? Error messages? It might be possible to repair.

The video part of Virtualbox is undergoing changes along with some attendant growing pains. I'm wondering if you might at least remember if it was 5.0, 5.1, 5.2? Maybe an earlier Guest Additions might work where later GAs are failing?
Human government is like that crazy uncle who hides a quarter in his fist behind his back, then asks you to guess which fist the quarter is in...
No matter which side you choose, Left or Right, both Sides are empty.
scottgus1
Volunteer
 
Posts: 4653
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Win7

Re: The Sims 2 no longer running on Windows XP guest (Direct3D issue)

Postby Mario83w » 25. Aug 2019, 06:32

Odd. I tried temporarily downgrading to VirtualBox 5.2.32 and reinstalled Guest Additions, but The Sims 2 still doesn't work. However, The Sims 3 works on the same VM using the latest version of VirtualBox and Guest Additions, and that game also uses DirectX 9.c, so it seems the issue is specific to The Sims 2.

As for the corrupted VHD, this is what I get when I try to mount it:
Code: Select all   Expand viewCollapse view
Could not get the storage format of the medium 'D:\VMs\Microsoft Windows XP_ Home Edition\Microsoft Windows XP_ Home Edition.vhd' (VERR_NOT_SUPPORTED).

Result Code: VBOX_E_IPRT_ERROR (0x80BB0005)
Component: MediumWrap
Interface: IMedium {ad47ad09-787b-44ab-b343-a082a3f2dfb1}
Callee: IVirtualBox {d0a0163f-e254-4e5b-a1f2-011cf991c38d}
Callee RC: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)
Mario83w
 
Posts: 7
Joined: 12. Jul 2016, 17:39

Re: The Sims 2 no longer running on Windows XP guest (Direct3D issue)

Postby socratis » 25. Aug 2019, 10:42

We need to see a complete VBox.log, from a complete VM run, where the problem occurs:
  • Start the VM from cold-boot (not from a paused or saved state) / Observe problem / Shutdown the VM (force close it if you have to).
  • With the VM completely shut down (not paused or saved), right-click on the VM in the VirtualBox Manager and select "Show Log".
  • Save only the first "VBox.log", ZIP it and attach it to your response. See the "Upload attachment" tab below the reply form.
Image


Regarding the corrupted VHD, please post the output of the following command when run from a Command Prompt:
    cd "C:\Program Files\Oracle\VirtualBox"    <-- Change it if VirtualBox isn't installed in the default folder
    VBoxManage showmediuminfo "D:\VMs\Microsoft Windows XP_ Home Edition\Microsoft Windows XP_ Home Edition.vhd"
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 26773
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: The Sims 2 no longer running on Windows XP guest (Direct3D issue)

Postby Mario83w » 25. Aug 2019, 23:48

Alright, I've attached the log file.

As for the corrupted VHD, this is the info that showmediuminfo gave me:
Code: Select all   Expand viewCollapse view
VBoxManage.exe: error: Could not get the storage format of the medium 'D:\VMs\Microsoft Windows XP_ Home Edition\Microsoft Windows XP_ Home Edition.vhd' (VERR_NOT_SUPPORTED)
VBoxManage.exe: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component MediumWrap, interface IMedium, callee IUnknown
VBoxManage.exe: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 191 of file VBoxManageDisk.cpp
Attachments
log.zip
(34.24 KiB) Downloaded 6 times
Mario83w
 
Posts: 7
Joined: 12. Jul 2016, 17:39

Re: The Sims 2 no longer running on Windows XP guest (Direct3D issue)

Postby socratis » 28. Aug 2019, 13:42

00:00:11.256605 GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType:
Rejecting 'seamless' as is it not yet supported...
Are you trying to run the guest in Seamless mode?

00:00:28.879740 OpenGL: Set OpenGL scale policy on HiDPI displays (fUnscaledHiDPI=0)
00:00:28.879880 GUI: UIMachineWindowSeamless::placeOnScreen: Resize window: 0 to: 1360x768
Are you running on a HiDPI (Retina) display? Did you change the ScaleFactor of the VM or VirtualBox? How about trying a smaller resolution, like 1024x768?
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 26773
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: The Sims 2 no longer running on Windows XP guest (Direct3D issue)

Postby Mario83w » 29. Aug 2019, 21:52

Are you trying to run the guest in Seamless mode?

Yeah. Seamless Mode works fine on this VM, so idk why the log says that.

Are you running on a HiDPI (Retina) display?

I don't think so, I'm actually using an LG 20LS7D TV from 2007 until I can replace my old monitor which broke.

Did you change the ScaleFactor of the VM or VirtualBox?

Nope, I always have it set to 100%.

How about trying a smaller resolution, like 1024x768?

Unfortunately changing the resolution doesn't seem to make a difference.
Mario83w
 
Posts: 7
Joined: 12. Jul 2016, 17:39

Re: The Sims 2 no longer running on Windows XP guest (Direct3D issue)

Postby zverek » 31. Aug 2019, 21:06

Mario83w wrote:
Are you trying to run the guest in Seamless mode?

Yeah. Seamless Mode works fine on this VM, so idk why the log says that.

I have the same problem. The above method did not help. What options exist yet?
zverek
 
Posts: 2
Joined: 28. Aug 2019, 14:46


Return to Windows Guests

Who is online

Users browsing this forum: No registered users and 13 guests