notes:kernel_parameters
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
notes:kernel_parameters [2023/07/13 16:50] – Sean Rhone | notes:kernel_parameters [2024/04/29 17:12] (current) – Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Information ====== | ||
+ | |||
+ | * Various kernel options | ||
+ | * https:// | ||
+ | |||
====== General ====== | ====== General ====== | ||
- | ===== Linux OSI ===== | + | ===== Low-Latency |
- | sudo grubby --args=' | + | **** |
- | acpi_osi=Linux | + | |
+ | |||
+ | ===== OSI ===== | ||
+ | |||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | | ||
+ | |||
+ | acpi_osi=' | ||
+ | |||
+ | ==== Spinesnap ==== | ||
+ | |||
+ | * :!: Dell Latitude 5591 needs '' | ||
+ | * :!: 2024/04/29: Forcing Windows OSI causes brightness buttons on the built-in keyboard to not function ((with '' | ||
+ | |||
+ | acpi_osi=' | ||
+ | |||
+ | ===== Reboot ===== | ||
+ | |||
+ | * Does hard reboots | ||
+ | * :!: '' | ||
+ | |||
+ | reboot=' | ||
+ | |||
+ | reboot=' | ||
===== Modern Standby ===== | ===== Modern Standby ===== | ||
Line 11: | Line 41: | ||
* https:// | * https:// | ||
- | | + | |
- | + | ||
- | mem_sleep_default=s2idle | + | |
===== IOMMU ===== | ===== IOMMU ===== | ||
- | * If IOMMU is disabled in BIOS, this isn't needed | ||
* :!: '' | * :!: '' | ||
- | | + | |
- | + | ||
- | iommu=pt | + | |
===== PCI ===== | ===== PCI ===== | ||
- | sudo grubby --args=' | + | **** |
- | pci=pcie_bus_perf, | + | pci='pcie_bus_perf, |
+ | |||
+ | ===== Interrupt Remapping ===== | ||
+ | |||
+ | **** | ||
+ | |||
+ | intremap=' | ||
===== Custom Resolution ===== | ===== 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 | + | * https:// |
- | * This is necessary | + | |
- | * '' | + | * Necessary |
+ | * :?: '' | ||
+ | |||
+ | ==== Acer S721HL ==== | ||
+ | |||
+ | * Increase refresh rate for 1080p from default 60Hz to 75Hz | ||
+ | |||
+ | video=' | ||
+ | |||
+ | ==== TCL 55S405 ==== | ||
- | | + | |
+ | * 2024/04/29: From old notes and untested | ||
- | video=HDMI-A-1: | + | video='HDMI-A-1:3840x2160MR@60' |
====== AMD ====== | ====== AMD ====== | ||
Line 48: | Line 89: | ||
* Disable TSME in BIOS if using this | * Disable TSME in BIOS if using this | ||
- | | + | |
- | + | ||
- | mem_encrypt=on | + | |
====== AMDGPU ====== | ====== AMDGPU ====== | ||
Line 72: | Line 111: | ||
====== Intel ====== | ====== Intel ====== | ||
- | ===== IOMMU ===== | + | ===== i915 ===== |
- | | + | **** |
- | | + | |
- | intel_iommu=on | + | ===== IOMMU ===== |
- | ===== Optimizations ===== | + | * TODO: HSI? |
- | | + | |
- | + | ||
- | sudo grubby --update-kernel='ALL' | + | |
- | + | ||
- | i915.enable_fbc=1 i915.enable_psr=1 i915.fastboot=1 | + | |
===== Firmware ===== | ===== Firmware ===== | ||
- | * This enables GuC and HuC firmware loading if supported by the hardware | + | * This enables GuC and HuC firmware loading |
- | + | ||
- | sudo grubby | + | |
- | i915.enable_guc=3 | + | i915.enable_guc='3' |
====== NVIDIA ====== | ====== NVIDIA ====== | ||
Line 102: | Line 135: | ||
==== Blacklist nouveau ==== | ==== Blacklist nouveau ==== | ||
- | sudo grubby --update-kernel=' | + | **** |
- | modprobe.blacklist=nouveau | + | modprobe.blacklist='nouveau' |
==== Allow Unsupported GPUs ==== | ==== Allow Unsupported GPUs ==== | ||
Line 110: | Line 143: | ||
* https:// | * https:// | ||
- | | + | nvidia.NVreg_OpenRmEnableUnsupportedGpus='1' |
- | + | ||
- | nvidia.NVreg_OpenRmEnableUnsupportedGpus=1 | + | |
==== Enable nvidia-modeset ==== | ==== Enable nvidia-modeset ==== | ||
- | sudo grubby --update-kernel=' | + | **** |
- | nvidia-drm.modeset=1 | + | nvidia-drm.modeset='1' |
===== PAT ===== | ===== PAT ===== | ||
Line 124: | Line 155: | ||
* TODO: Find information about this | * TODO: Find information about this | ||
- | | + | nvidia.NVreg_UsePageAttributeTable='1' |
- | + | ||
- | nvidia.NVreg_UsePageAttributeTable=1 | + | |
===== GSP ===== | ===== GSP ===== | ||
Line 133: | Line 162: | ||
* Allows loading of GSP firmware | * Allows loading of GSP firmware | ||
* This doesn' | * This doesn' | ||
- | * :!: 2022/07/20 515.57: this causes | + | * :!: 2022/07/20 515.57: this caused |
- | | + | nvidia.NVreg_EnableGpuFirmware=' |
- | + | ||
- | nvidia.NVreg_EnableGpuFirmware=1' | + | |
==== Verify ==== | ==== Verify ==== | ||
Line 144: | Line 171: | ||
nvidia-smi -q | grep ' | nvidia-smi -q | grep ' | ||
+ | |||
+ | ====== CORSAIR ====== | ||
+ | |||
+ | * https:// | ||
+ | * :!: Seemingly only needed with the mouse plugged directly to the motherboard, | ||
+ | |||
+ | usbcore.quirks=' | ||
====== Coreboot ====== | ====== Coreboot ====== | ||
Line 152: | Line 186: | ||
* :!: This should be removed after flashing | * :!: This should be removed after flashing | ||
- | | + | |
- | + | ||
- | iomem=relaxed | + | |
/var/www/wiki/data/attic/notes/kernel_parameters.1689281409.txt.gz · Last modified: 2023/07/13 16:50 by Sean Rhone