-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current DXVK implementation (as of 2.3.1) seems to trigger SK_DXGI_PresentBase twice per frame #167
Comments
Ugh. I was hoping this issue would never come up. Figures it would be DXVK though. I think the proper solution would be for SK to call |
No wait, nevermind. This isn't fixable. The Steam overlay and RTSS will both crash if This is better addressed if you contact the developers of DXVK instead. |
dxgi hooking tools might hook both, eg. SpecialKO/SpecialK#167
dxgi hooking tools might hook both, eg. SpecialKO/SpecialK#167
dxgi hooking tools might hook both, eg. SpecialKO/SpecialK#167
closing for now since doitsujin/dxvk#3966 was merged while it fixed the double fps stats, it only partially fixed the degraded performance another cause of degraded performance seems to be related to will be creating a new issue when I have a better grasp of the other cause(s) of degraded performance |
In Wine, when dxvk d3d11.dll+dxgi.dll is installed to c:/windows/system32, SpecialK can still be hooked as local dxgi.dll/d3d11.dll placed next to applications
When loaded that way (SpecialK hooking DXVK d3d11.dll and dxgi.dll), below can be observed:
While I have not performed any runtime tracing to confirm this, this is likely caused by the fact that dxvk
DxgiSwapChain::Present
just callsDxgiSwapChain::Present1
with nullpPresentParameters
, firing bothPresent
andPresent1
hooks when an application usesPresent
https://github.com/doitsujin/dxvk/blob/2b70ba8f7798107308a0c34358a9e83e77017dfd/src/dxgi/dxgi_swapchain.cpp#L305-L307
Perhaps a config options should be added to skip either
DxgiSwapChain::Present1
orDxgiSwapChain::Present
hooking/callback?The text was updated successfully, but these errors were encountered: