karim.salama Posted October 15, 2024 Posted October 15, 2024 Hello, I just saw this bar plot on the key changes of version 2.16, and wanted to know why/how are there 2 separate FPS counters for CPU and GPU ? Maybe this is a dumb question but, normally both sides are synced at the end of each frame, right ? How come there are 2 counters with different values ? Thanks in advance
silent Posted October 15, 2024 Posted October 15, 2024 Hi Karim, The scene can be GPU-bound, so no matter how you optimize your CPU side, you will not get any higher FPS. For example, you have 4K resolution and all the post-effects enabled in native resolution. In that case CPU side may be 15ms or 35ms, but if the GPU is taking 50ms to render the frame - it doesn't really matter here. However, if your GPU is not a bottleneck you can get more overall FPS by reducing the CPU workload. In that case if your GPU is rendering scene with 15ms and CPU 30ms, you will have 30 fps. The thing is that new APIs allow to provide overall lower CPU footprint, leaving more room for user code to play with. Hope that helps :) Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
karim.salama Posted October 15, 2024 Author Posted October 15, 2024 Hi @silent, Yes, that definitely helps. Thank you.
Recommended Posts