VMware Communities
kdaek
Contributor
Contributor

When trying to use 3D acceleration in VMWare Workstation Player 17, a mksSandbox crash error occurs.

When trying to use 3D acceleration in VMWare Workstation Player 17, a mksSandbox crash error occurs.

When using a program that uses 3D acceleration in VMWare Workstation Player 17, the following error occurs and the VM dies.

 

=============================================================================

VMware Player unrecoverable error: (mks)

ISBRendererComm: Lost connection to mksSandbox (3093)

A log file is available in "D:\VMware\Windows 10 x64 Pro\vmware.log".

You can request support.

To collect data to submit to VMware technical support, run "vm-support".

We will respond on the basis of your support entitlement.

=============================================================================

 

I also tried raising the VM hardware version to 20 and tried using the GL renderer, but the same error occurs and the VM dies.

Attached the error log and crash dump files.

Reply
0 Kudos
39 Replies
mjkrol
VMware Employee
VMware Employee

> Is there a difference depending on the OS of the guest or the program that uses DirectX (D3D) to run?

Yes, the crash you are seeing is application-specific and switching off DX12Renderer will not help. Can you please attach mksSandbox.dmp from the so we can work on the fix?

Reply
0 Kudos
kdaek
Contributor
Contributor

The mksSandbox.dmp file doesn't seem to be created.

Instead, I uploaded the vmware-vmx.dmp file. It is impossible to upload the dmp file on this forum, so it was compressed and uploaded as vmware-vmx.zip, so please uncompress the vmware-vmx.zip file.

Reply
0 Kudos
mjkrol
VMware Employee
VMware Employee

You can find it here: C:\Users\kdaek\AppData\Local\Temp\vmware-kdaek\mkssandbox.dmp

I also ran SimCity in a Win10 guest and the game did not crash.

Reply
0 Kudos
kdaek
Contributor
Contributor

It was in that location. The files created are compressed and attached.

I don't know if it will help, but I also attach a screenshot of the error popup when it crashes.

Our PC information is as follows.

CPU: Intel Core i7 8700
GPU: NVIDIA Geforce RTX 2060 / Intel UHD 630
HOST OS: Windows 11 Home 22H2 (currently updated)
GUEST OS: Windows 10 Pro x64

* I haven't tested other 3D games, but SimCity crashes on other guests I have.

* There are several types of SimCity, but it is the last version of SimCity that came out after the Society, not the past version.

Reply
0 Kudos
mjkrol
VMware Employee
VMware Employee

There are several types of SimCity, but it is the last version of SimCity that came out after the Society, not the past version.

I tried SimCity published by EA in 2013. If it's not that, please let me know what is the full title of the game or the publish year. Also, it would be great if you provided the steps in the game to cause the crash.

Reply
0 Kudos
kdaek
Contributor
Contributor

This is the SimCity version in the screenshot below.

The crash occurs when I press play on the screen in the screenshot below and the game starts to render 3D while it is running.

제목 없음.jpg

Reply
0 Kudos
mjkrol
VMware Employee
VMware Employee

> This is the SimCity version in the screenshot below.

> The crash occurs when I press play on the screen in the screenshot below and the game starts to render 3D while it is running.

Yes, this is the game I tried to reproduce the crash with. Since it did not crash for me with WS 17 and the dump file indicates a bug in the game, can you see if there's an update to the game available? Mine was a freshly installed version from the EA App.

Reply
0 Kudos
kdaek
Contributor
Contributor

When I tested it with other games (e.g. Roller Coaster Tycoon 3), the other games didn't crash.

I'll try again after deleting the existing SimCity and reinstalling it. It seems that the crash is caused by a collision of something internal.

Reply
0 Kudos
kdaek
Contributor
Contributor

I tried several mods, but SimCity crashes.

After uninstalling SimCity, reinstall and run => Crash occurs!
Uninstall and reinstall VMWare Workstation Player 17 => Crash!

Looking at the contents of mkssandbox.dmp, it appears that mksSandbox.exe is throwing '0xcafebabe' exception.

When I searched for it, the host seems to be irrelevant.
As the same exception when the host is Linux, the crash report below has been uploaded to Github.

https://github.com/vmware/open-vm-tools/issues/624

However, in this case, it is not shown what was run in the guest, but the error contents of the attached screenshot and the error contents of the screenshot below that I uploaded are the same. A new compressed copy of the mkssandbox.dmp file created after today's test is also attached.

화면 캡처 2023-01-17 004001.png

Reply
0 Kudos
UnHollow
Contributor
Contributor

Fail Messenger 

Reply
0 Kudos
UnHollow
Contributor
Contributor

How do I do this please, I'm having the same problem. Created a notes file? a folder?.... Explain to me better please

Screenshot_20230320-222224-319.png

Reply
0 Kudos
mjkrol
VMware Employee
VMware Employee

Open "C:\ProgramData\VMware\VMware Workstation\config.ini" in a text editor and add the following line.

mks.enableDX12Renderer = "FALSE"

Reply
0 Kudos
david58
Contributor
Contributor

After noticing you helped someone in this chat: https://communities.vmware.com/t5/VMware-Workstation-Player/When-trying-to-use-3D-acceleration-in-VM... /td-p/2943209 I just wanted to ask for your help with a similar problem. I tried all the solutions you suggested but nothing worked. My problem is the following: When I start my vmware (version 17, iso: windows 11), with accelerate 3D graphics the loading of the vm hangs (screen 1) and without that, the loading of the vm continues and does not hang not. However, when unlocking, the screen before unlocking goes into a black background and sometimes the screen flashes (scree 2). This happened after a power outage. My graphics card is AMD Radeon(TM) Graphics and I really don't know how to restart it. I send you the vmware*.log and mksSandbox*.log files. The loading of windows is carried out during the activation of the accelerate 3D graphics but after it stops. No error message, and no information about the error, complete nothingness. I also changed the folder: ""C:\ProgramData\VMware\VMware Workstation\config.ini" to put it with mks.enableDX12Renderer = "FALSE" but nothing has changed

Reply
0 Kudos
mjkrol
VMware Employee
VMware Employee

david58,

You could try reinstalling the drivers for your GPU using a clean install option, if available.

If that does not help, try disabling DX11Renderer and enabling DX12Renderer. On AMD hosts, this requires setting three vmx config options:

mks.enableDX11Renderer = FALSE

mks.enableDX12Renderer = TRUE

mks.dx12.allowUnsupportedDevices = TRUE

If enabling DX12Renderer does not work, please attach new mksSandbox.log and vmware.log.

david58
Contributor
Contributor

Thank you for your reply. After reinstalling the drivers for my graphics card, and modifying the configuration file by adding the 3 lines as you advised me, it turns out that it did not work. I send you attached the 2 documents that you asked me

Reply
0 Kudos
david58
Contributor
Contributor

I just add to this that regarding storage capacity, my current size is 1.3gb, my system free is 500gb and my max size is 200gb. If it can be useful. Thank you very much, I really need your help, if you need anything else do not hesitate

Reply
0 Kudos
david58
Contributor
Contributor

If you don't have an answer, do you know who I can contact? I want to specify that I tried cloning my vm, I tried to modify the parameters, I tried to update the drivers, I tried to add the 3 lines in the .vmx file, I created a python script to repair all my .vmdk disks with vmware-vdiskmanager.exe. Nothing worked. The only thing that allowed me to progress more in the loading is the fact that I deactivated the 3d acceleration. However, at this time, the screen flashes, the background is black, and I cannot do anything.

Reply
0 Kudos
mjkrol
VMware Employee
VMware Employee

Can you try and change your VM's CPU configuration (VM --> Settings... -> Hardware --> Processors) from 4 processors/3 cores to 1 processor/1 core?

Reply
0 Kudos
NaiPopi
Contributor
Contributor

Hello there...

I have the same problem here I think. If I enable "accelerated graphics".. my game inside the VMware crashes after a few minutes. 
I tried adding this line to the config.ini

mks.enableDX12Renderer = "FALSE"

but it didn't work for me. What else can I do? Thank you

Reply
0 Kudos
banackm
VMware Employee
VMware Employee

@NaiPopi Can you post your mksSandbox.log too?

Reply
0 Kudos