Mainly from https://wiki.archlinux.org/title/MSI_GS65
Access advanced BIOS settings
Advanced BIOS options can be accessed by going to the ‘Advanced’ tab and holding down l-alt, r-ctrl, r-shift, then F2.
You may want to enable SGX to stop the error displayed in Arch.
NVIDIA
Install NVIDIA settings panel:
yay nvidia-settings
Install switcheroo-control:
yay switcheroo-control
systemctl enable switcheroo-control.service
Reboot and you will be able to start programs by right-clicking on them and selecting “Launch using Discrete Graphic Card”
To solve the nvidia-gpu i2c timeout error, You may want to create a file /etc/modprobe.d/blacklist_i2c-nvidia-gpu.conf with these contents:
blacklist i2c_nvidia_gpu
This file prevents loading the problematic driver.
Airplane mode function key
The airplane mode key combination (FN + F10) is disabled by default. Adding the following kernel parameters activates airplane mode key combination:
acpi_osi=! acpi_osi="Windows 2009"
Probably is best to add pcie_aspm=off too.
Wifi is hardblocked (airplane mode) after waking up from suspend
Wifi can be reactivated by either using the airplane mode key combination twice or by hibernating and rebooting.
A way to mitigate this is by setting systemd to hibernate instead of suspending, but it probably needs too many configurations to enable hibernate in recent systems.
Edit /etc/systemd/logind.conf with
HandleSuspendKey=hibernate
HandleLidSwitch=hibernate
Disable suspend when closing laptop lid
IgnoreLid=true in /etc/UPower/UPower.conf
Probably not necessary:
HandleLidSwitch=ignore and HandleLidSwitchExternalPower=ignore in /etc/systemd/logind.conf