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 <computer> /usr/bin/gamemoded[4352]: Adding game: 4836 [/usr/bin/env] Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Entering Game Mode... Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: governor was initially set to [powersave] Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Requesting update of governor policy to performance Aug 25 05:29:21 <computer> gamemoded[4352]: Error accessing /usr/libexec/cpugovctl: No such file or directory Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: External process failed with exit code 127 Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Output was: Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Failed to update cpu governor policy Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4838]: Failed to execute external process: /usr/libexec/gpuclockctl No such file or directory Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: External process failed with exit code 1 Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Output was: Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Failed to call gpuclockctl, could not get values! Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Requesting GPU optimisations on device:1 Aug 25 05:29:21 <computer> gamemoded[4352]: Error accessing /usr/libexec/gpuclockctl: No such file or directory Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: External process failed with exit code 127 Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Output was: Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Failed to call gpuclockctl, could not apply optimisations! Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Setting ioprio value... Aug 25 05:29:21 <computer> /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 <computer> /usr/bin/gamemoded[4352]: Adding game: 4842 [/usr/bin/xargs] Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Setting ioprio value... Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Skipping ioprio on client [4842,4842]: ioprio was (0) but we expected (4) Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Adding game: 4843 [/bin/readlink] Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Setting ioprio value... Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Skipping ioprio on client [4843,4843]: ioprio was (0) but we expected (4) Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Removing game: 4843 [/bin/readlink] Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Setting ioprio value... Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Removing game: 4842 [/usr/bin/xargs] Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Setting ioprio value... Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Adding game: 4844 [/usr/bin/dirname] Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Setting ioprio value... Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Skipping ioprio on client [4844,4844]: ioprio was (0) but we expected (4) Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Removing game: 4844 [/usr/bin/dirname] Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Setting ioprio value... Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Adding game: 4845 [/bin/chmod] Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Setting ioprio value... Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Skipping ioprio on client [4845,4845]: ioprio was (0) but we expected (4) Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Removing game: 4845 [/bin/chmod] Aug 25 05:29:21 <computer> /usr/bin/gamemoded[4352]: Setting ioprio value... Aug 25 05:29:22 <computer> /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 <computer> /usr/bin/gamemoded[4352]: Setting ioprio value... Aug 25 05:29:22 <computer> /usr/bin/gamemoded[4352]: Skipping ioprio on client [4846,4846]: ioprio was (0) but we expected (4) Aug 25 05:29:22 <computer> /usr/bin/gamemoded[4352]: Adding game: 4861 [/bin/dash] Aug 25 05:29:22 <computer> /usr/bin/gamemoded[4352]: Setting ioprio value... Aug 25 05:29:22 <computer> /usr/bin/gamemoded[4352]: Skipping ioprio on client [4861,4861]: ioprio was (0) but we expected (4) Aug 25 05:29:22 <computer> /usr/bin/gamemoded[4352]: Adding game: 4862 [/bin/dash] Aug 25 05:29:22 <computer> /usr/bin/gamemoded[4352]: Setting ioprio value... Aug 25 05:29:22 <computer> /usr/bin/gamemoded[4352]: Skipping ioprio on client [4862,4862]: ioprio was (0) but we expected (4) Aug 25 05:29:26 <computer> /usr/bin/gamemoded[4352]: Removing expired game [4862]... Aug 25 05:29:26 <computer> /usr/bin/gamemoded[4352]: Removing game: 4862 [/bin/dash] Aug 25 05:29:26 <computer> /usr/bin/gamemoded[4352]: Setting ioprio value... Aug 25 05:29:26 <computer> /usr/bin/gamemoded[4352]: Could not inspect tasks for client [4862]! Skipping ioprio optimisation. Aug 25 05:29:26 <computer> /usr/bin/gamemoded[4352]: Removing expired game [4861]... Aug 25 05:29:26 <computer> /usr/bin/gamemoded[4352]: Removing game: 4861 [/bin/dash] Aug 25 05:29:26 <computer> /usr/bin/gamemoded[4352]: Setting ioprio value... Aug 25 05:29:26 <computer> /usr/bin/gamemoded[4352]: Could not inspect tasks for client [4861]! Skipping ioprio optimisation. gamemoded -t ##### : Loading config Loading config file [/etc/gamemode.ini] : Running tests :: Basic client tests :: Passed :: Dual client tests gamemode request succeeded and is active Quitting by request... :: Passed :: Gamemoderun and reaper thread tests ...Waiting for child to quit... ...Waiting for reaper thread (reaper_frequency set to 5 seconds)... :: Passed :: Supervisor tests :: Passed :: Feature tests ::: Verifying CPU governor setting ERROR: Governor was not set to performance (was actually powersave)! ::: Failed! ::: Verifying Scripts ::: Passed (no scripts configured to run) ::: Verifying GPU Optimisations ERROR: Failed to execute external process: /usr/libexec/gpuclockctl No such file or directory ERROR: External process failed with exit code 1 ERROR: Output was: ERROR: Failed to call gpuclockctl, could not get values! ERROR: Failed to execute external process: /usr/libexec/gpuclockctl No such file or directory ERROR: External process failed with exit code 1 ERROR: Output was: ERROR: Failed to call gpuclockctl, could not get values! ERROR: Could not get current GPU info, see above! ::: Failed! ::: Verifying renice ::: Passed (no renice configured) ::: Verifying ioprio ::: Passed ERROR: :: Failed! : Tests Failed! glxinfo -B ###### name of display: :0 display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: X.Org (0x1002) Device: Radeon RX Vega (VEGA10, DRM 3.32.0, 5.2.0-1-amd64, LLVM 8.0.1) (0x687f) Version: 19.1.4 Accelerated: yes Video memory: 8176MB Unified memory: no Preferred profile: core (0x1) Max core profile version: 4.5 Max compat profile version: 4.5 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.2 Memory info (GL_ATI_meminfo): VBO free memory - total: 7386 MB, largest block: 7386 MB VBO free aux. memory - total: 8031 MB, largest block: 8031 MB Texture free memory - total: 7386 MB, largest block: 7386 MB Texture free aux. memory - total: 8031 MB, largest block: 8031 MB Renderbuffer free memory - total: 7386 MB, largest block: 7386 MB Renderbuffer free aux. memory - total: 8031 MB, largest block: 8031 MB Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 8176 MB Total available memory: 16352 MB Currently available dedicated video memory: 7386 MB OpenGL vendor string: X.Org OpenGL renderer string: Radeon RX Vega (VEGA10, DRM 3.32.0, 5.2.0-1-amd64, LLVM 8.0.1) OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.1.4 OpenGL core profile shading language version string: 4.50 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL version string: 4.5 (Compatibility Profile) Mesa 19.1.4 OpenGL shading language version string: 4.50 OpenGL context flags: (none) OpenGL profile mask: compatibility profile OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.1.4 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (490, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.2.0-1-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages gamemode depends on: ii init-system-helpers 1.57 ii libc6 2.28-10 ii libgamemode0 1.5~git20190722.4ecac89-1 ii libgamemodeauto0 1.5~git20190722.4ecac89-1 ii libsystemd0 242-4 gamemode recommends no packages. gamemode suggests no packages. -- Configuration Files: /etc/gamemode.ini changed: [general] ; The reaper thread will check every 5 seconds for exited clients and for config file changes reaper_freq=5 ; The desired governor is used when entering GameMode instead of "performance" desiredgov=performance ; The default governer is used when leaving GameMode instead of restoring the original value defaultgov=powersave ; GameMode can change the scheduler policy to SCHED_ISO on kernels which support it (currently ; not supported by upstream kernels). Can be set to "auto", "on" or "off". "auto" will enable ; with 4 or more CPU cores. "on" will always enable. Defaults to "off". softrealtime=off ; GameMode can renice game processes. You can put any value between 0 and 20 here, the value ; will be negated and applied as a nice value (0 means no change). Defaults to 0. renice=0 ; By default, GameMode adjusts the iopriority of clients to BE/0, you can put any value ; between 0 and 7 here (with 0 being highest priority), or one of the special values ; "off" (to disable) or "reset" (to restore Linux default behavior based on CPU priority), ; currently, only the best-effort class is supported thus you cannot set it here ioprio=0 ; Sets whether gamemode will inhibit the screensaver when active ; Defaults to 1 inhibit_screensaver=0 [filter] ; If "whitelist" entry has a value(s) ; gamemode will reject anything not in the whitelist ;whitelist=RiseOfTheTombRaider ; Gamemode will always reject anything in the blacklist ;blacklist=HalfLife3 ; glxgears [gpu] ; Here Be Dragons! ; Warning: Use these settings at your own risk ; Any damage to hardware incurred due to this feature is your responsibility and yours alone ; It is also highly recommended you try these settings out first manually to find the sweet spots ; Setting this to the keyphrase "accept-responsibility" will allow gamemode to apply GPU optimisations such as overclocks apply_gpu_optimisations=accept-responsibility ; The DRM device number on the system (usually 0), ie. the number in /sys/class/drm/card0/ gpu_device=1 ; Nvidia specific settings ; Requires the coolbits extension activated in nvidia-xconfig ; This corresponds to the desired GPUPowerMizerMode ; "Adaptive"=0 "Prefer Maximum Performance"=1 and "Auto"=2 ; See NV_CTRL_GPU_POWER_MIZER_MODE and friends in https://github.com/NVIDIA/nvidia-settings/blob/master/src/libXNVCtrl/NVCtrl.h ;nv_powermizer_mode=1 ; These will modify the core and mem clocks of the highest perf state in the Nvidia PowerMizer ; They are measured as Mhz offsets from the baseline, 0 will reset values to default, -1 or unset will not modify values ;nv_core_clock_mhz_offset=0 ;nv_mem_clock_mhz_offset=0 ; AMD specific settings ; Requires a relatively up to date AMDGPU kernel module ; See: https://dri.freedesktop.org/docs/drm/gpu/amdgpu.html#gpu-power-thermal-controls-and-monitoring ; It is also highly recommended you use lm-sensors (or other available tools) to verify card temperatures ; This corresponds to power_dpm_force_performance_level, "manual" is not supported for now amd_performance_level=high [supervisor] ; This section controls the new gamemode functions gamemode_request_start_for and gamemode_request_end_for ; The whilelist and blacklist control which supervisor programs are allowed to make the above requests ;supervisor_whitelist= ;supervisor_blacklist= ; In case you want to allow a supervisor to take full control of gamemode, this option can be set ; This will only allow gamemode clients to be registered by using the above functions by a supervisor client ;require_supervisor=0 [custom] ; Custom scripts (executed using the shell) when gamemode starts and ends ;start=notify-send "GameMode started" ; /home/me/bin/stop_ethmining.sh ;end=notify-send "GameMode ended" ; /home/me/bin/start_ethmining.sh ; Timeout for scripts (seconds). Scripts will be killed if they do not complete within this time. ;script_timeout=10 -- no debconf information