Skip to content
TheChatArchiveThe Chat Archive
gpt-4-1106-preview· OpenAIAi2 WildChat-4.8M (AI2)

Can you optimize this dxvk.conf for game that the bottleneck is the CPU. I have a very…

  1. User

    Can you optimize this dxvk.conf for game that the bottleneck is the CPU. I have a very high end system with 4k monitor with full amd (cpu+gpu) in windows 11

    d3d9.maxFrameRate = 0 d3d9.maxFrameLatency = 1 d3d9.numBackBuffers = 0 d3d9.presentInterval = 0 d3d9.tearFree = False d3d9.maxAvailableMemory = 16384 d3d9.evictManagedOnUnlock = True d3d9.allowDiscard = True dxvk.enableAsync = True dxvk.numCompilerThreads = 24 dxvk.numAsyncThreads = 0 d3d9.samplerAnisotropy = 16 d3d9.invariantPosition = False d3d9.memoryTrackTest = True d3d9.noExplicitFrontBuffer = True d3d9.strictConstantCopies = True d3d9.lenientClear = True dxvk.maxChunkSize = 256 d3d9.longMad = False d3d9.floatEmulation = Auto d3d9.forceSwapchainMSAA = 0 d3d9.supportVCache = True d3d9.forceSamplerTypeSpecConstants = False dxvk.useRawSsbo = False d3d9.disableA8RT = True d3d9.shaderModel = 3 d3d9.dpiAware = True

    i just want the config not any comments or explanation

  2. Assistant

    If the bottleneck in your system is the CPU and you want to optimize the dxvk.conf for that scenario while using a high-end AMD system with Windows 11, here's an optimized configuration:

    d3d9.maxFrameRate = 0
    d3d9.maxFrameLatency = 1
    d3d9.numBackBuffers = 2
    d3d9.presentInterval = 1
    d3d9.tearFree = False
    d3d9.maxAvailableMemory = 16384
    d3d9.evictManagedOnUnlock = True
    d3d9.allowDiscard = True
    dxvk.enableAsync = True
    dxvk.numCompilerThreads = 12
    dxvk.numAsyncThreads = 4
    d3d9.samplerAnisotropy = 16
    d3d9.invariantPosition = False
    d3d9.memoryTrackTest = False
    d3d9.noExplicitFrontBuffer = False
    d3d9.strictConstantCopies = False
    d3d9.lenientClear = True
    dxvk.maxChunkSize = 256
    d3d9.longMad = False
    d3d9.floatEmulation = Auto
    d3d9.forceSwapchainMSAA = 0
    d3d9.supportVCache = True
    d3d9.forceSamplerTypeSpecConstants = False
    dxvk.useRawSsbo = False
    d3d9.disableA8RT = False
    d3d9.shaderModel = 3
    d3d9.dpiAware = True
    

    Note: Configuration may vary depending on the specific CPU and GPU in use, as well as the individual game requirements. It might require further testing and fine-tuning based on the actual performance in your setup.

  3. User

    What does d3d9.maxFrameLatency = 1 d3d9.numBackBuffers = 2 d3d9.presentInterval = 1 do?

  4. Assistant

    These settings in a DXVK config file control certain aspects of rendering and presentation behavior:

    • d3d9.maxFrameLatency = 1: This setting specifies the maximum number of frames that the system can queue for rendering. A lower value like 1 can reduce input lag but may lead to decreased performance if the GPU waits for the CPU to finish more often, which can be relevant in CPU-bound scenarios.

    • d3d9.numBackBuffers = 2: The number of back buffers is used in a swap chain for double buffering (2) or triple buffering when higher. Double buffering (a value of 2) can help reduce tearing and allows rendering to occur in one buffer while another buffer is being displayed. However, using more than double buffering can increase the input latency but may provide a smoother experience when frame rates fluctuate.

    • d3d9.presentInterval = 1: This setting controls the presentation interval, also known as vertical sync (VSync). A value of 0 disables VSync, removing the frame rate cap and potentially reducing input latency at the expense of screen tearing. A value of 1 enables VSync, which synchronizes the presentation of a new frame with the vertical blanking interval of the monitor to prevent tearing but adds input latency and caps the frame rate to the monitor's refresh rate.

    Each of these settings has trade-offs, and their optimal values can be game and hardware-dependent. Adjusting them may help to balance performance, input latency, and visual quality based on your hardware capabilities and personal preferences.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.