Bug#935670: gamemode: Unable to set the 'CPU govenor' and 'GPU Optimisations'

2019-11-25 Thread Sebastien Bacher
Hey there,

Indeed, the code looks for the binaries in libexecdir and not in the
path, the current archive version doesn't work.

I've submitted a fix for that and some other issues to salsa now
https://salsa.debian.org/games-team/gamemode/merge_requests/4

Cheers,



Bug#935670: gamemode: Unable to set the 'CPU govenor' and 'GPU Optimisations'

2019-08-24 Thread Robert
Package: gamemode
Version: 1.5~git20190722.4ecac89-1
Severity: normal
Tags: upstream

Dear Maintainer,

gamemode is not able to set the 'CPU govenor' and 'GPU Optimisations'.


Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Adding game: 4836
[/usr/bin/env]
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Entering Game Mode...
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: governor was initially set
to [powersave]
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Requesting update of
governor policy to performance
Aug 25 05:29:21  gamemoded[4352]: Error accessing
/usr/libexec/cpugovctl: No such file or directory
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: External process failed
with exit code 127
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Output was:
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Failed to update cpu
governor policy
Aug 25 05:29:21  /usr/bin/gamemoded[4838]: Failed to execute external
process: /usr/libexec/gpuclockctl No such file or directory
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: External process failed
with exit code 1
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Output was:
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Failed to call
gpuclockctl, could not get values!
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Requesting GPU
optimisations on device:1
Aug 25 05:29:21  gamemoded[4352]: Error accessing
/usr/libexec/gpuclockctl: No such file or directory
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: External process failed
with exit code 127
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Output was:
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Failed to call
gpuclockctl, could not apply optimisations!
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Setting ioprio value...
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Addition requested for
already known client 4836 [/usr/bin/env].
-- This may happen due
to using exec or shell wrappers. You may want to
-- blacklist this
client so GameMode can see its final name here.
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Adding game: 4842
[/usr/bin/xargs]
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Setting ioprio value...
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Skipping ioprio on client
[4842,4842]: ioprio was (0) but we expected (4)
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Adding game: 4843
[/bin/readlink]
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Setting ioprio value...
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Skipping ioprio on client
[4843,4843]: ioprio was (0) but we expected (4)
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Removing game: 4843
[/bin/readlink]
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Setting ioprio value...
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Removing game: 4842
[/usr/bin/xargs]
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Setting ioprio value...
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Adding game: 4844
[/usr/bin/dirname]
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Setting ioprio value...
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Skipping ioprio on client
[4844,4844]: ioprio was (0) but we expected (4)
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Removing game: 4844
[/usr/bin/dirname]
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Setting ioprio value...
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Adding game: 4845
[/bin/chmod]
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Setting ioprio value...
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Skipping ioprio on client
[4845,4845]: ioprio was (0) but we expected (4)
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Removing game: 4845
[/bin/chmod]
Aug 25 05:29:21  /usr/bin/gamemoded[4352]: Setting ioprio value...
Aug 25 05:29:22  /usr/bin/gamemoded[4352]: Adding game: 4846
[/mnt/M4-CT256M4SSD2/spiele/steamapps/common/Tropico
6/Tropico6/Binaries/Linux/Tropico6-Linux-Shipping]
Aug 25 05:29:22  /usr/bin/gamemoded[4352]: Setting ioprio value...
Aug 25 05:29:22  /usr/bin/gamemoded[4352]: Skipping ioprio on client
[4846,4846]: ioprio was (0) but we expected (4)
Aug 25 05:29:22  /usr/bin/gamemoded[4352]: Adding game: 4861
[/bin/dash]
Aug 25 05:29:22  /usr/bin/gamemoded[4352]: Setting ioprio value...
Aug 25 05:29:22  /usr/bin/gamemoded[4352]: Skipping ioprio on client
[4861,4861]: ioprio was (0) but we expected (4)
Aug 25 05:29:22  /usr/bin/gamemoded[4352]: Adding game: 4862
[/bin/dash]
Aug 25 05:29:22  /usr/bin/gamemoded[4352]: Setting ioprio value...
Aug 25 05:29:22  /usr/bin/gamemoded[4352]: Skipping ioprio on client
[4862,4862]: ioprio was (0) but we expected (4)
Aug 25 05:29:26  /usr/bin/gamemoded[4352]: Removing expired game
[4862]...
Aug 25 05:29:26  /usr/bin/gamemoded[4352]: Removing game: 4862
[/bin/dash]
Aug 25 05:29:26  /usr/bin/gamemoded[4352]: Setting ioprio value...
Aug 25 05:29:26  /usr/bin/gamemoded[4352]: Could not inspect tasks
for client [4862]! Skipping ioprio optimisation.
Aug 25 05:29:26  /usr/bin/gamemoded[4352]: Removing expired game
[4861]...
Aug 25 05:29:26  /usr/bin/gamemoded[4352]: Removing game: 4861