Q:Query about vulkan backend performance

88 views
Skip to first unread message

ChenHz Le

unread,
Jan 4, 2022, 5:48:45 AM1/4/22
to angleproject
Hi,
    I am curious about the performance of angle vulkan backend., so i follw the doc https://github.com/google/angle/blob/master/doc/DevSetup.md to build angle project.

    Then i run some example of angle like hello_triangle.exe to test the vulkan backend and d3d11 backend on different machines to compare, the result can be listed as follows:

The testing examples: hello_triangle,  multi_texture, multi_drawbuffers, glmark2
(fps is the approximate number of cmd, not exactly)

  1. GPU:AMD Radeon RX 580 2048SP, Vulkan 1.2.133
  result(d3d11/vulkan): 7300/6500 fps, 6900/6300 fps, 4800/4400 fps, glmark2 score:6045/5687

  2.GPU:NVIDIA GeForce GTX 960, Vulkan 1.2.200
  result(d3d11/vulkan):7400/5900 fps,   7300/5700 fps,  4600/3700 fps, glmark2 score:6607/6057

  3.GPU:NVIDIA GeForce GTX 1650 SUPER,  Vulkan 1.2.186
  result(d3d11/vulkan): 12000/6200 fps, 10000/5800 fps, 6400/4100 fps, glmark2 score:8936/5028

 so the results show that the perfermance of d3d11 is better than vulkan, but i know some informations showing that vulkan is better than d3d11 in many scenes.
  
  Can anybody tell me why this occurs?  or what did i do wrong when testing these two rendering backend?
  Thanks!

yours,
Le

Jamie Madill

unread,
Jan 4, 2022, 10:01:11 AM1/4/22
to 4057...@qq.com, angleproject
For these three very simple scenes, it's possible that the D3D11 swap chain on these configs outperforms the Vulkan swapchain. The Vk back-end does have some advantages over D3D11 where we don't have to do complex emulation, i.e. for transform feedback. Also the CPU overhead in general should be lower, though we haven't looked as closely at it. For simple scenes that are GPU-limited, performance should be similar, so don't expect a silver bullet.

--
You received this message because you are subscribed to the Google Groups "angleproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angleproject...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/angleproject/7f4e30ab-de11-4496-bba3-3a4cb3caaf35n%40googlegroups.com.
Message has been deleted

ChenHz Le

unread,
Jan 4, 2022, 11:17:58 PM1/4/22
to angleproject
Thanks for the reply Jamie!    I tried to use procexp tool then I found the CPU utilization of vulkan is much lower than d3d11's, too.  Maybe I should find some complex rendering scenes to test later.  
Reply all
Reply to author
Forward
0 new messages