Skip to content

Commit 51815b8

Browse files
committed
2 parents 01539a8 + 4f4fd6c commit 51815b8

File tree

5 files changed

+46
-14
lines changed

5 files changed

+46
-14
lines changed

Config.md

+46-14
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Configuration
22
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.
33

4-
![in-game menu](images/menu.png)
4+
![in-game menu](images/menu043.png)
55

66
### Upscalers
77
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
6565

6666
```ini
6767
[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
7069
;
7170
; 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+
8078
; 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
8291
```
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.
8393

84-
It can be changed from the in-game menu with real-time results.
94+
![dx11 with dx12 flow](images/Dx11wDx12.png)
8595

86-
![dx11 sync setings](images/dx11sync.png)
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+
![dx11 sync setings](images/dx11wdx12menu.png)
87107

88108
### XeSS Settings
89109

@@ -388,4 +408,16 @@ These can be changed from the in-game menu with real-time results.
388408

389409
![logging](images/logging.png)
390410

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+
![menu scale](images/ui_scale.png)
422+
391423

images/Dx11wDx12.png

18.4 KB
Loading

images/dx11wdx12menu.png

24.7 KB
Loading

images/menu043.png

375 KB
Loading

images/ui_scale.png

3.92 KB
Loading

0 commit comments

Comments
 (0)