nvpro-samples / gl_vk_chopper

Simple vulkan rendering example.
Apache License 2.0
204 stars 45 forks source link

Vsync off: fps drops & freezes #10

Closed ddurnev closed 8 years ago

ddurnev commented 8 years ago

Running on nvidia 364.16, ubuntu 16.04 x64, GTX Titan X: when vsync is ON it's OK(only minor fps drops sometimes, avg microseconds is 110), but turning vsync off(by pressing 'v' key) causes not only serious fps inconsistencies(avg microseconds changes from 66 to 580), but also freezes GUI(even mouse cursor stops moving).

chrisjhebert1973 commented 8 years ago

Hi Are you running this on Windows or Linux?

I have had some syncronization issues on Linux with chopper which I'm looking into. I've not experienced any issue like this on Windows though

ddurnev commented 8 years ago

Sorry, but ubuntu 16.04 x64 is definitely GNU/Linux system yet :) BTW I don't see any point in using vulkan on Windows, they have DX12 there ;)

OlliC commented 8 years ago

Noticed the same on Arch Linux with driver 364.16 and an GTX 660.

Very stuttery and mouse cursor freezing. I cannot drag the window around or closing it without complete UI freezes for several seconds.

Martin-Schultz commented 8 years ago

When i turned off vsync on my windows 10 system there were choppers spawning at 0,0,0 This also happens when vsync is on but it happens way less frequently. with vsync off this happens several times per second. chopper1

chrisjhebert1973 commented 8 years ago

You somehow have a very early version of this sample. It is no longer called gl_vk_gazelle. This used to happen with the first version when we had an issue with the VkSemaphores. This was fixed several months ago.