Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FPS Issue in GoldSRC games (using rewrite v0.3.1) #28

Open
Shigbeard opened this issue May 13, 2017 · 2 comments
Open

FPS Issue in GoldSRC games (using rewrite v0.3.1) #28

Shigbeard opened this issue May 13, 2017 · 2 comments
Labels

Comments

@Shigbeard
Copy link

Shigbeard commented May 13, 2017

Using the latest release of NohBoard, I've been noticing an FPS issue in game. The framerate of the game will occasionally drop a significant amount of frames, making it nonviable to use in real-time speedruns (note that in an identical scenario using the old v0.17b, this issue does not occur).

I am capturing the window with OBS Studio 18.0.1 64-bit, and I utilize all features of the default csgo_shift+caps+mm layout (modified ofc, see attached), using the same settings I would have used for v0.14b

Attached: My modified layout incase you wish to test with it.

@ThoNohT
Copy link
Owner

ThoNohT commented May 13, 2017

I am currently on holiday, but I will test this when I get home. What is the game you used btw?

The main difference between the original and the rewrite is the rendering technique. Where I used DirectX9 to render in the original, I now use GDI+, which is known to be a bit less performant. However, I did make quite a few of my own performance optimizations to counter that.

If this is the problem (just theorizing here), then the only way to fix that would be to implement directx in the rewrite too. Which I do not want to dismiss directly, but it is a LOT of work. So after I finish the current project I'm working on (keyboard editing), I may see what I can do in such a direction.

@ThoNohT ThoNohT added the Bug label May 13, 2017
@Shigbeard
Copy link
Author

I was using Half-Life 1 on Steam. Specifically, the coop mod Decay (although same executable n shit,)

I suspect that GDI+ may be the root cause here. Perhaps (once DX is reimplemented) an option to switch between GDI rendering and DX rendering may be the go here, as it wouldn't render your hard work on GDI useless and it would also provide speed optimization for users that require speed IE speedrunners.

Also looking forward to seeing keyboard editing, doing it by hand in the json may be really precise, but its also tedious, would love to see the end result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants