Skip to content
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

Package request: GameMode #19281

Closed
magnusshtebner opened this issue Feb 18, 2020 · 4 comments
Closed

Package request: GameMode #19281

magnusshtebner opened this issue Feb 18, 2020 · 4 comments
Assignees
Labels
request Package request

Comments

@magnusshtebner
Copy link

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 magnusshtebner changed the title Packages request: GameMode Package request: GameMode Feb 18, 2020
@Johnnynator Johnnynator self-assigned this Feb 18, 2020
@Johnnynator
Copy link
Member

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 added a commit to Johnnynator/void-packages that referenced this issue Feb 19, 2020
Johnnynator added a commit to Johnnynator/void-packages that referenced this issue Feb 19, 2020
@Chocimier Chocimier added the request Package request label Feb 21, 2020
@kedodrill
Copy link
Contributor

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

@hristoast
Copy link
Contributor

hristoast commented Feb 9, 2021

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.

@paper42
Copy link
Member

paper42 commented Apr 9, 2022

merged in #36564

@paper42 paper42 closed this as completed Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request Package request
Projects
None yet
Development

No branches or pull requests

6 participants