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/23 16:54] – Sean Rhone | notes:kernel_parameters [2024/08/13 18:46] (current) – removed Sean Rhone | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== General ====== | ||
| - | |||
| - | ===== Linux OSI ===== | ||
| - | |||
| - | sudo grubby --args=' | ||
| - | |||
| - | acpi_osi=Linux | ||
| - | |||
| - | ===== Modern Standby ===== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | sudo grubby --args=' | ||
| - | |||
| - | mem_sleep_default=s2idle | ||
| - | |||
| - | ===== IOMMU ===== | ||
| - | |||
| - | * If IOMMU is disabled in BIOS, this isn't needed | ||
| - | * :!: '' | ||
| - | |||
| - | sudo grubby --update-kernel=' | ||
| - | |||
| - | iommu=pt | ||
| - | |||
| - | ===== PCI ===== | ||
| - | |||
| - | sudo grubby --args=' | ||
| - | |||
| - | pci=pcie_bus_perf, | ||
| - | |||
| - | ===== 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 | ||
| - | * This is necessary for Wayland, but also carries over to Xorg | ||
| - | * '' | ||
| - | |||
| - | sudo grubby --args=' | ||
| - | |||
| - | video=HDMI-A-1: | ||
| - | |||
| - | ====== 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 | ||
| - | |||
| - | sudo grubby --args=' | ||
| - | |||
| - | mem_encrypt=on | ||
| - | |||
| - | ====== 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 ====== | ||
| - | |||
| - | ===== IOMMU ===== | ||
| - | |||
| - | * TODO: HSI? | ||
| - | |||
| - | sudo grubby --update-kernel=' | ||
| - | |||
| - | intel_iommu=on | ||
| - | |||
| - | ===== Firmware ===== | ||
| - | |||
| - | * This enables GuC and HuC firmware loading ((do this even if unsure if the hardware will load it because seemingly not even Intel is aware of certain hardware pre-AL loading firmware; worst-case it just won't load)) | ||
| - | |||
| - | sudo grubby --update-kernel=' | ||
| - | |||
| - | i915.enable_guc=3 | ||
| - | |||
| - | ===== Performance Test ===== | ||
| - | |||
| - | * 2023/07/19: This improved '' | ||
| - | * :!: '' | ||
| - | |||
| - | mitigations=off idle=poll ahci.mobile_lpm_policy=1 i915.enable_fbc=0 i915.enable_psr=0 i915.mitigations=off i915.enable_dc=0 i915.panel_use_ssc=0 i915.nuclear_pageflip=1 i915.edp_vswing=2 i915.enable_ips=0 i915.disable_power_well=1 | ||
| - | |||
| - | ====== NVIDIA ====== | ||
| - | |||
| - | ===== Open Module ===== | ||
| - | |||
| - | ==== Blacklist nouveau ==== | ||
| - | |||
| - | sudo grubby --update-kernel=' | ||
| - | |||
| - | modprobe.blacklist=nouveau | ||
| - | |||
| - | ==== Allow Unsupported GPUs ==== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | sudo grubby --update-kernel=' | ||
| - | |||
| - | nvidia.NVreg_OpenRmEnableUnsupportedGpus=1 | ||
| - | |||
| - | ==== Enable nvidia-modeset ==== | ||
| - | |||
| - | sudo grubby --update-kernel=' | ||
| - | |||
| - | nvidia-drm.modeset=1 | ||
| - | |||
| - | ===== PAT ===== | ||
| - | |||
| - | * TODO: Find information about this | ||
| - | |||
| - | sudo grubby --update-kernel=' | ||
| - | |||
| - | nvidia.NVreg_UsePageAttributeTable=1 | ||
| - | |||
| - | ===== GSP ===== | ||
| - | |||
| - | * https:// | ||
| - | * Allows loading of GSP firmware | ||
| - | * This doesn' | ||
| - | * :!: 2022/07/20 515.57: this causes AoE2:DE to crash GNOME on-startup | ||
| - | |||
| - | sudo grubby --update-kernel=' | ||
| - | |||
| - | nvidia.NVreg_EnableGpuFirmware=1' | ||
| - | |||
| - | ==== Verify ==== | ||
| - | |||
| - | **** | ||
| - | |||
| - | nvidia-smi -q | grep ' | ||
| - | |||
| - | ====== Coreboot ====== | ||
| - | |||
| - | ===== Flashing ===== | ||
| - | |||
| - | * This is needed to relax permissions for Coreboot firmware to be flashed internally | ||
| - | * :!: This should be removed after flashing | ||
| - | |||
| - | sudo grubby --update-kernel=' | ||
| - | |||
| - | iomem=relaxed | ||
/srv/www/wiki/data/attic/notes/kernel_parameters.1690145650.txt.gz · Last modified: by Sean Rhone
