From 55cd045c93705f7289357651eeca5cb4d1666ab0 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 21 Jul 2020 12:11:17 +0200 Subject: [PATCH] committing changes in /etc made by "apt-get install --yes neofetch ffmpegthumbnailer amd64-microcode intel-microcode celluloid drawing gnote adwaita-icon-theme-full warpinator alsa-topology-conf alsa-ucm-conf mesa-vdpau-drivers mesa-vulkan-drivers cryptsetup-initramfs cryptsetup-run libreoffice-gtk3 gamemode" Package changes: +adwaita-icon-theme-full 3.36.1-2ubuntu0.20.04.2 all +alsa-topology-conf 1.2.2-1 all +alsa-ucm-conf 1.2.2-1ubuntu0.1 all +cryptsetup-initramfs 2:2.2.2-3ubuntu2 all +cryptsetup-run 2:2.2.2-3ubuntu2 all +gamemode 1.5.1-0ubuntu3.1 amd64 +libgamemode0 1.5.1-0ubuntu3.1 amd64 +libgamemodeauto0 1.5.1-0ubuntu3.1 amd64 +mesa-vulkan-drivers 20.0.8-0ubuntu1~20.04.1 amd64 +python3-grpcio 1.16.1-1ubuntu5 amd64 +python3-ifaddr 0.1.6-1 all +python3-nose 1.3.7-5 all +python3-zeroconf 0.24.4-0ubuntu1 all +warpinator 1.0.6+ulyana all --- .etckeeper | 2 + cryptsetup-initramfs/conf-hook | 18 ++-- gamemode.ini | 97 ++++++++++++++++++++++ xdg/autostart/warpinator-autostart.desktop | 11 +++ 4 files changed, 116 insertions(+), 12 deletions(-) create mode 100644 gamemode.ini create mode 100644 xdg/autostart/warpinator-autostart.desktop diff --git a/.etckeeper b/.etckeeper index 80f08c1..086d06d 100755 --- a/.etckeeper +++ b/.etckeeper @@ -1597,6 +1597,7 @@ maybe chmod 0644 'fwupd/uefi.conf' maybe chmod 0644 'fwupd/upower.conf' maybe chmod 0644 'g15daemon.conf' maybe chmod 0644 'gai.conf' +maybe chmod 0644 'gamemode.ini' maybe chmod 0755 'gconf' maybe chmod 0755 'gconf/2' maybe chmod 0644 'gconf/2/evoldap.conf' @@ -3164,6 +3165,7 @@ maybe chmod 0644 'xdg/autostart/tracker-extract.desktop' maybe chmod 0644 'xdg/autostart/tracker-miner-fs.desktop' maybe chmod 0644 'xdg/autostart/tracker-store.desktop' maybe chmod 0644 'xdg/autostart/user-dirs-update-gtk.desktop' +maybe chmod 0644 'xdg/autostart/warpinator-autostart.desktop' maybe chmod 0644 'xdg/autostart/xapp-sn-watcher.desktop' maybe chmod 0644 'xdg/autostart/xdg-user-dirs.desktop' maybe chmod 0755 'xdg/colors' diff --git a/cryptsetup-initramfs/conf-hook b/cryptsetup-initramfs/conf-hook index 8d45160..81de87e 100644 --- a/cryptsetup-initramfs/conf-hook +++ b/cryptsetup-initramfs/conf-hook @@ -2,17 +2,6 @@ # Configuration file for the cryptroot initramfs hook. # -# -# CRYPTSETUP: [ y | n ] -# -# Add cryptsetup modules to the initramfs image, regardless of _this_ -# machine configuration. By default, cryptsetup modules are only added -# when there is a device that needs to be unlocked at initramfs stage -# (such as root or resume devices). -# - -#CRYPTSETUP= - # # KEYFILE_PATTERN: ... # @@ -23,7 +12,12 @@ # /etc/keys/{root,swap}.key, you can set KEYFILE_PATTERN="/etc/keys/*.key" # to add them to the initrd.) # -# Setting KEYFILE_PATTERN to a non-empty value implies "CRYPTSETUP=y". +# If KEYFILE_PATTERN if null or unset (default) then no key file is +# copied to the initramfs image. +# +# Note that the glob(7) is not expanded for crypttab(5) entries with a +# 'keyscript=' option. In that case, the field is not treated as a file +# name but given as argument to the keyscript. # # WARNING: If the initramfs image is to include private key material, # you'll want to create it with a restrictive umask in order to keep diff --git a/gamemode.ini b/gamemode.ini new file mode 100644 index 0000000..a5bb248 --- /dev/null +++ b/gamemode.ini @@ -0,0 +1,97 @@ +[general] +; The reaper thread will check every 5 seconds for exited clients, for config file changes, and for the CPU/iGPU power balance +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 + +; The iGPU desired governor is used when the integrated GPU is under heavy load +igpu_desiredgov=powersave +; Threshold to use to decide when the integrated GPU is under heavy load. +; This is a ratio of iGPU Watts / CPU Watts which is used to determine when the +; integraged GPU is under heavy enough load to justify switching to +; igpu_desiredgov. Set this to -1 to disable all iGPU checking and always +; use desiredgov for games. +igpu_power_threshold=0.3 + +; 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=1 + +[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=0 + +; The DRM device number on the system (usually 0), ie. the number in /sys/class/drm/card0/ +;gpu_device=0 + +; 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 diff --git a/xdg/autostart/warpinator-autostart.desktop b/xdg/autostart/warpinator-autostart.desktop new file mode 100644 index 0000000..2cc011e --- /dev/null +++ b/xdg/autostart/warpinator-autostart.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Name=Warpinator +Comment=Transfer files from one computer to another on the local network +Icon=warpinator + +# the autostart argument tells /usr/bin/warpinator to check our autostart gsettings key and either keeps +# going or exits immediately. +Exec=warpinator --autostart + +Categories=GNOME;GTK;Utility; \ No newline at end of file -- 2.39.5