viti95/FastDoom

[BUG] micro skip mouse movement when uncap fps / frame pacing

Opened this issue · 1 comments

When I activate uncapped FPS, the game runs at a very fluid, constant, and smooth 70fps—it's exquisite.
But, strangely, there are times when the mouse movement has some very strange micro-jumps. It's as if the image makes a small frame skipping.
It's not exactly stuttering or choppy movement; it's more of a rendering behavior or frame pacing managment, that ultimately affects mouse movement feeling.

I tried lowering my mouse's pool rate to 125Hz, but the problem persists.
I tried several video modes, I mean:
FDOOM.EXE
FDOOM13H.EXE
FDOOMVBR.EXE
FDOOMVBD.EXE
FDOOMCGA.EXE
FDOOMEGA.EXE
FDOOMC16.EXE
FDOOME16.EXE
FDOOMV16.EXE
FDOOMC36.EXE
FDOOME36.EXE
FDOOMV36.EXE
etc.

I'm leaving a video demonstrating what happens.
I'm using dosbox-x, remember to set Youtube video to max Quality and 60fps:
https://youtu.be/O8Lsc1RcVHg

noticeable at:
0:30
0:51
1:11
1:41
2:35
3:11 (very noticeable)

Thank you so much for your report.

I wrote the uncapped FPS frame pacing code and it was very difficult, not surprised that I had a few bugs. I will look this over when I get some free time.

BTW @viti95 please feel free to tag me on issues I may be involved with if you think of it.