Something wrong with profilers and vsync


#1

1)Frame ms is changing from 11 to 20+ ms (in game profiler)
2)In html profiler it show 80ms per frame
2018-12-06_23-27-16


#2

visual profiler is more correct.


#3

Yes, i also think so.


#4

What platform, hardware and Defold version are you running? What does your project display settings looks like (vsync, frame cap etc.)?


#5

Pc, windows. Last defold version. Default project display values. Vsync on. Frame cap 0.


#6

OK, let’s try too narrow it down some. Do you experience that the game actually takes 80ms per frame, or could it be just the measurements in the profiler that are off?


#7

Game looks like 16ms.


#8

I don’t know if this is the same problem here, but I recognized also a ‘hiccup’ with the latest Defold. To make sure it’s not a problem on my side I’ve tested it with an empty project. Every setting is default and it jumps from 16 ms to often 33 ms in regular intervals. With fullscreen on it doesn’t happen. My System is Linux and I’ve tested it with both graphics cards I’ve integrated (Intel HD 630/Nvidia 1050TI) to make sure it’s not a driver issue and I’ve tested it with my external monitor detached. The problem remains. Only fullscreen mode helps.