stutter on controller camera pan
Hi. First off just want to say thanks for your work, I am a huge fan of the project. I am also a huge fan of playing with a controller and not having to use the flawed bfg edition.
I am playing on an rtx 3090 and an i7, 32gb ram, everything updated. My controller is an xbox elite 2 connected via usb, not bluetooth.
There is a weird stutter when I pan the camera with my controller. I am getting a consistent, smooth 60 fps. I dont see the same when moving forward or backward, or when using the mouse, although due to the nature of mouselook it would be harder to detect.
Is there a polling rate or something in the controller implementation that would be causing this or is this maybe somehow something to do with frame times? I have tried everything on the nvidia side; disabling gsync, different vsync settings, setting an fps limit, triple buffering, etc. I am unable to aleviate the issue, even when i turn off aa, etc. I dont see how it could be a horsepower issue.
Along those lines, I am hnable to get the game running above 60 fps, and dsr resolutions are not showing up in the options. it would be great if those worked as well, but I would settle for a smooth 60 in the interest of time!
Thanks again for an awesome project.
At least on Linux with my xbox360 pad I couldn't reproduce this.
Is there a polling rate or something in the controller implementation that would be causing this
I don't think so - dhewm3 gets the current controller state from SDL each frame, and when you're just turning around it should get roughly the same value as long as you keep the stick in the same position and thus turn smoothly.
Along those lines, I am hnable to get the game running above 60 fps
Doom3 doesn't support more than 60fps. dhewm3 is trying to change this, see https://github.com/dhewm/dhewm3/pull/585, but that code is not in the current release as it's still buggy (because Doom3 really was never meant to be ran with more than 60fps, fixing all the little and big bugs that appear isn't easy)
Stuttering 2-3 times a second? Doom 3 runs at 62.5 Hz internally, running it Vsynced to a 60 or 120 Hz display causes micro stutter due to tick skipping.
Stuttering 2-3 times a second? Doom 3 runs at 62.5 Hz internally, running it Vsynced to a 60 or 120 Hz display causes micro stutter due to tick skipping.
I was about to open a new issue based on this 2-3 times a second stuttering the game has on my 60 Hz default video mode on GNU/Linux+Wayland. Luckily, I read your comment and I found out about the internal 62.5 internal framerate, so I can use wlr-randr to create a 62.5 Hz video mode on the fly and the game runs totally smooth here with that mode. But two question come up in my mind: Is the internal framerate exactly 62.5 Hz, or something like 62.5xxxx? Is there a way to modify that via config files or by altering the sources?
Ah, it seems that setting r_fixedTic to 1 will make the game sync on vsync instead of that 62.5 Hz thing that uses by default. Good!
sounds like this is resolved then?
or otherwise a duplicate of other issues that want to get rid of micro stutters or want high-fps support
sounds like this is resolved then?
or otherwise a duplicate of other issues that want to get rid of micro stutters or want high-fps support
Yes, yes, it's resolved :) Thanks Daniel!