|
1 | 1 | # Configuration
|
2 | 2 | This document will try to explain the `nvngx.ini` and in-game menu (shortcut key for opening menu is **HOME**) settings as much as possible.
|
3 | 3 |
|
4 |
| - |
| 4 | + |
5 | 5 |
|
6 | 6 | ### Upscalers
|
7 | 7 | OptiScaler supports DirectX 11, DirectX 12 and Vulkan APIs with multiple upscaler backends. You can select which upscaler to use in the `[Upscalers]` section of the `nvngx.ini` file.
|
@@ -65,25 +65,45 @@ For DirectX11 with `fsr21_12`, `fsr22_12` and `xess` upscaler options, OptiScale
|
65 | 65 |
|
66 | 66 | ```ini
|
67 | 67 | [Dx11withDx12]
|
68 |
| -; Safe syncing measures for Dx11 with Dx12 |
69 |
| -; Might be needed for Intel Arc cards or different Dx11 drivers |
| 68 | +; Syncing meathods for Dx11 with Dx12 |
70 | 69 | ;
|
71 | 70 | ; Valid values are;
|
72 |
| -; 0 - Safe syncing is off (fastest, most prone to errors) |
73 |
| -; 1 - Only Fences |
74 |
| -; 2 - Fences + Flush after Dx11 texture copies |
75 |
| -; 3 - Sync after output copy (most compatible) |
76 |
| -; 4 - No fences, all sync done with queries (slowest) |
77 |
| -; |
78 |
| -; 0 is fastest, 4 is slowest |
79 |
| -; |
| 71 | +; 0 - No syncing (fastest, most prone to errors) |
| 72 | +; 1 - Fence |
| 73 | +; 2 - Fences + Flush |
| 74 | +; 3 - Fences + Event |
| 75 | +; 4 - Fences + Flush + Event |
| 76 | +; 5 - Query Only |
| 77 | + |
80 | 78 | ; Default (auto) is 1
|
81 |
| -UseSafeSyncQueries=auto |
| 79 | +TextureSyncMethod=auto |
| 80 | + |
| 81 | +; Default (auto) is 5 |
| 82 | +CopyBackSyncMethod=auto |
| 83 | + |
| 84 | +; Start output copy back sync after or before Dx12 execution |
| 85 | +; true or false - Default (auto) is true |
| 86 | +SyncAfterDx12=auto |
| 87 | + |
| 88 | +; Delay some operations during creation of D11wDx12 features to increase compatibility |
| 89 | +; true or false - Default (auto) is false |
| 90 | +UseDelayedInit=auto |
82 | 91 | ```
|
| 92 | +Diagram below show flow of Dx11 with Dx12 upscaling process. Yellow circles are syncing (or possible syncing points). `SyncAfterDx12` selects when second sync will happen. |
83 | 93 |
|
84 |
| -It can be changed from the in-game menu with real-time results. |
| 94 | + |
85 | 95 |
|
86 |
| - |
| 96 | +`No syncing` : Self explanotory |
| 97 | +`Fence` : Sync using shared `Fence`s (Signal & Wait). These should happen on GPU which is pretty fast. |
| 98 | +`Fence + Event` : Sync using shared `Fence`s (Signal & Event). `Event`s are waited on CPU which is slower. |
| 99 | +`Flush` : After Signal shared `Fence`, `Flush`es Dx11 DeviceContext. |
| 100 | +`Query Only` : Uses Dx11 `Query` to sync, in general faster that `Event`s but slower than `Fence`s. |
| 101 | + |
| 102 | +When using `Event`s for syncing output `SyncAfterDx12=false` is usually more performant. |
| 103 | + |
| 104 | +These can be changed from the in-game menu with real-time results (except `UseDelayedInit`). |
| 105 | + |
| 106 | + |
87 | 107 |
|
88 | 108 | ### XeSS Settings
|
89 | 109 |
|
@@ -388,4 +408,16 @@ These can be changed from the in-game menu with real-time results.
|
388 | 408 |
|
389 | 409 | 
|
390 | 410 |
|
| 411 | +### Menu |
| 412 | +```ini |
| 413 | +[Menu] |
| 414 | +; In-game ImGui menu scale |
| 415 | +; 1.0 to 2.0 - Default (auto) is 1.0 |
| 416 | +Scale=auto |
| 417 | +``` |
| 418 | + |
| 419 | +These can be changed from the in-game menu with real-time results. |
| 420 | + |
| 421 | + |
| 422 | + |
391 | 423 |
|
0 commit comments