Last active
December 12, 2020 02:56
-
-
Save illvart/4cb4d27038db572d3aec69edf5b197ab to your computer and use it in GitHub Desktop.
My Linux system setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/X11/xorg.conf.d/20-intel.conf | |
Section "Device" | |
Identifier "Intel Graphics" | |
Driver "intel" | |
Option "TearFree" "true" # Tearing | |
Option "DRI" "2" # DRI3 is now default | |
#Option "AccelMethod" "sna" # default | |
#Option "AccelMethod" "uxa" # fallback | |
EndSection |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/sysctl.d/99-sysctl.conf | |
vm.swappiness=10 | |
vm.vfs_cache_pressure=50 | |
vm.max_map_count=262144 | |
fs.file-max=100000 | |
net.core.somaxconn=1024 | |
# Dropbox Error and avoid ENOSPC, Node.js fs | |
fs.inotify.max_user_watches=100000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/modprobe.d/audio_powersave.conf | |
options snd_hda_intel power_save=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/sysctl.d/disable_watchdog.conf | |
kernel.nmi_watchdog=0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/default/grub | |
GRUB_DEFAULT=0 | |
GRUB_TIMEOUT=10 | |
GRUB_DISTRIBUTOR="Arch" | |
# Disabling Turbo Boost @intel_pstate | |
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_pstate=disable" | |
# Make Linux run blazing fast (again) on Intel CPUs | |
GRUB_CMDLINE_LINUX="noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off mitigations=off" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/modprobe.d/i915.conf | |
# Enable GuC load for GuC submission and/or HuC load @enable_guc | |
# Enable frame buffer compression for power savings @enable_fbc | |
# Fastboot: Try to skip unnecessary mode sets at boot time @fastboot | |
# Enable PSR @enable_psr | |
# Periodically check GPU activity for detecting hangs @enable_hangcheck | |
options i915 enable_guc=2 enable_fbc=1 fastboot=1 enable_psr=1 enable_hangcheck=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/modprobe.d/iwlwifi.conf | |
options iwlwifi lln_disable=1 swcrypto=1 | |
options iwlwifi 11n_disable=8 | |
options iwlwifi power_save=1 d0i3_disable=0 uapsd_disable=0 | |
options iwldvm force_cam=0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/modprobe.d/nobeep.conf | |
blacklist pcspkr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment