Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better Performance? #1

Open
BenjamenMeyer opened this issue Sep 30, 2020 · 2 comments
Open

Better Performance? #1

BenjamenMeyer opened this issue Sep 30, 2020 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@BenjamenMeyer
Copy link
Member

See if there are settings that can be done in Vagrant or at least specified for the user to modify in order to get better performance out of the VMs and make the game more playable. The VMs work at a basic level, but would be good to be able to use for a broader play testing.

NOTE: This might involve saying that there are certain host hardware requirements too.

@BenjamenMeyer BenjamenMeyer added enhancement New feature or request help wanted Extra attention is needed labels Sep 30, 2020
@stephengtuggy
Copy link
Contributor

Users will want to leave Vega Strike at the default resolution of 1024x768, and run it in windowed mode; otherwise, there will be problems with the main menu.

Users will also likely want to choose Laptop/Integrated GPU; turn down the Geometry setting so that planets are easier for the game to draw; and choose Antialiased Vector Fonts.

@BenjamenMeyer
Copy link
Member Author

I turned down a lot of settings (see attached image), and then did the following change:

$ git diff Vagrantfile
diff --git a/Vagrantfile b/Vagrantfile
index a40714a..4c7e232 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -17,7 +17,8 @@ base_network_lvt = "172.16.13"
 
 # VM Hardware Resource Configuration
 base_memory = 3096
-base_cpu_count = 3
+base_cpu_count = 2
+base_video_memory = 128
 
 # 6-month Ubuntu Release
 image_ubuntu_latest = "ubuntu/groovy64"
@@ -55,6 +56,7 @@ Vagrant.configure("2") do |config|
                                vb.memory = "#{base_memory}"
                                vb.cpus = "#{base_cpu_count}"
                                vb.gui = true
+                               vb.customize = ["modifyvm", :id, "--vram", "#{base_video_memory}", "--audioout", "on", "--accelerate2dvideo", "on", "--accelerate3d", "on"]
                        end
                        vs_ubuntu_latest.vm.provision "shell", inline: <<-SHELL
                                apt-get update

Game was mostly playable; still a little more jumpy than I'd like but I'll chalk that up to my sub-par laptop.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants