@@ -21,8 +21,8 @@ class GPULaunchManager:
2121 MANGOHUD_SEARCH_PATHS = ["/usr/bin/" , "/usr/local/bin/" ]
2222
2323 MESA_SETTINGS = [
24- ("Vulkan Vsync:" , 'mesa_vsync_vk_combo' , ["unset" , "on" , "off" ]),
25- ("OpenGL Vsync:" , 'mesa_vsync_gl_combo' , ["unset" , "on" , "off" ]),
24+ ("Vulkan Vsync:" , 'mesa_vsync_vk_combo' , ["unset" , "mailbox" , "adaptive vsync" , " on" , "off" ]),
25+ ("OpenGL Vsync:" , 'mesa_vsync_gl_combo' , ["unset" , "default interval 0" , "default interval 1" , " on" , "off" ]),
2626 ("OpenGL Thread Optimizations:" , 'mesa_thread_opt_combo' , ["unset" , "on" , "off" ]),
2727 ("OpenGL Extension Overrides:" , 'mesa_extension_override_combo' ,
2828 ["unset" , "try to disable anisotropic" , "try to disable antialiasing" , "try to disable both" ]),
@@ -78,13 +78,13 @@ class GPULaunchManager:
7878 ]
7979
8080 MESA_ENV_MAPPINGS = {
81- 'mesa_vsync_gl_combo' : {
82- 'var_name' : 'vblank_mode' ,
83- 'values' : {'on' : '3' , 'off' : '0' }
84- },
8581 'mesa_vsync_vk_combo' : {
8682 'var_name' : 'MESA_VK_WSI_PRESENT_MODE' ,
87- 'values' : {'on' : 'fifo' , 'off' : 'immediate' }
83+ 'values' : {'mailbox' : 'mailbox' , 'adaptive vsync' : 'relaxed' , 'on' : 'fifo' , 'off' : 'immediate' }
84+ },
85+ 'mesa_vsync_gl_combo' : {
86+ 'var_name' : 'vblank_mode' ,
87+ 'values' : {'default interval 0' : '1' , 'default interval 1' : '2' , 'on' : '3' , 'off' : '0' }
8888 },
8989 'mesa_thread_opt_combo' : {
9090 'var_name' : 'mesa_glthread' ,
0 commit comments