Code Monkey home page Code Monkey logo

Comments (6)

mbriar avatar mbriar commented on August 27, 2024 1

For example for d3d11 games:

DXVK_CONFIG="dxgi.syncInterval = 0" is equivalent to MESA_VK_WSI_PRESENT_MODE=immediate

DXVK_CONFIG="dxgi.syncInterval = 1" is equivalent to MESA_VK_WSI_PRESENT_MODE=fifo

DXVK_CONFIG="dxgi.syncInterval = 0; dxvk.tearFree = True" is equivalent to MESA_VK_WSI_PRESENT_MODE=mailbox

and those don't suffer from the problem of being overwritten with VK_EXT_swapchain_maintenance1 dynamic present mode switching.

from dxvk.

Lassebq avatar Lassebq commented on August 27, 2024

This issue is a regression. DXVK 2.2.0 works as intended
On second thought... accoding to other sources (1) (2) it's related to VK_EXT_swapchain_maintenance1 in Mesa.

from dxvk.

mbriar avatar mbriar commented on August 27, 2024

This is most likely because DXVK now uses VK_EXT_swapchain_maintenance1, which allows the application to change the present mode dynamically without recreating the swapchain, and Mesa probably only applies whatever you set in MESA_VK_WSI_PRESENT_MODE on swapchain creattion. Not a DXVK bug (nor could some driver specific env var ever be a DXVK bug...).

from dxvk.

Lassebq avatar Lassebq commented on August 27, 2024

In that case I'll stay on DXVK 2.2.0 for the time being and see how it goes. Thanks anyway

from dxvk.

mbriar avatar mbriar commented on August 27, 2024

Why would you stay on DXVK 2.2 because of that? Most games allow you to just change the present mode between at least fifo and immediate in the display settings directly, and for all other cases dxvk.conf can do everything the driver env var can.

from dxvk.

Lassebq avatar Lassebq commented on August 27, 2024

There's a single unity game which doesn't have an option for that. Had to force it through driver. Also I didn't know about dxvk.conf. Gonna look into that as well.

from dxvk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.