Changes between Version 69 and Version 70 of FAQ


Ignore:
Timestamp:
Mar 23, 2022, 3:35:37 AM (2 years ago)
Author:
Langbart
Comment:

Update Performance Tips

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v69 v70  
    6161    {{{#!td style="border-right:none;padding-left:0.5em"
    6262Add `gui.scale = "1.2"` to your `user.cfg` file (see [[GameDataPaths|wiki/GameDataPaths]]), you can increase or decrease this number if you like[[BR]][[Image(FAQ:user_cfg.jpg,center,500)]]
     63
    6364      {{{#!div class="important" style="background: #ffd"
    6465  **NOTE:** This will become an option with the release of Alpha XXVI.
     
    9596__Network latency:__[[BR]]
    9697The lobby is hosted by us, but all the games you play connect you directly to the game's host. Depending on your location and internet quality, you may experience a high Ping/ latency with certain players. You can check your RTT (also known as Ping) with different hosts by pressing `F11 or Alt+F11` and toggle through until you see the `Network statistics` panel.
     98
    9799      {{{#!div class="important" style="background: #ffd"
    98100  **NOTE:** If you suffer from a consistently high Ping time, you will cause lag for all other players. Using an Ethernet cable can help a little.
     
    102104    {{{#!td style="border-right:none;border-top:none;padding-left:0.5em"
    103105__Computation lag:__[[BR]]
    104 Yes, this is a common problem with the game. It will lag on most machines it is actually CPU bound, not your GPU. Try playing on smaller maps and limit the population to 600-800 units on the entire map.[[BR]]Rendering, simulation (e.g. gathering / attacking) and pathfinder all contribute to the lag.  If you have more units, more things need to be drawn which affects rendering, more things to calculate for unit activity affects simulation, and larger map sizes cause longer paths which affects the pathfinder.
     106Yes, this is a common problem with the game. The main factors that determine how smoothly 0 A.D. runs are primarily the CPU speed (since the game is not yet multi-threaded), the amount of available RAM, the type of graphics card in your computer, the game options and the game's setup settings you choose. If you are unhappy with the game's performance on your computer, there are some things you can do to improve it:
     1071. ''Before Launching 0 A.D.''
     108 - Close all other applications: It is highly recommended to close all other applications as they consume resources and affect the overall performance of the system.
     1092. ''Game Options''
     110 - Enable `Prefer GLSL`
     111 - Enable `FXAA` (no performance impact) or  `MSAA` (disable for very weak GPUs)
     112 - Set Models to the lowest values
     113 - Disable `Shadows` or set the `Cutoff distance` to a low value.
     114 - Enable `Water Effects`, but disable other water effects (reflection, refractions)
     1153. ''Game Setup''
     116 - Play on smaller maps and limit population to 600 units across the map for all players. Rendering, simulation (e.g. gathering / attacking), and the pathfinder all have an impact on performance.  If you have more units, more things need to be drawn, which affects rendering, more things to calculate for unit activity affects simulation, and larger map sizes cause longer paths, which affects the pathfinder.
     117 
    105118      {{{#!div class="important" style="background: #ffd"
    106119  **NOTE:** Multiplayer games are calculated on all computers simultaneously, with the slowest PC determining the game speed. If your computer is a bit outdated, you should reduce the graphics settings to a minimum. This might make the game faster for everyone.
     
    116129(1) Every frame that is calculated by the GPU is "prepared" by the CPU, one of them will limit your frame rate (FPS). When you select graphics effects, you create additional workloads for your GPU and CPU, causing your framerate to drop. Current PCs are mostly CPU limited in 0 A.D. because the game is not yet multi-threaded. That means they usually only use 1 core. Since graphics effects mostly affect the GPU, you can (on newer PCs) choose the higher graphics effects without sacrificing performance. [[BR]](2) Heating up the hardware leads to thermal throttling of the hardware. This effect is especially known for mobile PCs. If the hardware gets too hot, it throttles its performance until the hardware cools down again. Therefore, a limited but constant frame rate is usually better than a frame rate that fluctuates due to thermal throttling. [[BR]](3) VSync will also limit the framerate to the framerate of the monitor (I estimate 60 frames/Herz).[[BR]]
    117130- Related forum thread: [https://wildfiregames.com/forum/topic/34409-recomandet-fps-throttling/?do=findComment&comment=417420 Recommended FPS Throttling?] (16/Dec/20)
    118     }}}
    119   }}}
    120   {{{#!tr
    121     {{{#!th style="border-left:none;text-align:left"
    122 >When hosting a game, the PC/laptop can barely cope with the required technical prerequisites, leading to game lag.
    123     }}}
    124     {{{#!td style="border-right:none;padding-left:0.5em"
    125 A way to ease the load on the PC/laptop is: [[BR]](1) Host a game, but let the host PC/laptop be a spectator. [[BR]](2) When the match starts, turn all graphics settings on the PC/laptop to a minimum, then choose one of the player's perspective. The idea is that normal observer/overload perspective allows you to see every detail on the map, which increases load. If you switch to a player's perspective, the PC/laptop only needs rendering what that player can see. This would only require the PC/laptop to render a small portion of the map, hence the load is smaller. Even better: Add an unassigned player and switch to that perspective. The unassigned player will never explore or expand, so its field of view would be limited to just the starting civic centre. [[BR]]
    126 - Related forum thread: [https://wildfiregames.com/forum/topic/38692-is-it-possible-to-run-0-ad-in-a-server-mode-or-otherwise-consuming-less-resources-when-only-hosting/?tab=comments#comment-424584 Is it possible to run 0 A.D. in a "server-mode"? Or otherwise consuming less resources when only hosting?] (20/Apr/21)
    127     }}}
    128   }}}
    129   {{{#!tr
    130     {{{#!th style="border-left:none;text-align:left"
    131 >Balance graphics effects/ performance
    132     }}}
    133     {{{#!td style="border-right:none;padding-left:0.5em"
    134 To achieve an optimal balance between nice graphics effects and enough performance for a smooth game, consider this in 0 A.D.'s graphics settings: [[BR]](1) Enable GLSL [[BR]](2) Enable FXAA (no impact) and MSAA (little impact on performance, except for very weak GPUs) [[BR]](3) Enable water transparency [[BR]](4) Disable other water effects (reflection, refractions) [[BR]](5) Disable shadows [[BR]]
    135 - Related forum thread: [https://wildfiregames.com/forum/topic/41600-find-optimal-gfx-game-settings/?do=findComment&comment=431736 Find optimal gfx/ game settings?] (1/Jun/21)
    136131    }}}
    137132  }}}
     
    198193Enable the graphics options `Prefer GLSL`.
    199194- Related forum thread: [https://wildfiregames.com/forum/topic/68750-experiencing-a-flashing-red-line-on-my-screen-macbook-pro-m1 Experiencing a flashing red line on my screen] (22/Jan/22)
     195
    200196      {{{#!div class="important" style="background: #ffd"
    201197  **NOTE:** This issue will be fixed with the release of Alpha XXVI.
     
    218214Perhaps the wrong GPU is simply being used. For a detailed explanation of how to set it up correctly, see the following wiki article: [[SwitchingToYourPCsDedicatedGPU|wiki/SwitchingToYourPCsDedicatedGPU]].
    219215- Related forum thread: [https://wildfiregames.com/forum/topic/51184-alpha-25-could-not-start Alpha 25 could not start] (8/Aug/21)
     216
    220217      {{{#!div class="important" style="background: #ffd"
    221218  **NOTE:** This issue will be fixed with the release of Alpha XXVI.
     
    226223`unhandled exception (std::out_of_range("invalid bitset<N> position"))`[[BR]]
    227224- Related forum thread: [https://wildfiregames.com/forum/topic/64904-game-will-not-start-025b game will not start 0.25b] (13/Dec/21)
     225
    228226      {{{#!div class="important" style="background: #ffd"
    229227  **NOTE:** This issue will be fixed with the release of Alpha XXVI.
     
    289287    {{{#!td style="border-right:none;padding-left:0.5em"
    290288Try to disable `TLS` via `Settings` => `Options` => `Lobby`[[BR]][[Image(FAQ:lobby_tls.jpg,center,500)]]
     289
    291290      {{{#!div class="important" style="background: #ffd"
    292291  **NOTE:** There is a limit to the number of accounts you can submit per hour; if it doesn't work, try again later.
     
    413412As a rule of thumb, training units with batches is more efficient the longer you do it and the larger the batch is.
    414413- Related forum thread: [https://wildfiregames.com/forum/topic/53327-batch-training-the-good-the-bad-and-the-ugly/ Batch Training (The Good, The Bad and The Ugly)] (24/Aug/21)
     414
    415415      {{{#!div class="important" style="background: #ffd"
    416416  **NOTE:** If you press the `Batch production` key (`Shift` by default) and use the mouse wheel, you can change the batch size when the mouse is over the unit icon; alternatively, you can set the batch size in the options.
     
    510510    {{{#!td style="border-right:none;padding-left:0.5em"
    511511Currently, only 1v1 matches are rated, and this option can be turned on or off by the host of the game. When the option is turned on, it will be displayed at the bottom of the game settings page. You will start with a score of 1200, which will increase if you win and decrease if you lose. After your first rated game, the rating will be visible.[[BR]][[Image(FAQ:rated_game.jpg,center,500)]]
     512
    512513      {{{#!div class="important" style="background: #ffd"
    513514  **NOTE:** The rating adjustment is calculated with a simplified ELO algorithm, the exact details can be found here: [https://github.com/0ad/lobby-bots/blob/master/xpartamupp/elo.py elo.py].
     
    782783    {{{#!td style="border-right:none;padding-left:0.5em"
    783784There are mods that add more factions to the game (see [https://github.com/0ADMods github.com/0ADMods]).[[BR]]Likely candidates: [https://wildfiregames.com/forum/topic/38729-addition-of-han-chinese-to-0ad Han Chinese] (20/Apr/21) , [https://wildfiregames.com/forum/topic/22111-zapotecs-10 Zapotecs] (7/Apr/17) and [https://wildfiregames.com/forum/topic/22832-faction-nomads-xiongnu/ Nomads Xiongnu](29/Apr/17)[[BR]]The concerns, for adding new factions, mainly revolve around balancing all the factions so that they are equally strong, but still different from each other and to be historically accurate.
     785
    784786      {{{#!div class="important" style="background: #ffd"
    785787  **NOTE:** The Han Cineese will be added to the game With the release of Alpha XXVI.
     
    815817    {{{#!td style="border-right:none;padding-left:0.5em"
    816818Yes, on this page - [https://releases.wildfiregames.com/ releases.wildfiregames.com] - you can find all released versions and some statistics about how many times each version has been downloaded recently.
     819
    817820      {{{#!div class="important" style="background: #ffd"
    818821  **NOTE:** Additional statistics from users who have enabled the `Feedback` setting in the 0ad app can be found here: [https://feedback.wildfiregames.com/results/ feedback.wildfiregames.com/results].