Add gpuclockctl to allow privilaged control of GPU parameters

This commit is contained in:
Marc Di Luzio
2019-01-31 17:27:50 +00:00
parent b1bf33d386
commit 8d4e9ac54e
6 changed files with 232 additions and 65 deletions

View File

@ -23,4 +23,15 @@
<annotate key="org.freedesktop.policykit.exec.path">@LIBEXECDIR@/cpugovctl</annotate>
</action>
<action id="com.feralinteractive.GameMode.gpu-helper">
<description>Modify the GPU clock statesr</description>
<message>Authentication is required to modify the GPU clock states</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">@LIBEXECDIR@/gpuclockctl</annotate>
</action>
</policyconfig>