Vmx hacks: Difference between revisions
Player - disable mitigations
m (typo) |
(Player - disable mitigations) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 183: | Line 183: | ||
from: https://communities.vmware.com/message/2807350#2807350 | from: https://communities.vmware.com/message/2807350#2807350 | ||
==== Linux Host - switch back from Vulkan to X11 ==== | |||
Workstation 16.2.0 and higher | |||
Add to .vmx if changing for one VM, or ~/.vmware/config if you want to change this systemwide: | |||
mks.enableX11Presentation=TRUE | |||
mks.enableVulkanPresentation=FALSE | |||
That will force us to draw the window using X11 instead of Vulkan, which is normally less performant, but might work better on some setups? | |||
from: [https://communities.vmware.com/t5/VMware-Workstation-Pro/VMware-16-2-1-Display-3D-acceleration-not-working-Windows-10/m-p/2877574#M172414 VMware 16.2.1 Display 3D acceleration not working Windows 10] | |||
Has a great explanation on the difference by banackm | |||
Beware that if you have this issue -and your host has more than one GPU- that it also might be because the wrong GPU was selected for Vulkan. | |||
There's another switch to use the openGL renderer instead of Vulkan: | |||
mks.enableVulkanRenderer = "FALSE" | |||
mks.enableGLRenderer = "TRUE" | |||
and a switch to allow the Vulkan rendered use unsupported devices: | |||
mks.vk.allowUnsupportedDevices = "TRUE" | |||
There's even a way to force your VM to use a specific GPU, such as the discrete GPU instead of the integrated GPU.. if your host has both. | |||
mks.forceDiscreteGPU = "TRUE" | |||
See the tips from BlueFireStorm here: [https://communities.vmware.com/t5/VMware-Workstation-Pro/VMware-Workstation-cannot-connect-to-the-virtual-machine-Vmware/m-p/2899481/highlight/true#M174703 VMware Workstation cannot connect to the virtual machine] | |||
==== Dark Mode ==== | |||
In Workstation 16.2 Dark Mode had disappeared by accident, it was discovered that adding the following setting to the preferences.ini file makes it re-appear. | |||
wsFeatureDarkModeSupported = "TRUE" | |||
from: [https://communities.vmware.com/t5/VMware-Workstation-Pro/Vmware-Workstation-16-2-dark-mode/m-p/2874723/highlight/true#M172025 forum user mrdow2000] | |||
==== All USB devices are disabled ==== | |||
Check your .vmx file for the following line: | |||
usb.restrictions.defaultAllow = "FALSE" | |||
If it has this then remove that line and try again. | |||
It seems that this line is automatically added for Workstation/Player 16.2.x when using "Easy Setup". | |||
More details here: [https://communities.vmware.com/t5/VMware-Workstation-Player/All-USB-devices-are-greyed-out/m-p/2878067#M37999 All USB devices are greyed out] | |||
=== VMware Player === | |||
==== Disable mitigations ==== | |||
A message about disabling side channel mitigations shows up only when the ULM is used instead of the ring 0 VMM as the hypervisor monitor. | |||
That means the Windows host has been detected to have Hyper-V enabled. | |||
https://blogs.vmware.com/workstation/2020/05/vmware-workstation-now-supports-hyper-v-mode.html | |||
There is no advanced options in VMware Workstation Player. | |||
To disable the side channel mitigation, shut down the VM and add the following to the VM vmx configuration file. | |||
ulm.disableMitigations = "TRUE" | |||
from: [https://communities.vmware.com/t5/VMware-Workstation-Player/Poor-performance-after-update-with-message-about-side-channel/m-p/2811455/highlight/true#M35855 Poor performance after update with message about side channel mitigation] | |||
=== Fusion === | === Fusion === | ||
Line 389: | Line 459: | ||
=== Any platform === | === Any platform === | ||
==== Disable scoreboard files ==== | |||
In VMware Fusion 12.2 and Workstation 16.2 new files have been introduced for keeping some sort of statistics. | |||
These are called scoreboard files. | |||
You can disable that feature. | |||
vmx.scoreboard.enabled = "FALSE" | |||
See: [https://communities.vmware.com/t5/VMware-Workstation-Pro/VMware-Workstation-16-2-0-and-scoreboard-files-What-it-is/m-p/2881784/highlight/true#M172906 Suggestion by DaveP on VMware Workstation 16.2.0 and .scoreboard files. What is it?] | |||
==== Slow down time in guest ==== | ==== Slow down time in guest ==== |