MethanePowered / MethaneAsteroids

:ringed_planet: Asteroids sample demonstrating multi-threaded rendering of large number random-generated asteroids with Methane Kit framework using DirectX 12, Vulkan and Metal
https://github.com/MethanePowered/MethaneKit
Apache License 2.0
16 stars 1 forks source link

Low frame rate in Asteroids build with Vulkan API #12

Closed egorodet closed 10 months ago

egorodet commented 10 months ago

Describe the bug "Asteroids" sample built for Vulkan API has significantly lower FPS than for DirectX API in multi-threaded rendering scenario.

Steps To Reproduce Steps to reproduce the behavior:

  1. Run "Asteroids" sample built for DirectX, set scene complexity to 8 (35000 asteroids) => get ~294 FPS
  2. Run "Asteroids" sample built for Vulkan, set scene complexity to 8 (35000 asteroids) => get ~77 FPS

MethaneAsteroids_ParallelRender_FPS

Expected behavior Comparable FPS is expected for DirectX and Vulkan version for the same application with equal parameters.

Desktop (please complete the following information):

Rootcause This issue is tracked and fixed in MethanePowered/MethaneKit#130

egorodet commented 10 months ago

FPS after issue was fixed in MethaneKit: MethaneAsteroids_ParallelRender_FPS_Fixed