Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save coenraadhuman/1155be9ad42cb27c63ebc0cc10e95f04 to your computer and use it in GitHub Desktop.
Save coenraadhuman/1155be9ad42cb27c63ebc0cc10e95f04 to your computer and use it in GitHub Desktop.
Nvidia optimus screen tearing fix for Arch.
sudo touch /etc/modprobe.d/zz-nvidia-modeset.conf
sudo echo "options nvidia_drm modeset=1" > /etc/modprobe.d/zz-nvidia-modeset.conf
echo "Where XY is the name of the kernel, for example linux419."
echo "..."
echo "Run the following command:"
echo "mkinitcpio -p linuxXY"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment