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

Extreme screen tearing when camera moves super fast - Synchronization issues with Vulkan swapchain frame data #85

Open
Pikachuxxxx opened this issue Jan 15, 2022 · 1 comment
Labels
bug Something isn't working graphics:Render Pass Issues with the Rend Pass/Rendering alg/implementation graphics:Vulkan Issue related to Vulkan API implementation help wanted Extra attention is needed icebox This will not be worked on for a while
Milestone

Comments

@Pikachuxxxx
Copy link
Owner

Pikachuxxxx commented Jan 15, 2022

Current state of swapchain image synchronization is causing the image to tear when the camera moves really abruptly as shown below:

IMG_0052.mov

Swapchain images acquire and present code needs to be refactored to check for the image that is returned and is ready for rendering is not the one being presented, use 3 fences to check against the semaphores and fences of the 2 frames in flight as done in vulkan-tutorial.com website, current implementation is inspired by sascha's vulkan examples

============================================================
Razix Engine Stats
Version : 0.20.1
Configuration : [Debug | Release | Distribution]
Release Stage : Development
Release Date : 9-1-2022
OS : Windows 10 Home
Processor : Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz 2.60 GHz
Vulkan API Version : 1.2.186
GPU Name : NVIDIA GeForce RTX 2060
Vendor ID : 4318
Device Type : DISCRETE GPU
Driver Version : 497.116.0

@Pikachuxxxx Pikachuxxxx added the bug Something isn't working label Jan 15, 2022
@Pikachuxxxx Pikachuxxxx changed the title some kind of tearing issues investigate and resolve Extreme screen tearing when camera moves super fast - Synchronization issues with Vulkan swapchain frame data Jan 20, 2022
@Pikachuxxxx Pikachuxxxx added the good first issue Good for newcomers label Jan 20, 2022
@Pikachuxxxx Pikachuxxxx added this to the V.1.0.0.RC milestone Mar 6, 2022
@Pikachuxxxx Pikachuxxxx added help wanted Extra attention is needed graphics:Render Pass Issues with the Rend Pass/Rendering alg/implementation graphics:Vulkan Issue related to Vulkan API implementation labels Mar 7, 2022
@Pikachuxxxx
Copy link
Owner Author

@Pikachuxxxx Pikachuxxxx added icebox This will not be worked on for a while and removed good first issue Good for newcomers labels Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working graphics:Render Pass Issues with the Rend Pass/Rendering alg/implementation graphics:Vulkan Issue related to Vulkan API implementation help wanted Extra attention is needed icebox This will not be worked on for a while
Projects
None yet
Development

No branches or pull requests

1 participant