Feral GameMode integration
Moderator: GZDoom Developers
-
- Posts: 36
- Joined: Fri Jul 27, 2018 10:21 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Feral GameMode integration
The Feral GameMode daemon optimizes Linux system performance whenever a game asks for it or you enable it manually. It would be cool if GZDoom would automatically request GameMode activation whenever it runs. Here's the repository: https://github.com/FeralInteractive/gamemode
-
- Posts: 9695
- Joined: Sun Jan 04, 2004 5:37 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Debian Bullseye
- Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Re: Feral GameMode integration
On the one hand, I'd be surprised if GZDoom doesn't do its own version of this already in a way that would make this redundant or incompatible.
On the other, a bit off topic but was this what they used for the Life Is Strange Linux port? (It's really good)
On the other, a bit off topic but was this what they used for the Life Is Strange Linux port? (It's really good)
-
- Posts: 36
- Joined: Fri Jul 27, 2018 10:21 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: Feral GameMode integration
I doubt it. GameMode tunes the system automatically when a game loads up. If GZDoom is doing that, it really shouldn't be. I think it would even need root access.On the one hand, I'd be surprised if GZDoom doesn't do its own version of this already in a way that would make this redundant or incompatible.
Yeah, it's used for that.On the other, a bit off topic but was this what they used for the Life Is Strange Linux port? (It's really good)
-
- Posts: 9695
- Joined: Sun Jan 04, 2004 5:37 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Debian Bullseye
- Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Re: Feral GameMode integration
......wait, so you're saying that I managed, as an unsophisticated user, to install something from Steam and run it without doing anything unusual, that never asks for root credentials, but has root access every time!? 
...so I just tried to kill Steam without sudo and that worked fine... running it seems fine and it doesn't look like I'm running it as root......
...started up LiS, opening up htop, says the owner is the user...
.......and now it won't fucking start since the last Steam update lmaooooooo never say anything good ever one of those times I finally have to restart the computer (probably just the X server? but whatev)
It's definitely running as user not root. No issues with performance since I last played.

...so I just tried to kill Steam without sudo and that worked fine... running it seems fine and it doesn't look like I'm running it as root......
...started up LiS, opening up htop, says the owner is the user...
.......and now it won't fucking start since the last Steam update lmaooooooo never say anything good ever one of those times I finally have to restart the computer (probably just the X server? but whatev)
It's definitely running as user not root. No issues with performance since I last played.
-
- Lead GZDoom+Raze Developer
- Posts: 48657
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Feral GameMode integration
I don't know - but to me this looks like some snake oil thing for compulsive tinkerers, not like some genuinely desirable feature.
-
- Posts: 13299
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Feral GameMode integration
Yes - that's what it looks like to me, too.Graf Zahl wrote:I don't know - but to me this looks like some snake oil thing for compulsive tinkerers, not like some genuinely desirable feature.
-
-
- Posts: 3799
- Joined: Sun Aug 07, 2011 4:32 am
Re: Feral GameMode integration
Huge amount of mods multiplied by nearly infinite combinations of hardware raises just one question. Even if this feature will be integrated, who will tune it for all these cases?
-
- Posts: 36
- Joined: Fri Jul 27, 2018 10:21 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: Feral GameMode integration
Nobody has to tune it. You just ask the daemon to enable it._mental_ wrote:Huge amount of mods multiplied by nearly infinite combinations of hardware raises just one question. Even if this feature will be integrated, who will tune it for all these cases?
-
- Posts: 36
- Joined: Fri Jul 27, 2018 10:21 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: Feral GameMode integration
I wouldn't say it's snake oil. I've seen performance improvements when using it, Feral uses it for all their games, and it seems other people have had luck, seeing as it has over 2k stars on GitHub.Graf Zahl wrote:I don't know - but to me this looks like some snake oil thing for compulsive tinkerers, not like some genuinely desirable feature.
-
-
- Posts: 3799
- Joined: Sun Aug 07, 2011 4:32 am
Re: Feral GameMode integration
So, it shares the same configuration file for all games, right? How can we unsure that it won’t have negative effect then?lumbo7332 wrote:Nobody has to tune it. You just ask the daemon to enable it.
Actually, the integration itself is pretty straightforward. The complex part is to evaluate the effect of this feature.
Number of stars doesn’t mean anything. I saw several repos with high stars count that contained pure overhyped crap.lumbo7332 wrote:it seems other people have had luck, seeing as it has over 2k stars on GitHub.
-
- Posts: 13299
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Feral GameMode integration
If anyone is going to implement this, let's make it optional, with the cvar defaulting to off. Anyone who wants to use this should have to opt-in, in my opinion.