Framerate and Performance: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 29: Line 29:
For any unexplained issue (especially if you're new to Vintage Story, or you just upgraded your PC or graphics card), try updating or fully re-installing your graphics drivers. Unexplained issues sometimes are due to subtly broken or out-dated graphics drivers or some weird setting made by another game, re-installing should reset everything properly.
For any unexplained issue (especially if you're new to Vintage Story, or you just upgraded your PC or graphics card), try updating or fully re-installing your graphics drivers. Unexplained issues sometimes are due to subtly broken or out-dated graphics drivers or some weird setting made by another game, re-installing should reset everything properly.


Finally, especially if it's an occasional stutter issue like once every 10 seconds or once a minute, look at possible causes '''outside Vintage Story'''.  Try closing down all other software and apps while playing the game, including your browser and ''Discord'': Discord has been known to produce severe (but uncommon) lag spikes while playing on some systems.  You should also look to prevent Windows (or your other operating system) from doing heavy tasks while playing (Windows update, virus scans, disk indexing service, etc. etc.): it is a good idea to find ways to switch off '''all''' of that stuff when you are playing games intensively.  For Windows, [https://www.oo-software.com/en/shutup10 OOSU10] offers several settings to take more control of your own PC, and is free.
Finally, especially if it's an occasional stutter issue like once every few seconds, look at [[Framerate_and_Performance#Causes outside Vintage Story|possible causes '''outside Vintage Story''']].


===Advanced Tips for Maximizing Performance=== <!--T:5-->
===Advanced Tips for Maximizing Performance=== <!--T:5-->
Line 137: Line 137:
* If you have more than a couple of players, make sure your hardware is strong enough to support your player base. Virtual Servers have a tendency to perform rather badly at 10+ players. Bare metal works best.
* If you have more than a couple of players, make sure your hardware is strong enough to support your player base. Virtual Servers have a tendency to perform rather badly at 10+ players. Bare metal works best.
* You can run <code>/debug logticks 100</code> to see where most time is spent on, feel free to ping tyron on discord to interpret the results or ask others in discord if they are familiar with the issues.
* You can run <code>/debug logticks 100</code> to see where most time is spent on, feel free to ping tyron on discord to interpret the results or ask others in discord if they are familiar with the issues.
=== Causes outside Vintage Story ===
Other software on your computer, including things installed when the computer was new, can take control of your computer periodically in a way which causes Vintage Story performance to suffer.  Look at this possibility if the game performance is 'normally' good, but there is a short lag spike or stutter every few seconds, or freezes (1-2 seconds or longer).
Especially look at this type of thing on new Windows 10 or Windows 11 PCs, these are notorious for installing apps and processes which you don't actually need, but take up resources.
For testing and troubleshooting game performance, you should try closing down '''all''' other software and apps while playing the game:
* Start by closing your browser, all tabs especially YouTube or other video players.  If you need internet access to look things up or to read this page (!), it is suggested to use your phone or a different PC
* Close any music player
* Close down '''Discord''' completely (note: by default, Discord remains running but dormant, see miniaturized icons in the collection to the right of your Windows taskbar, sometimes called the [https://www.windowscentral.com/tour-windows-10-taskbar-and-what-its-icons-do Overflow area]): Discord has been known to produce severe (but uncommon) lag spikes while playing Vintage Story on some systems, so shut it down
* Prevent Windows (or your other operating system) from doing heavy tasks while you are playing, including virus scans, disk indexing service, Windows Update etc. etc. - switch off all of that, at least while testing. For Windows, [https://www.oo-software.com/en/shutup10 OOSU10] offers several satisfying settings to take more control of your own PC, and is free.
* On Windows, check the '''Task Manager''', Start-up tab, disable everything which is not essential (probably only one or two things there are truly essential, including audio and mouse software), and re-start Windows for a clean start
* On Windows, now check the '''Task Manager''', Processes.  Ideally you want to see that steadily at 0.1% CPU, 0% Disk, 0% Network when the game is not running, the main thing using CPU should be Task Manager itself.  Click on the CPU heading, to order tasks by which one is using the most CPU.  Any process more than 0.1% CPU, consider shutting it down now (right-click and choose End Task), unless it is System or some other essential part of Windows: if using Task Manager like this is new to you, proceed with caution, look up online guides to the processes or ask a knowledgeable friend for help
* If you want to go deeper down this rabbit-hole on Windows, open the '''Task Scheduler''', typically there can be 50-100 or more tasks listed under various tabs there which various software has added. These tasks run sometimes, can include when you are in the middle of a game.  In most cases you don't need any of that, or very little of it: take care over any task added by the Windows system itself.  Again, if using Task Scheduler is new to you,  proceed with caution!


</translate>
</translate>
{{Game navbox}}
{{Game navbox}}
Confirmedusers, editor
348

edits