Closed qfettes closed 3 years ago
Fixed by allowing users to renice
@qfettes can you elaborate how you "allowed users to renice"?
Add myusername - nice -20 to /usr/security/limits.conf to allow user to renice processes
Anyone that sees this, I believe @qfettes meant /etc/security/limits.conf
rather than /usr
.
It's actually part of the default installation: https://github.com/FeralInteractive/gamemode/commit/5f91922506b7d98efffb786da49ae8bef9263777
However, the limit is -10, not -20, and scoped to the gamemode
group. So after running usermod -aG gamemode <YOUR_USERNAME>
everything will work without having to manually edit system files yourself (if you don't surpass -10 that is).
Describe the bug using gamemoderun %command% on steam leads to many errors in the systemctl service, and no values being changed.
To Reproduce Steps used to reproduce the behavior:
systemctl --user status gamemoded
andtop
systemctl --user status gamemoded
top: No processes are reniced
Expected behavior Game mode should apply all optimizations without error
System Info (please complete the following information):
Additional context Not shown are the errors with GPU overclocks. They fail with no display session type errors too.