linux:notes:kernel_parameters
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:notes:kernel_parameters [2024/09/10 16:20] – Sean Rhone | linux:notes:kernel_parameters [2026/07/28 08:46] (current) – [systemd-boot] Sean Rhone | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| * Various kernel options | * Various kernel options | ||
| - | * https://www.kernel.org/ | + | * https://docs.kernel.org/ |
| - | * :!: '' | + | * https:// |
| + | * https:// | ||
| - | ====== General ====== | + | ===== systemd-boot |
| - | ===== Low-Latency ===== | + | * :!: 2024: '' |
| + | * :!: 2024/05/18: '' | ||
| - | **** | + | ====== Resources ====== |
| - | preempt='full' | + | ===== General ===== |
| + | |||
| + | * https:// | ||
| + | * :!: '' | ||
| + | * https:// | ||
| + | * https:// | ||
| ===== CPU Idle ===== | ===== CPU Idle ===== | ||
| Line 18: | Line 25: | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| - | |||
| - | idle=halt | ||
| ===== OSI ===== | ===== OSI ===== | ||
| Line 25: | Line 30: | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| - | |||
| - | acpi_osi=' | ||
| - | |||
| - | acpi_osi=' | ||
| ==== Spinesnap ==== | ==== Spinesnap ==== | ||
| Line 37: | Line 38: | ||
| acpi_osi=' | acpi_osi=' | ||
| - | ===== Reboot | + | ====== Spinesnap ====== |
| - | * Does hard reboots | + | ===== Main ===== |
| - | * :!: '' | + | |
| - | | + | |
| + | * 2025/07/20 | ||
| - | | + | < |
| - | ===== Modern Standby | + | ===== General |
| - | * https:// | + | < |
| - | mem_sleep_default=' | + | ===== PCI ===== |
| - | ===== IOMMU ===== | + | < |
| - | * :!: '' | + | ===== i915 ===== |
| - | iommu='pt' | + | < |
| - | ===== PCI ===== | + | ===== Mitigations |
| - | **** | + | |
| - | pci='pcie_bus_perf, | + | < |
| - | ===== Interrupt Remapping | + | ===== NVMe ===== |
| - | **** | + | < |
| - | intremap=' | + | ===== Power-saving ===== |
| - | ===== Custom Resolution ===== | + | < |
| - | * https:// | + | ===== Display ===== |
| - | * Necessary for Wayland, and also works on Xorg as an alternative to '' | + | < |
| - | * :?: '' | + | |
| - | ==== Acer S721HL | + | ===== IOMMU ===== |
| - | * Increase refresh rate for 1080p from default 60Hz to 75Hz | + | * 2026/07/28: '' |
| - | video='HDMI-A-1: | + | < |
| - | ==== TCL 55S405 | + | ====== Other ====== |
| - | * Solves instability on some AMD GPUs at 4K@60Hz on HDMI | + | < |
| - | * 2024/04/29: From old notes and untested with '' | + | |
| - | 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 | + | |
| - | | + | < |
| ====== AMDGPU ====== | ====== AMDGPU ====== | ||
| Line 106: | Line 103: | ||
| * Allows use of Overdrive options for overclocking and increasing the Power Limit | * Allows use of Overdrive options for overclocking and increasing the Power Limit | ||
| * See [[https:// | * See [[https:// | ||
| - | * :!: '' | + | * :?: '' |
| sudo grubby --args=' | sudo grubby --args=' | ||
| Line 113: | Line 110: | ||
| ==== Verify ==== | ==== Verify ==== | ||
| - | |||
| - | **** | ||
| cat '/ | cat '/ | ||
| - | |||
| - | ====== Intel ====== | ||
| - | |||
| - | ===== i915 ===== | ||
| - | |||
| - | **** | ||
| - | |||
| - | i915.enable_dc=0 i915.enable_fbc=0 i915.enable_psr=0 i915.enable_psr2_sel_fetch=0 i915.enable_hangcheck=0 i915.panel_use_ssc=0 i915.guc_log_level=0 i915.nuclear_pageflip=1 i915.request_timeout_ms=200000 i915.enable_guc=3 | ||
| - | |||
| - | ===== IOMMU ===== | ||
| - | |||
| - | * Requires CPU SVM to be enabled in BIOS | ||
| - | |||
| - | 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 ====== | ====== NVIDIA ====== | ||
| Line 143: | Line 118: | ||
| ==== Blacklist nouveau ==== | ==== Blacklist nouveau ==== | ||
| - | |||
| - | **** | ||
| modprobe.blacklist=' | modprobe.blacklist=' | ||
| Line 155: | Line 128: | ||
| ==== Enable nvidia-modeset ==== | ==== Enable nvidia-modeset ==== | ||
| - | |||
| - | **** | ||
| nvidia-drm.modeset=' | nvidia-drm.modeset=' | ||
| ===== PAT ===== | ===== PAT ===== | ||
| - | |||
| - | * TODO: Find information about this | ||
| nvidia.NVreg_UsePageAttributeTable=' | nvidia.NVreg_UsePageAttributeTable=' | ||
| Line 171: | Line 140: | ||
| * Allows loading of GSP firmware | * Allows loading of GSP firmware | ||
| * This doesn' | * This doesn' | ||
| - | * :!: 2022/07/20 515.57: | + | * :!: 2022/07/20 515.57: |
| nvidia.NVreg_EnableGpuFirmware=' | nvidia.NVreg_EnableGpuFirmware=' | ||
| ==== Verify ==== | ==== Verify ==== | ||
| - | |||
| - | **** | ||
| nvidia-smi -q | grep ' | nvidia-smi -q | grep ' | ||
| Line 184: | Line 151: | ||
| * https:// | * https:// | ||
| - | * :!: Seemingly only needed with the mouse plugged directly to the motherboard, | + | * Seemingly only needed with the mouse plugged directly to the motherboard, |
| + | * :?: 2024/09/30: Without that quirk, mouse failed immediately after setting '' | ||
| usbcore.quirks=' | usbcore.quirks=' | ||
| - | |||
| - | ====== Coreboot ====== | ||
| - | |||
| - | ===== Flashing ===== | ||
| - | |||
| - | * This is needed to relax permissions for Coreboot firmware to be flashed internally | ||
| - | * :!: This should be removed after flashing | ||
| - | |||
| - | iomem=' | ||
/usr/local/www/wiki/data/attic/linux/notes/kernel_parameters.1725999600.txt.gz · Last modified: by Sean Rhone