[BUG] Progress exceeds 100% if framerate is extremely slow

Started by iovoid, September 05, 2024, 08:44:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

iovoid

I tried running FurMark 2.3.0 on software rendering (llvmpipe) for fun, and found a small bug:

The progress bar goes above 100% (315% here) if the framerate is extremely slow (0.003467 FPS here).

Reproduction steps:
- Run furmark using software rendering or other very slow backend. The command I used was LIBGL_ALWAYS_SOFTWARE=true GALLIUM_DRIVER=llvmpipe furmark --demo furmark-gl --benchmark- Wait until the benchmark is complete. Might take an hour.



Program output:
*** WARNING *** the difference between current framerate (2 FPS) and average framerate (0 FPS) is too important.
*** WARNING *** the difference between current framerate (1 FPS) and average framerate (0 FPS) is too important.
[ Demo Quick Stats ]
- demo                 : FurMark (GL) (built-in: YES)
- renderer             : llvmpipe (LLVM 18.1.8, 256 bits)
- 3D API               : OpenGL 4.5 (Compatibility Profile) Mesa 24.1.5
- resolution           : 1280x720
- SCORE                : 2
- duration             : 60000 ms (188.842331 sec)
- FPS (min/avg/max)    : 0.008519 / 0.003467 / 2.000000
*** WARNING *** the difference between current framerate (1 FPS) and average framerate (0 FPS) is too important.
*** WARNING *** the difference between current framerate (1 FPS) and average framerate (0 FPS) is too important.
*** WARNING *** the difference between current framerate (1 FPS) and average framerate (0 FPS) is too important.

JeGX

Thanks for the feedback. I will look at the issue for the next update.