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

Buy menu focustrap / buy menu performance. #3835

Open
justpie opened this issue Sep 7, 2024 · 4 comments
Open

Buy menu focustrap / buy menu performance. #3835

justpie opened this issue Sep 7, 2024 · 4 comments
Labels

Comments

@justpie
Copy link

justpie commented Sep 7, 2024

Your system information

  • System information from steam (Steam -> Help -> System Information) in a gist:

if on Linux, please include Steam -> Help -> Steam Runtime Diagnostics in the gist.
gist

  • Have you checked for system updates?: [Yes]

Please describe your issue in as much detail as possible:

When opening the buy menu the game loses the mouse focustrap. During the start of a round if I press my buy key, the menu opens and shows my mouse. This will allow me to move my mouse outside my game window and navigate to my secondary monitor. If I click anywhere outside the game menu, it minimizes the game to my desktop.

Edit:: This appears to happen anytime my mouse is visible in the game. Launch screen, Buy Menu, Right clicking on the in game scoreboard.

I also noticed that there is a significant drop in performance when my buy menu is open. Perhaps it may be related to the VLK issue in #3803?

@bauernjunges
Copy link

Using launch options SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 %command% will prevent the game from minimizing. The only solution for mouse grab known to me is using gamescope, which adds more latency sadly.

@justpie
Copy link
Author

justpie commented Sep 20, 2024

I tried adding "SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS", while the game doesn't minimize, it causes me to lose sound randomly. I'm thinking when I lose sound, my system somehow thinks that my game is minimized due to the command above.

@bauernjunges
Copy link

I'm using steam flatpak on KDE with wayland and pipewire and i never experienced that kind of phenomena.

This game mutes on focus loss ofc.
As for why you lose focus, only you can tell us.

@justpie
Copy link
Author

justpie commented Oct 23, 2024

Adding the following as a launch command has helped menu performance. However, it still seems studder occasionally when hovering over different buy options.

-novid -high -nojoy +fps_max 0 +cl_cmdrate 128 +cl_forcepreload 1

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

3 participants