User Tools

Site Tools


notes:kernel_parameters

Information

General

Low-Latency

preempt='full' threadirqs nohz='off'

OSI

Modern Standby

IOMMU

  • :!: iommu=off should not be used (source)
iommu='pt'

PCI

pci='pcie_bus_perf,realloc,pcie_scan_all,big_root_window'

Interrupt Remapping

intremap='off'

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 xorg.conf on Xorg
  • HDMI-A-1 is the same for an AMD 6600 XT and Intel UHD 630, it's possible this works for all GPUs?
video='HDMI-A-1:1920x1080@74'

AMD

Memory Encryption

mem_encrypt='on'

AMDGPU

Overclocking

  • Allows use of Overdrive options for overclocking and increasing the Power Limit
  • See amd_shared.h for more PP_FEATURE_MASK values
  • :!: 0xffffffff can be used to enable everything, but may cause issues with unstable features
sudo grubby --args='amdgpu.ppfeaturemask=0xfff7ffff' --update-kernel='ALL'
amdgpu.ppfeaturemask=0xfff7ffff

Verify

cat '/sys/module/amdgpu/parameters/ppfeaturemask'

Intel

i915

i915.enable_fbc='0' i915.enable_psr='0' i915.panel_use_ssc='0' i915.nuclear_pageflip='1' i915.edp_vswing='2'

IOMMU

  • TODO: HSI?
intel_iommu='on'

Firmware

  • This enables GuC and HuC firmware loading 2)
i915.enable_guc='3'

NVIDIA

Open Module

Blacklist nouveau

modprobe.blacklist='nouveau'

Allow Unsupported GPUs

nvidia.NVreg_OpenRmEnableUnsupportedGpus='1'

Enable nvidia-modeset

nvidia-drm.modeset='1'

PAT

  • TODO: Find information about this
nvidia.NVreg_UsePageAttributeTable='1'

GSP

nvidia.NVreg_EnableGpuFirmware='1'

Verify

nvidia-smi -q | grep 'GSP'

CORSAIR

usbcore.quirks='1b1c:1b75:bgmn'

Coreboot

Flashing

  • This is needed to relax permissions for Coreboot firmware to be flashed internally
  • :!: This should be removed after flashing
iomem='relaxed'
1)
AMDGPU will likely panic on-boot if mem_encrypt is enabled without SVM
2)
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
/var/www/wiki/data/pages/notes/kernel_parameters.txt · Last modified: 2024/01/24 11:07 by Sean Rhone