You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If [code]true[/code], disables the threaded optimization feature from the NVIDIA drivers, which are known to cause stuttering in most OpenGL applications.
2885
2885
[b]Note:[/b] This setting only works on Windows, as threaded optimization is disabled by default on other platforms.
2886
+
[b]Note:[/b] If [member rendering/gl_compatibility/tune_nvidia_driver] is set to [code]true[/code] the feature will be disabled directly in the driver; if set to [code]false[/code], Godot will attempt to disable the feature indirectly by enabling minimal OpenGL logging.
If [code]true[/code], the NVIDIA drivers are tuned for G-Sync and to control threaded optimization (see [member rendering/gl_compatibility/nvidia_disable_threaded_optimization]).
If [code]true[/code], renders [VoxelGI] and SDFGI ([member Environment.sdfgi_enabled]) buffers at halved resolution (e.g. 960×540 when the viewport size is 1920×1080). This improves performance significantly when VoxelGI or SDFGI is enabled, at the cost of artifacts that may be visible on polygon edges. The loss in quality becomes less noticeable as the viewport resolution increases. [LightmapGI] rendering is not affected by this setting.
print_help_option("--disable-crash-handler", "Disable crash handler when supported by the platform code.\n");
657
657
print_help_option("--fixed-fps <fps>", "Force a fixed number of frames per second. This setting disables real-time synchronization.\n");
658
658
print_help_option("--delta-smoothing <enable>", "Enable or disable frame delta smoothing [\"enable\", \"disable\"].\n");
659
+
print_help_option("--allow-gpu-threaded-optimization", "Override the \"nvidia_disable_threaded_optimizations\" project setting.\n");
659
660
print_help_option("--print-fps", "Print the frames per second to the stdout.\n");
660
661
#ifdef TOOLS_ENABLED
661
662
print_help_option("--editor-pseudolocalization", "Enable pseudolocalization for the editor and the project manager.\n", CLI_OPTION_AVAILABILITY_EDITOR);
int thread_control_val = OGL_THREAD_CONTROL_DISABLE;
246
-
if (!GLOBAL_GET("rendering/gl_compatibility/nvidia_disable_threaded_optimization")) {
246
+
if (!GLOBAL_GET("rendering/gl_compatibility/nvidia_disable_threaded_optimization") || OS::get_singleton()->_is_gdriver_threaded_optimization_allowed()) {
0 commit comments