Created
June 23, 2016 16:57
-
-
Save atweiden/701d14375996cf4823d369ef51169580 to your computer and use it in GitHub Desktop.
Nvidia support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* vim: ft=journal */ | |
Enabling Nvidia Dedicated Graphics Support | |
========================================== | |
- “nvidia 364.16 adds support for DRM kernel mode setting. To | |
enable this feature, add the `nvidia-drm.modeset=1` kernel parameter, | |
and add `nvidia`, `nvidia_modeset`, `nvidia_uvm` and `nvidia_drm` | |
to your initramfs#MODULES.” [1] | |
```sh | |
pacman -S nvidia nvidia-libgl nvidia-utils | |
sed \ | |
-i 's,^\(GRUB_CMDLINE_LINUX=.*\)"$,\1 nvidia-drm.modeset=1",' \ | |
/etc/default/grub | |
sed \ | |
-i 's,^\(MODULES=.*\)"$,\1 nvidia nvidia_modeset nvidia_uvm nvidia_drm",' \ | |
/etc/mkinitcpio.conf | |
mkinitcpio -p linux | |
grub-mkconfig -o /boot/grub/grub.cfg | |
nvidia-xconfig | |
``` | |
****************************************************************************** | |
[1] https://wiki.archlinux.org/index.php/NVIDIA_ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment