void-packages icon indicating copy to clipboard operation
void-packages copied to clipboard

Package request: GameMode

Open magnusshtebner opened this issue 6 years ago • 4 comments

GameMode allows you to change temporarily the CPU priority in favor of the game. And also some other things.

GitHub : https://github.com/FeralInteractive/gamemode/

magnusshtebner avatar Feb 18 '20 22:02 magnusshtebner

There seems to be still some ties to systemd(?, or something else), gamemoderun ./game does not work oob, just spams dbus launch. Need to look closer into it, but Games that set gamemode themself or the example client do work correctly already.

Johnnynator avatar Feb 18 '20 23:02 Johnnynator

Any updates on this?

From the 1.6 changelog: "Add option to use elogind" Guess that allows this to work fine now without systemd? Would love to see this available to install

kedodrill avatar Nov 04 '20 15:11 kedodrill

There are two files that need to be copied into specific places after install:

sudo cp $PREFIX/share/dbus-1/services/com.feralinteractive.GameMode.service /usr/share/dbus-1/services/
sudo cp $PREFIX/share/polkit-1/actions/com.feralinteractive.GameMode.policy /usr/share/polkit-1/actions/

You probably need to restart dbus/polkit; I just rebooted. But after that, I was able to successfully use gamemoderun. I think the daemon requires systemd, even when you select elogind.

hristoast avatar Feb 09 '21 18:02 hristoast

merged in #36564

paper42 avatar Apr 09 '22 10:04 paper42