dmesg
Intel HID 5 button array seemingly isn't presented with Windows OSInotes:kernel_parameters
This is an old revision of the document!
Table of Contents
Information
- Various kernel options
systemd-boot does not like apostrophes
'like this'
, but GRUB handles it fine
General
Low-Latency
preempt='full' threadirqs nohz='off'
CPU Idle
idle=halt
OSI
acpi_osi='Linux'
acpi_osi='Windows 2017'
Spinesnap
Dell Latitude 5591 needs
!
also to force Windows OSI2024/04/29: Forcing Windows OSI causes brightness buttons on the built-in keyboard to not function 1)
acpi_osi='!' acpi_osi='Windows 2017'
Reboot
- Does hard reboots
reboot=efi
causes a Dell Latitude 5591 to not reboot
reboot='pci'
reboot='efi'
Modern Standby
mem_sleep_default='s2idle'
IOMMU
iommu='pt'
PCI
pci='pcie_bus_perf,realloc,pcie_scan_all,big_root_window'
Interrupt Remapping
intremap='off'
Custom Resolution
- Necessary for Wayland, and also works on Xorg as an alternative to
xorg.conf
HDMI-A-1
is the same for an AMD 6600 XT and Intel UHD 630; it's possible this works for all GPUs or there's some standard?
Acer S721HL
- Increase refresh rate for 1080p from default 60Hz to 75Hz
video='HDMI-A-1:1920x1080MR@75'
TCL 55S405
- Solves instability on some AMD GPUs at 4K@60Hz on HDMI
- 2024/04/29: From old notes and untested
video='HDMI-A-1:3840x2160MR@60'
AMD
Memory Encryption
Requires CPU SVM to be enabled in BIOS 2)
- Disable TSME in BIOS if using this
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_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
- TODO: HSI?
intel_iommu='on'
Firmware
- This enables GuC and HuC firmware loading 3)
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
- Allows loading of GSP firmware
- This doesn't appear necessary for the open kernel module
2022/07/20 515.57: this caused AoE2:DE to crash GNOME on-startup
nvidia.NVreg_EnableGpuFirmware='1'
Verify
nvidia-smi -q | grep 'GSP'
CORSAIR
Seemingly only needed with the mouse plugged directly to the motherboard, and not through USB-C docks
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)
with
2)
AMDGPU will likely panic on-boot if
mem_encrypt
is enabled without SVM3)
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
/srv/www/wiki/data/attic/notes/kernel_parameters.1716006204.txt.gz · Last modified: by 127.0.0.1