HI!
I want to jump and use Vulkan for our next game but im having extreme dificulty profiling Vulkan.
Unity profiler, SnapDragon, RenderDoc, Arm Graphic Profiler, Android Studio, All of my everyday tools cant show correct information.
As base test i use an empty scene and check the FPS for Vsync 60 FPS.
Open GL 2, and 3 give me the result i was specting. 60 FPS with an empty scene.
Vulkan, 30, 40, 50, 60 Fps with an empty scene.
When i test a real case with objects;
Vulkan is faster but the frame rate is crazy.
Open GL is slowler but the frame rate donst jump as vulkan at all, easy to profile.
Is there any option im forgetting to check?
This is my own web profile i use,
Vulkan
OpenGL
I hope Felipe Lira read this forum…
Hi!
Which Unity version did you use?
Hi there,
Unity 2019.3.3f1
URP 7.3.1
Tested in 3 android devices with same result.
Samsung Mali-T760MP8
Sharp Snapdragon 820
Kirin Phone, need to check the specs
Configuration;
Color Space Linear
Graph Api; Vulkan, OpenGLES3
Multithreaded Rendering Check
Static Batching Check
Compute Skinning OFF
Graphic Job OFF
Frame Stats OFF (Vulkan implementation of this tool is broke)
SRGB Write mode OFF
Swapchain Buffer 3
Sustained Performance Mode OFF
IL2CPP
From the graphs it looks like vulkan is alternating between 30 and 60 FPS. Do you have Optimised Frame Pacing enabled?
Yes, Vulkan is alternating from 30 to 60 fps.
I have Optimised Frame Pacing OFF, i will turn it on and profile again.
I was pretty sure that Optimised Frame Pacing implementation is Broke in some old android devices.
Actually with the Frame pacing on I get steady 60 fps on Snapdragon.
Frame pacing Off, fluctuate 30 to 60 fps.
Strange is when I turn Frame pacing ON I can not force 30fps using targetFrameRate = 30 or vSyncCount 2. it goes full 60 fps no matter what. Is that normal?
And this is worth a bug report. I don’t know if this is a known issue of not 
sorry for late reply,
Thank you, i will report the bug today
1 Like
Please post the bug case number here once you have one.
1254272
(Open) Vulkan frame pacing is broke, Vsync and TargetFrame
1 Like