/etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_CMDLINE_LINUX_DEFAULT="noplymouth intel_pstate=skylake_hwp i915.enable_rc6=1 i915.enable_guc=3 i915.enable_fbc=1 i915.semaphores=1 nvme_load=YES intel_pstate=enable i915.enable_psr=1 i915.disable_power_well=0"
# GRUB_CMDLINE_LINUX="elevator=deadline"
# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=console
# you can see them in real GRUB with the command `vbeinfo'
# GRUB_GFXMODE=1024x768x16
GRUB_GFXPAYLOAD_LINUX=1900x1080x8
xorg.conf
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "DRI" "3"
Option "HWRotation" "true"
Option "Tiling" "true"
Option "SwapBuffersWait" "0"
Option "ReprobeOutputs" "true"
Option "VSync" "true"
# Option "TearFree" "true"
# Option "AccelMode" "sna"
EndSection
Section "dri"
Mode 0666
EndSection
List supported kernel mod options
modinfo -p i915
To check which options are currently enabled, run
systool -m i915 -av
If editing /etc/modprobe.d/* don’t forget to udpate ramdisk! Or use kernel params in GRUB.