Feral GameMode integration

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

Feral GameMode integration

Postby lumbo7332 » Fri Jan 22, 2021 11:54 am

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
User avatar
lumbo7332
 
Joined: 27 Jul 2018
Operating System: Other Linux 64-bit
Graphics Processor: ATI/AMD with Vulkan Support

Re: Feral GameMode integration

Postby Matt » Fri Jan 22, 2021 4:30 pm

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)
User avatar
Matt
Putting the XD into *xdeath since 2007
 
Joined: 04 Jan 2004
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

Re: Feral GameMode integration

Postby lumbo7332 » Sat Jan 23, 2021 12:24 pm

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.

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 other, a bit off topic but was this what they used for the Life Is Strange Linux port? (It's really good)

Yeah, it's used for that.
User avatar
lumbo7332
 
Joined: 27 Jul 2018
Operating System: Other Linux 64-bit
Graphics Processor: ATI/AMD with Vulkan Support

Re: Feral GameMode integration

Postby Matt » Sat Jan 23, 2021 7:41 pm

......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!? :shock:

...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.
User avatar
Matt
Putting the XD into *xdeath since 2007
 
Joined: 04 Jan 2004
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

Re: Feral GameMode integration

Postby Graf Zahl » Sun Jan 24, 2021 1:46 am

I don't know - but to me this looks like some snake oil thing for compulsive tinkerers, not like some genuinely desirable feature.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Feral GameMode integration

Postby Rachael » Sun Jan 24, 2021 4:15 am

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.

Yes - that's what it looks like to me, too.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Feral GameMode integration

Postby _mental_ » Sun Jan 24, 2021 4:33 am

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?
_mental_
 
 
 
Joined: 07 Aug 2011

Re: Feral GameMode integration

Postby lumbo7332 » Sun Jan 24, 2021 11:09 am

_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?


Nobody has to tune it. You just ask the daemon to enable it.
User avatar
lumbo7332
 
Joined: 27 Jul 2018
Operating System: Other Linux 64-bit
Graphics Processor: ATI/AMD with Vulkan Support

Re: Feral GameMode integration

Postby lumbo7332 » Sun Jan 24, 2021 11:11 am

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.


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.
User avatar
lumbo7332
 
Joined: 27 Jul 2018
Operating System: Other Linux 64-bit
Graphics Processor: ATI/AMD with Vulkan Support

Re: Feral GameMode integration

Postby _mental_ » Sun Jan 24, 2021 11:32 am

lumbo7332 wrote:Nobody has to tune it. You just ask the daemon to enable it.

So, it shares the same configuration file for all games, right? How can we unsure that it won’t have negative effect then?
Actually, the integration itself is pretty straightforward. The complex part is to evaluate the effect of this feature.

lumbo7332 wrote:it seems other people have had luck, seeing as it has over 2k stars on GitHub.

Number of stars doesn’t mean anything. I saw several repos with high stars count that contained pure overhyped crap.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: Feral GameMode integration

Postby Rachael » Mon Jan 25, 2021 6:48 am

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.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support


Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests