mem_encrypt
is enabled without SVMnotes:kernel_parameters
Table of Contents
General
Linux OSI
acpi_osi=Linux
Modern Standby
mem_sleep_default=s2idle
IOMMU
- If IOMMU is disabled in BIOS, this isn't needed
iommu=pt
IOMMU
PCI
pci=pcie_bus_perf,realloc,pcie_scan_all,big_root_window
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
Refresh rate mismatch between Moonlight clients and Gamestream hosts computers introduces stuttering
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
Requires CPU SVM to be enabled in BIOS 1)
- 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
amdgpu.ppfeaturemask=0xfff7ffff
Verify
cat '/sys/module/amdgpu/parameters/ppfeaturemask'
Intel
intel_pstate
- This was discovered for use with Liquorix, but they don't recommend it's use
intel_pstate=enable
IOMMU
- TODO: HSI?
intel_iommu=on
Optimizations
- This enables Framebuffer compression, Panel self-refresh, and i915 Fastboot
i915.enable_fbc=1 i915.enable_psr=1 i915.fastboot=1
Firmware
- This enables GuC and HuC firmware loading if supported by the hardware
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 causes AoE2:DE to crash GNOME on-startup
nvidia.NVreg_EnableGpuFirmware=1'
Verify
nvidia-smi -q | grep 'GSP'
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
/var/www/wiki/data/pages/notes/kernel_parameters.txt · Last modified: 2023/05/28 15:34 by Sean Rhone