notes:kernel_parameters
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
notes:kernel_parameters [2022/09/09 13:55] – Sean Rhone | notes:kernel_parameters [2024/01/24 11:07] – Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Information ====== | ||
+ | |||
+ | * Various kernel options | ||
+ | * https:// | ||
+ | |||
====== General ====== | ====== General ====== | ||
- | ===== IOMMU ===== | + | ===== Low-Latency |
- | | + | **** |
- | | + | |
- | | + | |
- | iommu=pt | + | ===== OSI ===== |
- | ===== NVMe ===== | + | * https:// |
+ | * https:// | ||
- | | + | |
- | * :!: Using '' | + | |
- | | + | |
- | nvme.poll_queues=16 | + | ===== Modern Standby ===== |
- | ==== Verify ==== | + | * https:// |
- | | + | |
+ | |||
+ | ===== IOMMU ===== | ||
+ | |||
+ | * :!: '' | ||
+ | |||
+ | iommu=' | ||
+ | |||
+ | ===== PCI ===== | ||
+ | |||
+ | **** | ||
+ | |||
+ | pci='pcie_bus_perf, | ||
+ | |||
+ | ===== Interrupt Remapping ===== | ||
+ | |||
+ | **** | ||
- | | + | |
===== Custom Resolution ===== | ===== 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 | * 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 | ||
- | * :!: TODO: How to reduce-blank this? | + | * Necessary |
- | * This is necessary | + | * '' |
- | * :!: Refresh rate mismatch between Moonlight clients | + | |
- | video=HDMI-A-1: | + | video='HDMI-A-1: |
- | ====== | + | ====== |
- | ===== PAT ===== | + | ===== Memory Encryption |
- | * TODO: Find information about this | + | * https:// |
+ | * :!: Requires CPU SVM to be enabled in BIOS ((AMDGPU will likely panic on-boot if '' | ||
+ | * Disable TSME in BIOS if using this | ||
- | | + | |
- | nvidia.NVreg_UsePageAttributeTable=1 | + | ====== AMDGPU ====== |
- | ===== GSP ===== | + | ===== Overclocking |
- | * https://us.download.nvidia.com/XFree86/Linux-x86_64/515.65.01/README/gsp.html | + | * Allows use of Overdrive options for overclocking and increasing the Power Limit |
- | * Allows loading of GSP firmware | + | * See [[https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/amd/ |
- | * This doesn' | + | * :!: '' |
- | * :!: 2022/07/20 515.57: this causes AoE2:DE to crash GNOME on-startup | + | |
- | * :!: 2022/07/20 515.57: This doesn't appear beneficial | + | |
- | sudo grubby --update-kernel='ALL' --args='nvidia.NVreg_EnableGpuFirmware=1' | + | sudo grubby --args='amdgpu.ppfeaturemask=0xfff7ffff' --update-kernel='ALL' |
- | | + | |
==== Verify ==== | ==== Verify ==== | ||
Line 60: | Line 79: | ||
**** | **** | ||
- | | + | |
- | ====== | + | ====== |
- | ===== Overclocking | + | ===== i915 ===== |
- | | + | **** |
- | | + | |
- | amdgpu.ppfeaturemask=0xffffffff | + | ===== IOMMU ===== |
+ | |||
+ | * TODO: HSI? | ||
+ | |||
+ | intel_iommu=' | ||
+ | |||
+ | ===== Firmware ===== | ||
+ | |||
+ | * This enables GuC and HuC firmware loading ((do this even if unsure because seemingly not even Intel is aware of how certain hardware pre-12th-gen/ | ||
+ | |||
+ | i915.enable_guc=' | ||
+ | |||
+ | ====== NVIDIA ====== | ||
+ | |||
+ | ===== Open Module ===== | ||
+ | |||
+ | ==== Blacklist nouveau ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | modprobe.blacklist=' | ||
+ | |||
+ | ==== Allow Unsupported GPUs ==== | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | nvidia.NVreg_OpenRmEnableUnsupportedGpus=' | ||
+ | |||
+ | ==== Enable nvidia-modeset ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | nvidia-drm.modeset=' | ||
+ | |||
+ | ===== PAT ===== | ||
+ | |||
+ | * TODO: Find information about this | ||
+ | |||
+ | nvidia.NVreg_UsePageAttributeTable=' | ||
+ | |||
+ | ===== GSP ===== | ||
+ | |||
+ | * https:// | ||
+ | * Allows loading of GSP firmware | ||
+ | * This doesn' | ||
+ | * :!: 2022/07/20 515.57: this caused AoE2:DE to crash GNOME on-startup | ||
+ | |||
+ | nvidia.NVreg_EnableGpuFirmware=' | ||
==== Verify ==== | ==== Verify ==== | ||
Line 76: | Line 142: | ||
**** | **** | ||
- | | + | |
+ | |||
+ | ====== CORSAIR ====== | ||
+ | |||
+ | * https://github.com/ckb-next/ckb-next/wiki/ | ||
+ | * :!: Seemingly only needed with the mouse plugged directly to the motherboard, | ||
+ | |||
+ | usbcore.quirks='1b1c: | ||
====== Coreboot ====== | ====== Coreboot ====== | ||
Line 85: | Line 158: | ||
* :!: This should be removed after flashing | * :!: This should be removed after flashing | ||
- | | + | |
- | + | ||
- | iomem=relaxed | + | |
/var/www/wiki/data/pages/notes/kernel_parameters.txt · Last modified: 2024/05/18 00:23 by Sean Rhone