linux:notes:kernel_parameters
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:notes:kernel_parameters [2024/08/13 18:47] – created Sean Rhone | linux:notes:kernel_parameters [2025/04/22 01:08] (current) – Sean Rhone | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Various kernel options | * Various kernel options | ||
* https:// | * https:// | ||
- | * :!: systemd-boot does not like apostrophes ''' | ||
- | ====== General ====== | + | ===== systemd-boot |
- | ===== Low-Latency ===== | + | * :!: 2024: '' |
+ | * :!: 2024/05/18: '' | ||
- | **** | + | ====== Resources ====== |
- | preempt='full' | + | ===== General ===== |
+ | |||
+ | * https:// | ||
+ | * :!: '' | ||
+ | * https:// | ||
+ | * https:// | ||
===== CPU Idle ===== | ===== CPU Idle ===== | ||
Line 18: | Line 23: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
- | |||
- | idle=halt | ||
===== OSI ===== | ===== OSI ===== | ||
Line 25: | Line 28: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
- | |||
- | acpi_osi=' | ||
- | |||
- | acpi_osi=' | ||
==== Spinesnap ==== | ==== Spinesnap ==== | ||
Line 37: | Line 36: | ||
acpi_osi=' | acpi_osi=' | ||
- | ===== Reboot | + | ====== Spinesnap ====== |
- | * Does hard reboots | + | ===== General ===== |
- | * :!: '' | + | |
- | reboot=' | + | **** |
- | | + | < |
- | ===== Modern Standby | + | ===== PCI ===== |
- | | + | **** |
- | mem_sleep_default='s2idle' | + | < |
- | ===== IOMMU ===== | + | ===== i915 ===== |
- | | + | **** |
- | iommu='pt' | + | < |
- | ===== PCI ===== | + | ===== Mitigations |
**** | **** | ||
- | pci='pcie_bus_perf, | + | < |
- | ===== Interrupt Remapping | + | ===== NVMe ===== |
**** | **** | ||
- | intremap='off' | + | < |
- | ===== Custom Resolution | + | ===== Power-saving |
- | | + | **** |
- | * Necessary for Wayland, and also works on Xorg as an alternative to '' | + | < |
- | * :?: '' | + | |
- | ==== Acer S721HL | + | ===== Display ===== |
- | | + | **** |
- | | + | < |
- | ==== TCL 55S405 | + | ===== IOMMU ===== |
- | | + | **** |
- | | + | |
- | video='HDMI-A-1: | + | < |
- | ====== | + | ====== |
- | ===== Memory Encryption ===== | + | < |
- | | + | < |
- | * :!: Requires CPU SVM to be enabled in BIOS ((AMDGPU will likely panic on-boot if '' | + | |
- | * Disable TSME in BIOS if using this | + | < |
+ | |||
+ | < | ||
+ | |||
+ | < | ||
+ | |||
+ | < | ||
+ | |||
+ | ===== TPM Integrity ===== | ||
+ | |||
+ | | ||
+ | * TODO: Option name (probably | ||
- | mem_encrypt=' | + | < |
====== AMDGPU ====== | ====== AMDGPU ====== | ||
Line 118: | Line 125: | ||
cat '/ | cat '/ | ||
- | ====== Intel ====== | + | ===== Disable PSR ===== |
- | ===== i915 ===== | + | |
- | + | * 2025/03/04: Untested | |
- | **** | + | |
- | + | ||
- | 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 ===== | + | |
- | + | ||
- | | + | |
- | + | ||
- | intel_iommu='on' | + | |
- | + | ||
- | ===== 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/AL loads the firmware; worst-case it just won't load)) | + | |
- | | + | |
====== NVIDIA ====== | ====== NVIDIA ====== | ||
Line 185: | Line 179: | ||
* 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=' | ||
/srv/www/wiki/data/attic/linux/notes/kernel_parameters.1723589232.txt.gz · Last modified: by Sean Rhone