Fedora 40 performance issue and lags on virtual machine (VMware Workstation Pro)

I would recommend bios virtualization settings first and then disable 3D acceleration to see if it works better if it does then you can keep it or need to pump more memory to VM and 3D acceleration