Replies: 1 comment 4 replies
-
I'm curiously following your project :) I'm also working on a project that's a lot larger than the examples included in this repository, in hope to have a benchmark/demo project to showcase and test LLGL with a larger use case, but that project is far from ready to be published. I can also confirm that the D3D11 backend is the fastest LLGL has and beating it is a tough task. Having said that, in my project I'm seeing D3D12 at about 50% speed compared to D3D11, so 850 FPS compared to 6000 sounds extreme and so does ~2 seconds sound in the I have no trouble debugging the GL backend in RenderDoc. I assume you have the latest version? Can you share your RenderDoc parameters? Vulkan is still in an early state and I'm trying to address validation errors as I get reports, i.e. I see people actively using it. |
Beta Was this translation helpful? Give feedback.
-
D3D11
gives the best performance among all the rendering backends thatLLGL
supports.D3D12
is much slower thanD3D11
(even though it's supposed to be faster according to tests on the internet and because it gives more control).Vulkan
is also slower thanD3D11
but faster thanD3D12
.Is it possible to achieve the
D3D11
's performance with the other backends?In my project I get:
*: I didn't manage to test
OpenGL
because I can't attach toOpenGL
renderer viaRenderDoc
for some reason. I get this error:**: Didn't manage to test
Metal
properly as well, because I have a poor GPU on Mac.Some notes
WriteTexture
is very slow onD3D12
(OnD3D11
it takes less than 1 ms, while onD3D12
it takes ~2 seconds to write the same amount of data to a texture)WriteTexture
is also slower onVulkan
than onD3D11
but faster than onD3D12
.Vulkan
reports a ton of validation errors every frame for some reason.Vulkan
crashes often when I recreate large buffers.Tests were done with the following conditions
OS:
Windows 11 23H2
CPU:
Ryzen 2700X
GPU:
RTX 2060
Compiler:
clang 18.1.8
Compiler options:
-g0
,-O3
,-fomit-frame-pointer
,-fno-math-errno
,-ffinite-math-only
,-fno-signed-zeros
,-fno-trapping-math
,-fassociative-math
Debug layer:
Disabled
Beta Was this translation helpful? Give feedback.
All reactions