Why is MATLAB crashing when run on a virtual machine?

조회 수: 326 (최근 30일)
I am attempting to run MATLAB on my virtual machine. When I do so, however, MATLAB crashes with references to "vm3dgl64.dll" in the stack trace, such as the snippets below:
[ 2] 0x00007ffd5899e3fe C:\Program Files\MATLAB\R2024a\bin\win64\libmwfl.dll+00058366
[ 5] 0x00007ffd3fd2c5bf C:\Program Files\MATLAB\R2024a\bin\win64\jmi.dll+00705983
[ 6] 0x00000000583a9ead C:\Program Files\MATLAB\R2024a\sys\java\jre\win64\jre\bin\server\jvm.dll+02727597
[ 11] 0x00007ffe1da848ff C:\windows\SYSTEM32\ntdll.dll+00674047
[ 14] 0x00007ffdca59696d C:\windows\SYSTEM32\vm3dgl64.dll+14903661
[ 39] 0x00007ffdea4411f0 C:\windows\system32\opengl32.dll+00135664
I am using Windows Server on my VMWare virtual machine, and am attempting to run MATLAB R2022b. What can I do to resolve this issue?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2025년 2월 6일
편집: MathWorks Support Team 2025년 2월 10일
This issue is likely caused by a VMware library that is being injected into MATLAB processes. The "vm3dgl64.dll" library that is mentioned in the crash log is VMware's graphics acceleration library. There are known issues with this specific VMware library, which have shown up in various instances of VMware tools:
Below are the steps to workaround this issue:
  1. Determine your VMware Tools version from your graphics card. For example, VMware SVGA 3D Version 9.17.8.9 is part of VMware Tools 12.5.
  2. Follow the workaround from the knowledge article associated with your VMware Tools version below:
    1. For VMware Tools 11.x, refer to the following article and "Resolution" steps: https://kb.vmware.com/s/article/83440
    2. For VMware Tools 12.5, refer to the following article and workaround: https://knowledge.broadcom.com/external/article?articleNumber=383994
  3. If the previous steps do not resolve the issue, there is another workaround for MATLAB versions earlier than R2024a. Please use the "-noopengl" or "-softwareopenglmesa" flags when running MATLAB. For example, you could run the following commands in the Windows Command Prompt:
matlab -noopengl plot(1:10); matlab -softwareopenglmesa plot(1:10);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by