notes:kernel_parameters
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
notes:kernel_parameters [2019/04/23 14:08] – Sean Rhone | notes:kernel_parameters [2024/01/24 11:02] – [i915] Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | * Kernel parameters that were useful at some point in time | + | ===== Low-Latency ===== |
- | ====== Kernel Options ====== | + | **** |
- | ===== Microcode and Security Patches ===== | + | preempt=' |
- | * https:// | + | ===== OSI ===== |
- | * :!: This disables all protection | + | |
- | | + | |
+ | * https:// | ||
- | ===== Corsair USB Quirks ===== | + | acpi_osi=' |
- | | + | |
- | + | ||
- | usbcore.quirks=1b1c: | + | |
===== Modern Standby ===== | ===== Modern Standby ===== | ||
- | * Use '' | + | * https:// |
- | * On a Dell XPS 13 9360, this used to be required, but the default '' | + | |
- | mem_sleep_default=s2idle | + | mem_sleep_default='s2idle' |
+ | |||
+ | ===== IOMMU ===== | ||
+ | |||
+ | * :!: '' | ||
+ | |||
+ | iommu=' | ||
+ | |||
+ | ===== PCI ===== | ||
+ | |||
+ | **** | ||
+ | |||
+ | pci=' | ||
+ | |||
+ | ===== Interrupt Remapping ===== | ||
+ | |||
+ | **** | ||
+ | |||
+ | intremap=' | ||
+ | |||
+ | ===== Custom Resolution ===== | ||
+ | |||
+ | * For an Acer S271H7 even though it can do 75Hz, this option sets one of the display timings too-high and 75Hz can't be reduced-blanked here; 74Hz is close enough | ||
+ | * Necessary for Wayland, and also seemingly works as an alternative to '' | ||
+ | * '' | ||
+ | |||
+ | video=' | ||
+ | |||
+ | ====== AMD ====== | ||
+ | |||
+ | ===== Memory Encryption ===== | ||
+ | |||
+ | * https:// | ||
+ | * :!: Requires CPU SVM to be enabled in BIOS ((AMDGPU will likely panic on-boot if '' | ||
+ | * Disable TSME in BIOS if using this | ||
+ | |||
+ | mem_encrypt=' | ||
+ | |||
+ | ====== AMDGPU ====== | ||
+ | |||
+ | ===== Overclocking ===== | ||
+ | |||
+ | * Allows use of Overdrive options for overclocking and increasing the Power Limit | ||
+ | * See [[https:// | ||
+ | * :!: '' | ||
+ | |||
+ | sudo grubby --args=' | ||
+ | |||
+ | amdgpu.ppfeaturemask=0xfff7ffff | ||
+ | |||
+ | ==== Verify ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | cat '/ | ||
+ | |||
+ | ====== Intel ====== | ||
===== i915 ===== | ===== i915 ===== | ||
- | | + | **** |
- | * '' | + | |
- | i915.enable_psr=1 i915.enable_guc=3 | + | |
- | ===== radeon | + | ===== IOMMU ===== |
+ | |||
+ | * TODO: HSI? | ||
+ | |||
+ | intel_iommu=' | ||
+ | |||
+ | ===== Firmware ===== | ||
+ | |||
+ | * This enables GuC and HuC firmware loading ((do this even if unsure because seemingly not even Intel is aware of how certain hardware pre-12th-gen/ | ||
+ | |||
+ | i915.enable_guc=' | ||
+ | |||
+ | ====== NVIDIA ====== | ||
+ | |||
+ | ===== Open Module ===== | ||
+ | |||
+ | ==== Blacklist nouveau | ||
**** | **** | ||
- | | + | |
- | ===== Backlight ===== | + | ==== Allow Unsupported GPUs ==== |
- | * https://www.freedesktop.org/software/ | + | * https://github.com/NVIDIA/open-gpu-kernel-modules# |
- | * This prevents systemd from restoring previous backlight value on reboot | + | |
- | * This is necessary for [[# | + | |
- | | + | |
- | ===== DRM Debug ===== | + | ==== Enable nvidia-modeset |
- | | + | **** |
- | drm.debug=0xe | + | |
- | ===== Custom Resolution | + | ===== PAT ===== |
+ | |||
+ | * TODO: Find information about this | ||
+ | |||
+ | nvidia.NVreg_UsePageAttributeTable=' | ||
+ | |||
+ | ===== GSP ===== | ||
+ | |||
+ | * https:// | ||
+ | * Allows loading of GSP firmware | ||
+ | * This doesn' | ||
+ | * :!: 2022/07/20 515.57: this caused AoE2:DE to crash GNOME on-startup | ||
+ | |||
+ | nvidia.NVreg_EnableGpuFirmware=' | ||
+ | |||
+ | ==== Verify ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | nvidia-smi -q | grep ' | ||
+ | |||
+ | ====== CORSAIR ====== | ||
+ | |||
+ | * https:// | ||
+ | * :!: Seemingly only needed with the mouse plugged directly to the motherboard, | ||
+ | |||
+ | usbcore.quirks=' | ||
+ | |||
+ | ====== Coreboot ====== | ||
+ | |||
+ | ===== Flashing | ||
- | * https:// | + | * This is needed |
- | * :!: This seems to only work on Wayland | + | * :!: This should be removed after flashing |
- | * :!: On Nightwane, using the refresh rate '' | + | |
- | | + | |
- | video=HDMI-A-1: |
/var/www/wiki/data/pages/notes/kernel_parameters.txt · Last modified: 2024/04/29 17:12 by Sean Rhone