User Tools

Site Tools


notes:kernel_parameters

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
notes:kernel_parameters [2019/11/17 14:48] Sean Rhonenotes:kernel_parameters [2019/11/30 22:02] Sean Rhone
Line 2: Line 2:
  
   * Kernel parameters that were useful at some point in time   * Kernel parameters that were useful at some point in time
- 
-====== Old GRUB Settings ====== 
- 
-  * :!: Use ''grubby'' instead unless it doesn't exist by-default 
- 
-===== UEFI ===== 
- 
-**** 
- 
-  sudo -e '/etc/default/grub' && sudo grub2-mkconfig -o '/boot/efi/EFI/fedora/grub.cfg' 
- 
-===== Legacy ===== 
- 
-**** 
- 
-  sudo -e '/etc/default/grub' && sudo grub2-mkconfig -o '/boot/grub2/grub.cfg' 
  
 ====== Kernel Options ====== ====== Kernel Options ======
Line 44: Line 28:
 ===== Microcode and Security Patches ===== ===== Microcode and Security Patches =====
  
-  * https://access.redhat.com/articles/3311301 
   * :!: This disables all protection   * :!: This disables all protection
  
-  spectre_v2=off nopti+  mitigations=off
  
 ===== Modern Standby ===== ===== Modern Standby =====
Line 64: Line 47:
 ===== intel_iommu ===== ===== intel_iommu =====
  
-****+  :!: Check ''dmesg'' for any DMAR-related errors
  
   intel_iommu=on   intel_iommu=on
  
 ===== i915 ===== ===== i915 =====
 +
 +==== Safe ====
 +
 +  i915.enable_fbc=1
 +
 +  i915.fastboot=1
 +
 +==== Hardware-specific ====
  
   * GuC firmware loading/submission **requires** PAVP to be enabled in BIOS   * GuC firmware loading/submission **requires** PAVP to be enabled in BIOS
-  * ''enable_guc'' nor ''enable_psr'' work on a Lenovo T500 ThinkPad+  * :!: TODO: Figure out how to test PSR
  
   i915.enable_psr=1   i915.enable_psr=1
Line 96: Line 87:
  
   drm.debug=0xe   drm.debug=0xe
 +
 +===== amdgpu =====
 +
 +  * Allows use of Overdrive options for overclocking
 +
 +  amdgpu.ppfeaturemask=0xffffffff
 +
 +==== Verify ====
 +
 +****
 +
 +  cat '/sys/module/amdgpu/parameters/ppfeaturemask' | grep '4294967295'
 +
 +===== PCI =====
 +
 +  * May be useful for eGPU and Thunderbolt limits on Macs
 +
 +  pci=nocrs,pcie_bus_perf
  
 ===== Reboot ===== ===== Reboot =====
/var/www/wiki/data/pages/notes/kernel_parameters.txt · Last modified: 2024/01/24 11:07 by Sean Rhone