Every programmer needs to have a developer machine to start. one of them is to prepare VM for others. for example, we need to install Odoo ERP in every ubuntu new version for all team members.
I have a scratch installation of Ubuntu 22.04
over VMware workstation 16
.
My host is Windows 10
.
After a while of using the VM, it started to freeze after a couple of minutes of usage, each time.
In some cases, before the VM froze, I’ve noticed some of my applications get to 100% CPU, which should never happen. When trying to debug it using perf
the VM froze once again, so I wasn’t able to see why my apps got to 100%.
Why does my VM freeze?
2
Answers
I don't know why, but unmarking
Accelerate 3D graphics
ofVirtual Machine Settings -> Display -> 3D graphics
solved the problem.I have an
NVIDIA GeForce MX450
on my host.I think it must be something to do with the 3D Graphics, it happened to me.
But i have and AMD RX 6700XT,
Also you can try updating the drivers for your graphics card and maybe unmarking the 3D Graphics option