core:vulkanrenderer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
core:vulkanrenderer [30/07/2022 10:40] – [Renderer Settings] admincore:vulkanrenderer [27/10/2022 09:16] (current) – [Compatibility / Important Notes] admin
Line 1: Line 1:
-<alert type="warning">This feature is not present in RW Enhancer 2 yet but will be included soon.</alert> 
- 
 =====Description===== =====Description=====
  
Line 6: Line 4:
  
 RW Enhancer 2 feature a complete, easy to use and optional Vulkan renderer for Train Simulator based on the DXVK open-source project (modified with some tweaks to better run with Train Simulator). Once enabled in RW Enhancer 2 settings, this will temporarily replace the DirectX 9 renderer of Train Simulator by the modern Vulkan renderer. This new Vulkan renderer can have many benefits for Train Simulator especially when playing on routes with a lot of complex geometry, 3D vegetation or complex tracks layouts. The Vulkan renderer is also greatly reducing micro-freezes and framerate micro-hiccups, with this new renderer the framerate will be generally more stable and also higher on complex routes with a lot of geometry and with heavy 3D vegetation usage. RW Enhancer 2 feature a complete, easy to use and optional Vulkan renderer for Train Simulator based on the DXVK open-source project (modified with some tweaks to better run with Train Simulator). Once enabled in RW Enhancer 2 settings, this will temporarily replace the DirectX 9 renderer of Train Simulator by the modern Vulkan renderer. This new Vulkan renderer can have many benefits for Train Simulator especially when playing on routes with a lot of complex geometry, 3D vegetation or complex tracks layouts. The Vulkan renderer is also greatly reducing micro-freezes and framerate micro-hiccups, with this new renderer the framerate will be generally more stable and also higher on complex routes with a lot of geometry and with heavy 3D vegetation usage.
 +
 +Overall, this new Vulkan renderer integrated in RW Enhancer 2 is the most efficient way to optimize the game render process and framerate of Train Simulator especially with the updates that are coming in the future for optimizing the Vulkan renderer. 
  
 **Please read the following information to fully understand how this new renderer is working.** **Please read the following information to fully understand how this new renderer is working.**
  
-=====Compatibility=====+=====Compatibility / Important Notes=====
  
  
   * You need a GPU that is compatible with Vulkan 1.3 API. Any DirectX 11 capable GPU should be compatible. (RW Enhancer 2 require DX11 compatibility anyway)   * You need a GPU that is compatible with Vulkan 1.3 API. Any DirectX 11 capable GPU should be compatible. (RW Enhancer 2 require DX11 compatibility anyway)
-  * Please ensure that your graphic card/GPU drivers are up to date.+  * Please ensure that your graphic card/GPU drivers are up to date. The Vulkan renderer requires recent GPU drivers to be installed.
   * RW Enhancer 2 HUD can't be used **yet** when Train Simulator is in raw "FullScreen" display mode. Please select "Borderless" or "Windowed" mode if you want to use Vulkan and RW Enhancer 2.   * RW Enhancer 2 HUD can't be used **yet** when Train Simulator is in raw "FullScreen" display mode. Please select "Borderless" or "Windowed" mode if you want to use Vulkan and RW Enhancer 2.
- +  * Due to how the Vulkan renderer is working, the "Reshadeor "SweetFXprograms are not working with this Vulkan renderer. If you try to enable the Vulkan renderer, reshade/sweetfx files will be overridden. 
-<callout type="infotitle="Please Noteicon="true">Once enabled in RW Enhancer 2, the Vulkan renderer can be used even if you are playing Train Simulator without RW Enhancer 2. Just like RW Enhancer 2 shaders effects.</callout>+  * You might need to clic one time anywhere on the screen at the beginning of a drive session if you want the RWE HUD to appearSame when you have done a drive session for the RW Enhancer 2 window to reappear on the screen(this may be fixed in the future)
  
 =====Setup===== =====Setup=====
Line 26: Line 26:
 If Vulkan renderer is not working well on your PC, then just disable the same option and the default DirectX 9 renderer will be restored. Simple and easy !  If Vulkan renderer is not working well on your PC, then just disable the same option and the default DirectX 9 renderer will be restored. Simple and easy ! 
  
-<callout type="info" title="Please Note" icon="true">When enabled, the Vulkan renderer do not delete/overwrite any Train Simulator file, making this feature quite safe to use.</callout>+<callout type="info" title="Please Note" icon="true">When enabled, the Vulkan renderer doesn'delete/overwrite any Train Simulator file, making this feature quite safe to use.</callout> 
 + 
 +<callout type="info" title="Please Note" icon="true">Once enabled in RW Enhancer 2, the Vulkan renderer can be used even if you are playing Train Simulator without RW Enhancer 2. Just like RW Enhancer 2 shaders effects.</callout>
  
 =====Pros and Cons===== =====Pros and Cons=====
Line 32: Line 34:
 ^ Pros                                                                                                           ^ Cons                                                                                                                                                               ^ ^ Pros                                                                                                           ^ Cons                                                                                                                                                               ^
 | Modern renderer and better supported by recent GPU drivers                                                     | May not work correctly on old hardware/GPU                                                                                                                         | | Modern renderer and better supported by recent GPU drivers                                                     | May not work correctly on old hardware/GPU                                                                                                                         |
-| Can give up to ~30% framerate boost when driving on complex routes with a lot of 3D geometry/3D vegetation     | Framerate may be a little bit worse than default TS renderer on some older routes (but framerate will be more stable). Will be improved in the future with updates |                                             +| Can give up to ~15% framerate boost when driving on complex routes with a lot of 3D geometry/3D vegetation     | Framerate may be a little bit worse than default TS renderer in some cases (but framerate will be more stable). Will be improved in the future with updates    |                                             
 | More stable framerate with less micro-freezes and micro framerate hiccups                                      | RW Enhancer 2 HUD not displayed when using raw fullscreen display mode in Train Simulator (Borderless fullscreen or windowed display mode must be used)            |                                                     | More stable framerate with less micro-freezes and micro framerate hiccups                                      | RW Enhancer 2 HUD not displayed when using raw fullscreen display mode in Train Simulator (Borderless fullscreen or windowed display mode must be used)            |                                                    
-| Better GPU/CPU usage and reduce TS crashes when alt-tabbing and such operations                                | May be incompatible for now with some special technologies like Nvidia DLSS...                                                                                                                                                                +| Better GPU/CPU usage and reduce/eliminate TS crashes when alt-tabbing and such operations                                | May be incompatible for now with some special technologies like Nvidia DLSS...                                                                                                                                                                
 | Working even when playing Train Simulator without RW Enhancer 2 HUD or gameplay features                                                                                                                                                                                          | | Working even when playing Train Simulator without RW Enhancer 2 HUD or gameplay features                                                                                                                                                                                          |
 | Regularly updated to benefit for further performance and stability improvements in the future                  |                                                                                                                                                                    | | Regularly updated to benefit for further performance and stability improvements in the future                  |                                                                                                                                                                    |
Line 56: Line 58:
  
 Shows a frame time graph in the top left part of the screen. This shows how long does it takes to render a frame in milliseconds. The longer it takes to render a frame, the worse will be the global framerate. Shows a frame time graph in the top left part of the screen. This shows how long does it takes to render a frame in milliseconds. The longer it takes to render a frame, the worse will be the global framerate.
 +
 +=====Planned Improvements=====
 +
 +In it's current state the Vulkan renderer can provide a more stable framerate and some performances improvements depending on the routes that are being driven (3D complexity, tracks layout...). But in some cases the framerate could be lower compared to the default DX9 renderer of Train Simulator. That's why some improvements for the Vulkan renderer are planned in the future in order to improve it's performance and efficiency.
 +
 +In the coming months, you can expect those improvements: 
 +
 +  * Memory usage optimizations
 +  * GPU memory usage optimizations
 +  * CPU usage optimizations
 +  * Global average framerate improvements
  
  • core/vulkanrenderer.1659170440.txt.gz
  • Last modified: 30/07/2022 10:40
  • by admin