# Application profiles for the NVIDIA Linux graphics driver, version 510.73.05
# Last modified: Sat May  7 05:18:40 UTC 2022
# These profiles were provided by NVIDIA and should not be modified.  If you
# wish to change the defaults provided here, you can override them by creating
# custom rules in /etc/nvidia/nvidia-application-profiles-rc (which will apply
# system-wide) or, for a given user, $HOME/.nv/nvidia-application-profiles-rc
# (which will apply to that particular user). See the "APPLICATION PROFILE
# SEARCH PATH" section of the NVIDIA Linux Graphics Driver README for more
# information.
{
    "profiles" : [
        {
          "name" : "NonConformantBlitFramebufferScissor",
          "settings" : [ "GLConformantBlitFramebufferScissor", false ]
        },
        {
          "name" : "CL1C",
          "settings" : [ "0x528ab3", 1 ]
        },
        {
          "name" : "FA0",
          "settings" : [ "10572898", 0 ]
        },
        {
          "name" : "ExactGLESVersion",
          "settings" : [ "ForceRequestedESVersion", 1 ]
        },
        {
          "name" : "IgnoreGLSLExtensionRequirements",
          "settings" : [ "GLIgnoreGLSLExtReqs", true ]
        },
        {
          "name" : "No VRR/OSD",
          "settings" : [
            {
              "key"   : "GLVRRAllowed",
              "value" : false
            },
            {
              "key"   : "VKDirectGSYNCAllowed",
              "value" : false
            },
            {
              "key"   : "VKDirectGSYNCCompatibleAllowed",
              "value" : 0
            },
            {
              "key"   : "GLShowGraphicsOSD",
              "value" : false
            }
          ]
        },
        {
          "name" : "UseThreadedOptimizations",
          "settings" : [ "GLThreadedOptimizations", true ]
        },
        {
          "name" : "NoThreadedOptimizations",
          "settings" : [ "GLThreadedOptimizations", false ]
        },
        {
          "name" : "NoAniso",
          "settings" : [ "GLLogMaxAniso", 0 ]
        },
        {
          "name" : "NamedVertexAttributesApplyDivisor",
          "settings" : [ "GL23cd0e", 1 ]
        },
        {
        "name" : "NonStrictDrawRangeElements",
        "settings" : [ "GLStrictDrawRangeElements", false ]
        },
        {
          "name" : "NoEnforceShaderInputOutputMatching",
          "settings" : [ "GLShaderPortabilityWarnings", false ]
        },
        {
          "name" : "HideVendorID",
          "settings" : [ "OVERRIDE_VENDORID", 4098 ]
        },
        {
          "name" : "DisablePersampleFragcoord",
          "settings" : [ "DisablePersampleFragcoord", true ]
        },
        {
          "name" : "ForceSeparateTrimThread",
          "settings" : [ "__GL_CPMM", 3 ]
        },
        {
            "name" : "IdleQueueOnSwapchainOOD",
            "settings" : [ "IdleQueueOnSwapchainOOD", true ]
        },
        {
            "name" : "DisableHostVisibleVidmem",
            "settings" : [ "HostVisibleVidmem", false ]
        }
    ],
    "rules" : [
        {
          "pattern" : {
             "feature" : "dso",
             "matches" : "libcogl.so"
          },
          "profile" : "NonConformantBlitFramebufferScissor"
        },
        {
          "pattern" : {
            "feature" : "dso",
            "matches" : "libMaya.so"
          },
          "profile" : "CL1C"
        },
        {
          "pattern" : {
            "feature" : "dso",
            "matches" : "libMaya.so"
          },
          "profile" : "NamedVertexAttributesApplyDivisor"
        },
        { "pattern" : "SkullGirls.x86_64-pc-linux-gnu", "profile" : "NoAniso" },
        { "pattern" : "SkullGirls.i686-pc-linux-gnu", "profile" : "NoAniso" },
        { "pattern" : "Indivisible_Linux.i686-pc-linux-gnu", "profile" : "NoAniso" },
        { "pattern" : "dontstarve_steam",     "profile" : "NoAniso" }, 
        { "pattern" : "xsi", "profile" : "CL1C" },
        { "pattern" : "HoudiniFX", "profile" : "CL1C" },
        { "pattern" : "katana", "profile" : "CL1C" },
        { "pattern" : "Autodesk Mudbox 2014 64-bit", "profile" : "CL1C" },
        { "pattern" : "octane", "profile" : "CL1C" },
        { "pattern" : "Fusion64_6.4", "profile" : "CL1C" },
        { "pattern" : "Nuke7.0", "profile" : "CL1C" },
        { "pattern" : "vray.exe", "profile" : "CL1C" },
        { "pattern" : "vray.bin", "profile" : "CL1C" },
        { "pattern" : "kwin_gles", "profile" : "FA0" },
        { "pattern" : "kwin_gles", "profile" : "ExactGLESVersion" },
        {
           "pattern" : [
            { "feature" : "procname", "matches" : "heaven_x86"},
            { "op" : "not", "sub" : { "feature" : "findfile", "matches" : "browser_x86" } }
           ],
           "profile" : "IgnoreGLSLExtensionRequirements"
        },
        {
           "pattern" : [
            { "feature" : "procname", "matches" : "heaven_x64"},
            { "op" : "not", "sub" : { "feature" : "findfile", "matches" : "browser_x64" } }
           ],
           "profile" : "IgnoreGLSLExtensionRequirements"
        },
        { "pattern" : { "feature" : "procname", "matches" : "cinnamon" },               "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "compiz" },                 "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "compton" },                "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "enlightenment" },          "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "gnome-shell" },            "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "kscreenlocker_greet" },    "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "kwin" },                   "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "kwin_x11" },               "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "picom" },                  "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "plasmashell" },            "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "ksplashqml" },             "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "systemsettings5" },        "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "muffin" },                 "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "dso",      "matches" : "libmutter" },              "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "steam" },                  "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "steamcompmgr" },           "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "vrmonitor" },              "profile" : "No VRR/OSD" },
        { "pattern" : "GoatGame", "profile" : "NonStrictDrawRangeElements" },
        { "pattern" : "ShadowOfMordor",  "profile" : "NoEnforceShaderInputOutputMatching" },
        { "pattern" : "shotcut",         "profile" : "NoThreadedOptimizations" },
        { "pattern" : "MetroLL",         "profile" :  "NoThreadedOptimizations" },
        { "pattern" : "Borderlands2",    "profile" : "UseThreadedOptimizations" },
        { "pattern" : "BorderlandsPreSequel", "profile" : "UseThreadedOptimizations" },
        { "pattern": "AlienIsolation",   "profile" : "UseThreadedOptimizations" },
        { "pattern": "Civ6",             "profile" : "UseThreadedOptimizations" },
        { "pattern": "CivBE",            "profile" : "UseThreadedOptimizations" },
        { "pattern": "overlord.i386",    "profile" : "UseThreadedOptimizations" },
        { "pattern": "X-Plane-x86_64",   "profile" : "UseThreadedOptimizations" },
        { "pattern": "RocketLeague",     "profile" : "UseThreadedOptimizations" },
        { "pattern": "RocketLeague",     "profile" : "NoAniso" },
        { "pattern": "DeusExMD",         "profile" : "DisablePersampleFragcoord" },
        { "pattern": "firefox",          "profile" : "ForceSeparateTrimThread" },
        { "pattern": "firefox",          "profile" : "FA0" },
        { "pattern": "Dirt4",               "profile" : "IdleQueueOnSwapchainOOD" },
        { "pattern": "RiseOfTheTombRaider", "profile" : "IdleQueueOnSwapchainOOD" },
        { "pattern": "ShadowOfTheTombRaider", "profile" : "IdleQueueOnSwapchainOOD" },
        { "pattern": "LifeIsStrange2", "profile" : "IdleQueueOnSwapchainOOD" },
        { "pattern": "Hitman", "profile" : "IdleQueueOnSwapchainOOD" },
        { "pattern": "F12017", "profile" : "IdleQueueOnSwapchainOOD" },
        { "pattern": "ShadowOfMordor", "profile" : "IdleQueueOnSwapchainOOD" },
        { "pattern": "MadMax", "profile" : "IdleQueueOnSwapchainOOD" },
        { "pattern": "GRIDAutosport", "profile" : "IdleQueueOnSwapchainOOD" },
        { "pattern": "DawnOfWar3",  "profile" : "DisableHostVisibleVidmem" }
    ]
}
