Skip to content
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

[d3d9] Sword and Fairy 4 (1621680) black screen or flickering #2915

Closed
gofman opened this issue Sep 14, 2022 · 0 comments · Fixed by #3392
Closed

[d3d9] Sword and Fairy 4 (1621680) black screen or flickering #2915

gofman opened this issue Sep 14, 2022 · 0 comments · Fixed by #3392
Labels

Comments

@gofman
Copy link
Contributor

gofman commented Sep 14, 2022

That works fine on native WIndows or with wined3d (the issue is reproducible with dxvk on Windows as well).

It seems to me that the culprit is that the game always calls Present() twice (one after another immediately). The game has single swapchain with one backbuffer and D3DSWAPEFFECT_DISCARD. I guess that always results in the image copy on Windows and wined3d but with dxvk two images get swapped twice and correct image present is always followed by black image present which never gets rendered to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants