-
Notifications
You must be signed in to change notification settings - Fork 303
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
Dynamic overlay injection #1545
Comments
Why not just hide it at the start? |
To inject into the running process, you need either root rights or configuring the kernel to ptrace other binaries without root. Thats how csgo cheat for linux did it. They injected using gdb debugger with root. You can actually try and inject opengl version of mangohud with gdb, maybe it already works. Not really sure about vulkan though. Maybe it also works |
It's more about being able to choose what gets the overlay in the first place - I have a frame limiter by default, and I don't want it for every app (due to 160 FPS - 165Hz mismatch and thus stuttering), but sometimes I forget to set |
Also, even though this is probably possible to do, this approach will not work in a flatpak environment. |
I've reevaluated this, and concluded that this is probably too much work for little gain (both for the devs and users), sorry for the noise 🙏 |
What would be required to enable dynamic injection to an already running process (ie to avoid having to restart a videogame)?
Are there kernel-mode/user-mode driver limitations, or is it impossible on the Linux kernel?
The text was updated successfully, but these errors were encountered: