Vulkan engine screen tearing solution
Vulkan engine screen tearing solution
What is your system specs and what monitor do you have? Turning on vsync does cause input lag, especially if your keyboard & mouse's refresh rate isn't that high.
Some monitors have a built-in freesync or gsync features. So I need to know your system to see if it has those features.
Screen tearing will consistently occur when the graphics processing unit and display operate at different frequencies. Activating VSync compels the computer to limit maximum frames per second to 60 or 30, accommodating monitors susceptible to issues resulting from fluctuating frame rates. A viable alternative is acquiring a 144Hz monitor; otherwise, explore the possibility of configuring the monitor to display at 75Hz if that provides some improvement.
The Ryzen 3600 paired with a GTX 1070 Ti, and a G603 mouse set to 1000Hz is connected to a Dell U2715H monitor at 1440p resolution without G-Sync. The monitor’s native refresh rate is up to 80Hz, but frame skipping occurs in UFO testing at any frequency above 60Hz. Purchasing a 144Hz monitor would be beneficial, considering low frame rates in modern AAA games. DirectX games run smoothly, however Vulkan API games exhibit tearing even with consistent 60fps output.
Screen tearing is not a software problem; it’s a physical issue resulting from the screen refresh rate being out of synchronization with the frames transmitted to it.