-
Notifications
You must be signed in to change notification settings - Fork 882
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
[D3D11] Microsoft Flight Simulator Game of the Year Edition (1250410): Visual artifacting between production logos. #4276
Comments
DXVK already zero-initializes all newly created resources, I don't understand why the patch would change anything. Are we sure the problem isn't with whatever is importing the shared texture? Would appreciate if you could try to figure out why this is not working, I don't really have the patience to deal with this 200GB monstrosity that takes several days to download due to terrible content servers and a terrible installer again. |
On second thought, if there is a user of the shared texture then there's a chance our initialization does not get submitted before the texture is used. Does adding something like
fix the problem as well? |
It does. And that makes sense. I think one thread writes the contents of the video (once its ready), and the other displays it. But I guess the commands to clear the texture were pending the first video write? And the flush now causes it to happen immediately? Anyway, thank-you for the quick turnaround. |
Thanks for confirming, currently trying to debug a nasty crash but I'll do a proper fix here once I have the time. |
Should be fixed as of 15365f2. |
Can confirm fixed! Thanks @doitsujin |
Software information
Microsoft Flight Simulator (1250410)
System information
Apitrace file(s)
link (may expire, I can refresh)
Log files
steam-1250410.log
When first starting up Microsoft Flight Simulator on the Steam Deck OLED, there is a garbled screen displayed prior to the first frame of the first video (which is the XBOX logo).
I have isolated this to a shared texture that is created with
MiscFlags = D3D11_RESOURCE_MISC_SHARED
. Below is an extract from the linked apitrace:The texture does not appear to be initialized and the garbled screen is the result of displaying the memory's previous content. I'm able to resolve this with the attached patch (which writes all zeros to a shared texture on creation):
msfs_hacky_fix.txt
Note that this only appears to happen with AMD GPUs. I have not dug into why that is (but presumably NVIDIA clears the texture first).
The text was updated successfully, but these errors were encountered: