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

HUDs increasing delay #125

Open
TechBarat opened this issue Jan 17, 2024 · 8 comments
Open

HUDs increasing delay #125

TechBarat opened this issue Jan 17, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@TechBarat
Copy link

Hello Everyone,

I was using this custom HUD for the last few months for ESEA casting, and everything was fine until now.
Yesterday was the first day, when I realized in a PGL Qualifier (but then it also happened in a simple demo) that when the view switches to other players, the hud is showing a few seconds old status, the previous player name, etc... and the delay is just increasing.
Does anyone had this issue, and some solution for that?

Thank you,
Gabor

@drweissbrot
Copy link
Owner

Are you using the overlay desktop app (cs-hud.exe) or a browser source? Could you try and see if it also happens in the other one, and if this also happens when you just open the HUD in your browser (http://localhost:31982/hud)?

@drweissbrot drweissbrot added the bug Something isn't working label Jan 18, 2024
@TechBarat
Copy link
Author

Thank you for your quick reply, I have tried to load a demo using only the browser, and I was facing with the same issue unfortunately. At the beginning in the first 1-2 rounds it is quite in time, but after that at every player change the delay starts increasing :(

@Rainb0w031
Copy link

Same issue. The delay becomes severe after several rounds, about 3-6 seconds. It would be really wonderful if you can fix the delay problem!

@drweissbrot
Copy link
Owner

I managed to reproduce something a bit like this, not 100% sure if it's the same issue yet.

@TechBarat @Rainb0w031 Could you try limiting the game's FPS (for example by typing fps_max 60 in the in-game console) and see if it's still an issue?

@TechBarat
Copy link
Author

@drweissbrot I have tried to set fps_max to 60 and compared the same demo with fps_max 400 and while with 400 around the 2nd round the delay of changing players and every other actions started, with 60 it has not started even after the 5th round.
Hope that does not mean, we have to limit the game FPS to 60 from now :)

@drweissbrot
Copy link
Owner

Thanks!

As a workaround I don't think limiting to 60 fps is too bad, we're not streaming at higher framerates anyways :D
If 60 specifically is too low for you, you could also try some values between 60 and 400.

Either way, the HUD shouldn't use enough resources to cause fps issues in my opinion, so I'll try to find things to optimize.

@TechBarat
Copy link
Author

I don't know, what happened, but I did not change the fps, however the delay stopped occurring meanwhile :)
By the way, this new "Hide specific players" option is awesome, on ESEA games, where coaches are in as the 6th player, very useful! Do you plan a feature maybe, where we can add pictures to specific players and highlight them on the HUD?

@drweissbrot
Copy link
Owner

Do you plan a feature maybe, where we can add pictures to specific players and highlight them on the HUD?

see #109

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants