Open Azathoth-88 opened 4 weeks ago
I've quickly looked into gamemode
and I feel that this wouldn't work as easily since it's using systemd
to exchange messages with the daemon (that would need to be exposed to our Docker containers).
I guess ideally we would integrate libgamemode
into Wolf so that we can trigger it when starting/stopping a stream. Unfortunately looks like documentation is lacking in that regard, if anyone wants to take a stab at it I'd be happy to help!
Hi all,
First, thank you very much for your hard work, i've just came across Wolf recently but this is truly an amazing project!
I'm sure some of us in the same shoes, but i run this stack on a headless server, and most of the time my main concern is to make it's energy consumption as low as possible, hence using powersave scheduler.
I've seen that retroarch have a native integration with gamemode, which seems to be an ideal solution to trigger performance mode and various optimalizations, so i've installed it on my server, gamemoded -t passes all the tests. However when i run Retroarch as a container, it doesnt trigger gamemode (gamemoded -s returns inactive).
So far I have tried adding "GroupAdd": ["gamemode"], to the host_config variable, and setting the container to priviliged, but it doesn't seem to do the trick. In fact, adding the gamemode group fails to start the container at all with the below error message. [DOCKER] error 500 - {"message":"Unable to find group gamemode: no matching entries in group file"} Priviliged on it's own doesn't seem to make it work either. The cmd API command might work, but i'm not sure where to put it, and if it's overrides the default entrypoint, so i haven't experimented with that.
My question is, did anyone managed to overcome this issue, or how it would be possible to enable gamemode for the containers?
Many thanks ! :)