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.
The official statement also mentioned the issue of VSync, but they only suggested turning off VSync and did not explain how to disable DLSS if VSync is to be enabled.
Moreover, I had conflicts with VSync even before I enabled Frame Generation.
I have tried the commands r.NGX.enable 0 and r.NGX.DLSS.enable 0. When executed, the screen flashes for a moment. It seems that the commands are effective, but they still cannot solve the problems of latency and vertical synchronization, and the effect of DLSS still exists. It seems that it is still affected by DLSS.
Hi, make sure to also disable nvidia reflex (IIRC that is mandatory enabled when frame generation is enabled), since that will likely also interfere with vsync.
I hope to have a master switch to control all the functions related to DLSS, because not all players have nvidia graphics cards or like to enable DLSS, but I couldn’t find this switch.
None of the things you’re doing here seem to touch DLSS Frame Generation, which is the issue that’s referenced in the official statement. Try the “Set DLSS-FG Mode” Blueprint node instead.