Results 1 to 8 of 8

Thread: Is Vulkan important?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Thank you for your reply. I am very surprised about your answer and, to be honest, I cannot believe everything. I always thought that the main limiting factor for performance was the graphics card. Delphi does not anything else than every other 3D graphics engines. It sends out vertices to the graphics card. Delphi is even more respective to the underlying system architectures. For Windows it uses directX. I can't see where the performance could be freined. Even JavaScript achieves good 3d performance. I can't believe that Firemonkey in a compiled language could be slower than JavaScript scripts or C# bytecode. It does not anything else than sending vertices to the graphics cards, by an abstraction of the underlying graphics API. It can be true that very high level controls in Delphi are not programmed with the necessary performance. But for the main 3D functionality Firemonkey should be the same level as C++ OpenGL, on Windows even faster because of directX. With the Vulkan libraries support there should be the same performance as in C++ Vulkan applications. That was not even my original question. This was already clear for me. Therefore I am very surprised that you even disagree in my first suppositions. Do you have any informations or tests? That would be very strange. My question was only about the gain of performance of the Vulkan libraries themselves.

  2. #2
    Quote Originally Posted by gerdich View Post
    I am very surprised about your answer and, to be honest, I cannot believe everything. I always thought that the main limiting factor for performance was the graphics card.
    Raw computational power of your graphic cards means nothing if the Graphical Engine is poorly implemented and doesn't use it properly.

    Quote Originally Posted by gerdich View Post
    Delphi does not anything else than every other 3D graphics engines. It sends out vertices to the graphics card. Delphi is even more respective to the underlying system architectures. For Windows it uses directX. I can't see where the performance could be freined.
    According to my observations it does. I'm not sure what and how since Delphi doesn't ship with full source code for FireMonkey but I could never achieve performance of FireMonkey which would be even close to some other graphical engines.

    Quote Originally Posted by gerdich View Post
    I can't believe that Firemonkey in a compiled language could be slower than JavaScript scripts or C# bytecode. It does not anything else than sending vertices to the graphics cards, by an abstraction of the underlying graphics API. It can be true that very high level controls in Delphi are not programmed with the necessary performance.
    How could you then explain the masive performance difference seen with Asphyre Sphinx 3 game engine when you were using built in rendering and ran very fast versus FireMonkey rendering which was about 20 to 30 percent slower and was required if you wanted to use FireMonkey controls for UI development instead of designing your own UI from scratch.


    Quote Originally Posted by gerdich View Post
    But for the main 3D functionality Firemonkey should be the same level as C++ OpenGL, on Windows even faster because of directX.
    FireMonkey could never reach same performance as working directly with DirectX or OpenGL. Why? Because FireMonkey represents just another abstract layer on top of these API's. And as we all now each abstract layer costs some performance.
    I also see you are one of those people who are convinced that DirectX on Windows is much better than OpenGL. Well it is not. Instead they are pretty much equal. Sure if you are using graphical drivers that sip with windows then you don't expect to get muc performance when using OpenGL. Just another Microsoft attempt to keep DirecX relevant. But if you install vendors drivers for your graphics card then you are good to go.

    Any way in the end performance greatly relies on how optimized is the games graphical engine for working with specific graphical API. This is why some games run better in DirectX and some run better in OpenGL.

    [QUOTE=gerdich;148967]Do you have any informations or tests?

    Unfortunately I don't have any test available any more since it is some time from when I was evaluating FireMonkey for usage in game development. But in my last attempt I couldn't even make a complex UI for economic based sim game (lots of graphs and lists) without lowering FPS below 60. And this was only UI without the actual game scene.

    Quote Originally Posted by gerdich View Post
    My question was only about the gain of performance of the Vulkan libraries themselves.
    Here is another misconception people have about the Vulkan libraries. People think that switching to Vulkan will magically improve performance. But that won't happen.
    So how do then some games run much better when using Vulkan API in comparison of using OpenGL or DirectX?
    The reason for this is the fact that Vulkan allows much better control over the rendering pipeline and thus allows much better optimizations. Without that additional optimization there would be no performance gain whatsoever.

    And now for your question of whether FireMonkey performance would increase if FireMonkey starts using Vulkan API. I seriously doubt it. Why? Because if you want to get most out of the graphical engine then you need to optimize that graphical engine for its specific needs for specific scenario. But FireMonkey on the other end tries to support as many possible scenarios as possible. And it is practically impossible of optimizing something for so many possible scenarios because when you try improving performance for one scenario you may be hurting performance for another.

  3. #3
    "OpenGL or Vulkan" would be reasonable question. The one you are asking doesn't make sense because Firemonkey is Embarcadero's take on making cross platform gui applications easily while Vulkan is API for communicating with graphics card. Apples and oranges.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •