You are not logged in.

#1 2015-10-29 21:18:02

thediamondgames
Member
Registered: 2015-06-26
Posts: 26

GTA:V on VMware lag spikes

Little intro, skip it if you don't want it

Hello, I don't like rebooting to windows to play some gta. PCI-e passthrough is not an option as I have i7-4770k CPU so I installed vmware workstation 12 with windows 10 in it on my arch installation. The performance is not as great as native, but still playable on medium settings above 30fps.

The problem

The game is barely playable because if I constantly move I get big lag spikes (1 every 5-15 seconds and it's length is about 1-2 seconds). As I found out it is of high LOD buildings/props as when flying online it doesn't happen even when I see the whole city in my screen.
I started looking around near franklin's house and I always get when my camera is about to see those big skyscrapers. Here's a little video I made
If I rotate camera quickly, it seems vmware somehow manages to not unload memory from RAM and spikes don't happen (while recording even with this it happened).
When I look in gnome system monitor vmware uses ~900 MB ram and the windows guest reports 5GB ram usage, ~2.7 GB by GTA.

What I think would solve this

Simply having all the guest memory already on ram, not being taken from some files VMware stores somewhere.

But there's no checkmark to do this.

What did I try to solve this

Added these to virtual machine vmx file, later removed most of it as it didn't work:

mainMem.useNamedFile = "FALSE"
mainMem.backing = "swap"
scsi0:0.virtualSSD = 1 #mine home disk is an hdd and root disk is an ssd
logging = "FALSE"
MemTrimRate = "0"
sched.mem.pshare.enable = "FALSE"
MemAllowAutoScaleDown = "FALSE"
snapshot.disabled = "TRUE"
isolation.tools.unity.disable = "TRUE"
unity.allowCompositingInGuest = "FALSE"
unity.enableLaunchMenu = "FALSE"
unity.showBadges = "FALSE"
unity.showBorders = "FALSE"
unity.wasCapable = "FALSE"

In VMware workstation 12, I clicked edit > preferences > memory and maxed out host ram for all virtual machines and set Additional memory to Fit all virtual machine memory into reserved host RAM

Finally switched over from kde to mate to get more lightweight DE

VMware brief settings

Memory: 8GB
Processors: 4
Hard Disk (SCSI): 248GB
Display:

  • Accelerate 3D graphics checked

  • Graphics memory is set to 2GB

System specs

CPU: Intel core i7-4770k (overclocked)
GPU: Nvidia GTX 780ti running latest nvidia drivers from official repositories
RAM: 16GB
Motherboard: asus z87 deluxe
Disks: 1 128GB ssd for root and 3TB HDD for home


Anyone had experience with VMware and maybe even had a situation like this and had found a solution? Please help me, thanks in advance.

Offline

Board footer

Powered by FluxBB