mellinoe / veldrid-samples

Sample projects for Veldrid
https://mellinoe.github.io/veldrid-docs/
121 stars 49 forks source link

GettingStarted high GPU #23

Closed ripwin closed 4 years ago

ripwin commented 4 years ago

Hi,

I don't know where to report my problem but it's really weird. I just started to use Veldrid. So I began with the GettingStarted.

And it worked ! I had my quad. But my GPU went up to 80% usage ... Why ? I tried with the code on this repository and the same happened. I tried the same with OpenGL and C++, and my GPU was at 1%.

My configurations are Windows 10 Visual studio 2019 GeForce GTX 1060 6GB

ripwin commented 4 years ago

I found the issue. When I tested with OpenGL and C++, I used GLFW.

GLFW uses a default interval for swapping the main buffer (vsync). This is why I don't have the problem on C++.

If I set syncToVerticalBlank, my GPU stays at 2%.