User Tools

Site Tools


linux:notes:kernel_parameters

Information

Resources

General

CPU Idle

OSI

Spinesnap

  • :!: Dell Latitude 5591 needs ! also to force Windows OSI
  • :!: 2024/04/29: Forcing Windows OSI causes brightness buttons on the built-in keyboard to not function 1)
acpi_osi='!' acpi_osi='Windows 2017'

Spinesnap

General

acpi_osi='Linux' reboot='pci' nohz='off' preempt='full' cpuidle.off='1'

PCI

enable_mtrr_cleanup iomem='relaxed' pcie_ports='native' pci='nocrs,pcie_bus_perf,realloc,pcie_scan_all,big_root_window'

i915

i915.enable_fbc='0' i915.enable_psr='0' i915.panel_use_ssc='0' i915.enable_guc='3' i915.guc_log_level='0' i915.nuclear_pageflip='1' i915.enable_hangcheck='0'

Mitigations

mitigations='off' i915.mitigations='off'

NVMe

nvme.noacpi='1' nvme.poll_queues='4' nvme.use_threaded_interrupts='1'

Power-saving

nowatchdog modprobe.blacklist='iTCO_wdt' tsc='nowatchdog' ahci.mobile_lpm_policy='1' iwlmvm.power_scheme='1' nvme_core.default_ps_max_latency_us='0' pcie_aspm='off' pcie_port_pm='off' snd_hda_intel.power_save='0' usbcore.autosuspend='-1'

Display

video='HDMI-A-1:1920x1080MR@75'

IOMMU

swiotlb='noforce' iommu='force' intel_iommu='on'

Other

rootflags='data=writeback'
threadirqs
idle=halt
mem_sleep_default='s2idle'
intremap='off'
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'

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'
1)
with dmesg Intel HID 5 button array seemingly isn't presented with Windows OSI
/var/www/wiki/data/pages/linux/notes/kernel_parameters.txt · Last modified: 2024/09/22 20:56 by 127.0.0.1