How can I package a game in an Unreal Engine project with the DLSS plugin installed, where DLSS is not enabled by default during runtime? I hope that after game runs, the player decides whether to enable DLSS or not.
Because I found that there is a conflict between DLSS and VSync. When DLSS is enabled, I can choose to turn off VSync, but if the player really wants to enable VSync, it is found that DLSS cannot be turned off.
The resulting situation is that when VSync is enabled, the latency will be very large.
When I haven’t installed the DLSS plugin and packaged the game, the delay displayed on the right is 0 ms. At this time, enabling VSync can work normally.
However, when vertical synchronization is enabled at this time, the latency will gradually increase until it reaches about 100 ms, which obviously affects the gameplay.
Moreover, sometimes when entering the game and doing nothing, the latency will increase slowly. Unless I set the frame rate cap to unlimited, it will reduce the latency by about 20, which is relatively normal.
I called out the NGX panel and tried to turn off all the Settings that could be turned off in the panel, but the delay on the right still existed. It seemed that it was always affected by the DLSS plugin, even though it did not use the effect of the DLSS plugin.